Extend an existing generated MCP server
extend_mcp_serverAppend operations from another OpenAPI or Postman spec to an existing generated MCP server, skipping duplicates and preserving hand-edited files so multiple APIs can be aggregated into one server.
Instructions
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth | No | 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. | |
| spec | No | Inline spec text (OpenAPI or Postman; JSON or YAML). | |
| force | No | Overwrite existing tool files of the same name. | |
| format | No | Force a format; defaults to auto-detect. | |
| methods | No | Keep only these HTTP methods, e.g. [GET, POST]. | |
| pathGlob | No | Keep only matching paths, e.g. "/v1/**". | |
| specPath | No | Path to a local spec file (JSON or YAML). | |
| projectDir | Yes | Path to an existing generated project. | |
| includeTags | No | Keep only operations with these tags. | |
| toolCatalog | No | Also write tool-catalog.json; defaults to refreshing it if the project has one. | |
| excludeOperations | No | Drop operations by operationId, tool name, or tag. |