proxy_activate_from_spec
Generate and activate an MCP server from an OpenAPI or GraphQL specification URL.
Instructions
Generate an MCP server from an OpenAPI/GraphQL spec and activate it.
Args: name: A unique name for this generated server spec_url: URL to the OpenAPI spec (JSON/YAML) or GraphQL endpoint spec_type: 'openapi' or 'graphql' eager: If True, mount the server immediately lean: If True, attempt to use LAP (https://lap.sh) to produce a dramatically leaner input spec before 40mcp generation (F-12 research slice). Falls back gracefully if LAP CLI not available.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"spec_url": "<spec_url>"
},
"name": "proxy_activate_from_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lean | No | ||
| name | Yes | ||
| eager | No | ||
| spec_url | Yes | ||
| spec_type | No | openapi |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |