MCP API Translator
v0.4.1Turn OpenAPI / Postman specs into runnable MCP servers, or serve any API as live MCP tools.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
analyze_spec Analyze API spec (preview)
Parse an OpenAPI or Postman spec and preview the MCP tools that would be generated, without writing any files. Use this to curate (filter/inspect) before generating.
| Parameter | Type | Description |
|---|---|---|
excludeOperations | array | Drop operations by operationId, tool name, or tag. |
format | string | Force a format; defaults to auto-detect. |
includeTags | array | Keep only operations with these tags. |
methods | array | Keep only these HTTP methods, e.g. [GET, POST]. |
pathGlob | string | Keep only matching paths, e.g. "/v1/**". |
spec | string | Inline spec text (OpenAPI or Postman; JSON or YAML). |
specPath | string | Path to a local spec file (JSON or YAML). |
generate_mcp_server Generate MCP server
Generate a complete, runnable TypeScript MCP server project from an OpenAPI or Postman spec. Writes the project to outputDir. Use force to overwrite a non-empty directory.
| Parameter | Type | Description |
|---|---|---|
outputDir * | string | Directory to write the generated project into. |
auth | Auth to use when the spec declares no security schemes of its own. Applied only to operations whose own security list is empty; credentials are read from env vars as usual. | |
excludeOperations | array | Drop operations by operationId, tool name, or tag. |
force | boolean | Overwrite a non-empty / existing project. |
format | string | Force a format; defaults to auto-detect. |
includeTags | array | Keep only operations with these tags. |
language | string | Output language. Defaults to typescript. |
methods | array | Keep only these HTTP methods, e.g. [GET, POST]. |
pathGlob | string | Keep only matching paths, e.g. "/v1/**". |
pythonVariant | string | Python server flavor (requires language: python): the low-level MCP SDK (default) or FastMCP. Both serve the same raw JSON-Schema tool inputs. |
serverName | string | npm/package name; defaults from the API title. |
serverVersion | string | |
spec | string | Inline spec text (OpenAPI or Postman; JSON or YAML). |
specPath | string | Path to a local spec file (JSON or YAML). |
toolCatalog | boolean | Also write tool-catalog.json (name/summary/tags per tool) for discovery layers. |
transport | string | Transport(s) to generate (TypeScript only). Defaults to stdio. |
extend_mcp_server Extend an existing generated MCP server
Append the operations from another spec to an already-generated project (identified by its .mcp-translator.json manifest). Idempotent: operations already present are skipped, and hand-edited tool files are preserved unless force is set. Enables aggregating multiple APIs into one MCP server.
| Parameter | Type | Description |
|---|---|---|
projectDir * | string | Path to an existing generated project. |
auth | Auth to use when the spec declares no security schemes of its own. Applied only to operations whose own security list is empty; credentials are read from env vars as usual. | |
excludeOperations | array | Drop operations by operationId, tool name, or tag. |
force | boolean | Overwrite existing tool files of the same name. |
format | string | Force a format; defaults to auto-detect. |
includeTags | array | Keep only operations with these tags. |
methods | array | Keep only these HTTP methods, e.g. [GET, POST]. |
pathGlob | string | Keep only matching paths, e.g. "/v1/**". |
spec | string | Inline spec text (OpenAPI or Postman; JSON or YAML). |
specPath | string | Path to a local spec file (JSON or YAML). |
toolCatalog | boolean | Also write tool-catalog.json; defaults to refreshing it if the project has one. |
list_supported_features List supported features
Report the input formats, auth schemes, transports, and limits this tool supports.