@mapleflow/mcp-server
v0.18.1
Published
MCP server for MapleFlow — exposes AI, utility, and verify endpoints as tools
Maintainers
Readme
@mapleflow/mcp-server
MCP (Model Context Protocol) server for MapleFlow.
Spec-driven — fetches /openapi.json at startup and auto-registers every endpoint as a tool. When you add or change API endpoints, just update the OpenAPI spec. Zero MCP code changes needed.
Install
npm install -g @mapleflow/mcp-serverConfigure
Claude Desktop / Claude Code
{
"mcpServers": {
"mapleflow": {
"command": "npx",
"args": ["-y", "@mapleflow/mcp-server"],
"env": {
"MAPLEFLOW_API_KEY": "sk_live_..."
}
}
}
}Environment Variables
| Variable | Required | Description |
|----------|----------|-------------|
| MAPLEFLOW_API_KEY | Yes | Your MapleFlow API key |
| MAPLEFLOW_BASE_URL | No | Custom base URL (default: https://mapleflow.io) |
How It Works
On startup, the server:
- Fetches the OpenAPI spec from
{BASE_URL}/openapi.json - Converts each operation into an MCP tool with proper schemas
- Routes tool calls to the corresponding API endpoint
New endpoints appear as tools automatically — no code changes, no rebuilds.
Get an API Key
Sign up at mapleflow.io/signup — 500 free credits included.
License
MIT
