This setup runs the OpenAPI MCP Server (https://github.com/snaggle-ai/openapi-mcp-server) in Docker with mcp-proxy (https://github.com/sparfenyuk/mcp-proxy) to expose the MCP server over HTTP/SSE.
It's pre-loaded with teable openapi definition and contains the most used functions.
- Set your API token as an environment variable:
export OPENAPI_TOKEN=your_token_here- Build and start the Docker container:
docker-compose up --buildOnce running, the MCP server is available at:
http://localhost:8080/sse
The server will use the token from the OPENAPI_TOKEN environment variable passed at build time as the Bearer token for API requests.
- The OpenAPI definition is mounted from
./teable-openapi.jsonto/app/teable-openapi.jsonin the container - The server listens on port 8080
- Authorization headers are set using the OPENAPI_TOKEN environment variable
Client ⟷ HTTP/SSE ⟷ mcp-proxy ⟷ stdio ⟷ openapi-mcp-server
The mcp-proxy converts between HTTP/SSE and stdio protocols, allowing the openapi-mcp-server (which only supports stdio) to be accessible over HTTP.