Overview
After generation, MCP Blacksmith can lint the generated code to verify correctness. This checks for syntax errors, import issues, type problems, and code quality.Available checkers
| Checker | What it does |
|---|---|
| AST | Parses all Python files to verify valid syntax |
| Ruff | Fast Python linter — catches style issues, unused imports, undefined names |
| Import | Verifies all imports resolve correctly |
| Pyright | Static type checking for type safety |
| Pydantic | Validates Pydantic model definitions |
How to use
In the dashboard:- Generate your server
- Open the Linting tab
- Select which checkers to run
- Review results in the Problems panel
Interpreting results
Linting results appear in the Problems panel, grouped by file and severity. Each issue includes the file, line number, and a description of the problem.Generated code is designed to pass all linting checks. If you see lint errors on freshly generated code, please report it — it helps us improve the generator.