What is MCP?
The Model Context Protocol (MCP) is an open standard for connecting AI models to external tools and data sources. FlowMCP can run as an MCP server, exposing all active schemas as tools to any MCP-compatible AI client. Instead of writing custom server code for each API, you declare schemas and FlowMCP handles the MCP protocol, parameter validation, and API execution.Architecture
How FlowMCP bridges AI clients and APIs: The AI client sends tool calls over the MCP protocol. FlowMCP resolves the correct schema, validates parameters, calls the upstream API, and returns the result.Starting the Server
The fastest way to serve schemas is through the CLI:Client Integration
- Claude Desktop
- Cursor
- Claude Code
Add FlowMCP to your Config file location:
claude_desktop_config.json:- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Environment Variables
API keys required by your schemas can be provided in three ways:| Method | Example | Best For |
|---|---|---|
~/.flowmcp/.env file | ETHERSCAN_API_KEY=abc123 | Persistent local setup |
env block in client config | See Claude Desktop example above | Per-client configuration |
| System environment variables | export ETHERSCAN_API_KEY=abc123 | CI/CD and containers |
API keys are injected as server parameters at runtime and are never exposed to the AI client. They are only used when FlowMCP calls the upstream API on behalf of the AI.
What Gets Exposed
All active tools from your.flowmcp/config.json become MCP primitives:
| Schema Primitive | MCP Primitive | Description |
|---|---|---|
| Tools | MCP Tools | API endpoints the AI can call |
| Resources | MCP Resources | Static data the AI can read |
| Prompts | MCP Prompts | Pre-built prompt templates |