Prerequisites
- Python 3.11+ installed on your machine
- An OpenAPI specification for the API you want to wrap (JSON or YAML)
Step 1: Generate your server
Open the dashboard
Go to mcpblacksmith.com/dashboard and create a new project.
Upload your spec
Drag and drop your OpenAPI spec file (JSON or YAML) into the upload zone. Blacksmith supports OpenAPI 2.0, 3.0, 3.1, and 3.2.
Generate
Click Generate. Blacksmith analyzes your spec, extracts all operations, builds typed models, configures authentication, and generates the complete server code.
Step 2: Install dependencies
Step 3: Configure credentials
If your API requires authentication, open the.env file and fill in your credentials:
.env
.env file is pre-configured with the correct variable names for your API’s authentication scheme. See Authentication for details on each auth type.
Step 4: Run the server
stdio transport — the standard for local MCP connections. You’ll see output like: