Custom Extensions
Build your own extension
Overview
Godmode extensions are plug-and-play. Create a manifest.yaml, register it, and your OpenAPI-compliant/GraphQL API is available as both a CLI and an MCP server. No code generation, no SDKs.
Create a manifest
# manifest.yaml
slug: my-api
name: My API
type: api
spec: https://example.com/openapi.json
url: https://api.example.com
auth:
env: MY_API_KEY
type: bearer
headers:
X-Custom: valueRegister
godmode extension add ./my-extension
godmode my-api --help
godmode mcp my-apiTypes
REST
type: api
spec: https://example.com/openapi.json
url: https://api.example.comGraphQL
type: graphql
url: https://api.example.com/graphqlOr with a local SDL file:
type: graphql
spec: https://example.com/schema.graphql
url: https://api.example.com/graphqlMCP
type: mcp
url: https://my-mcp-server.com/mcp