# config.yaml — that's it
spec: { url: https://api.example.com/openapi.json }
auth: { provider: bearer_static, bearer_static: { token_env: API_TOKEN } }
filter: { include_tags: [Users, Orders] }
$ mcpgen serve --config=config.yaml
mcpgen loaded 42 tools, transport=stdio
Your AI can now call every Users and Orders endpoint. No code generated, no plumbing written. Point it at a different spec tomorrow and you have a different MCP.