Installation
Prerequisites
Section titled “Prerequisites”- Node.js 22+ — required for ES module support and modern JavaScript features
- npm or yarn — for package management
Check your Node.js version:
node --version# Must be v22.x or higherCore Library
Section titled “Core Library”The core library provides schema validation, API execution, and MCP server activation.
npm install github:FlowMCP/flowmcp-coreimport { FlowMCP } from 'flowmcp-core'Use FlowMCP Core when you want to:
- Validate schemas programmatically
- Execute API calls via
FlowMCP.fetch() - Build MCP servers with
FlowMCP.activateServerTools() - Integrate FlowMCP into your own applications
CLI Tool
Section titled “CLI Tool”The CLI provides interactive access to the full schema catalog from the command line.
npm install -g github:FlowMCP/flowmcp-cliVerify the installation:
flowmcp statusUse the CLI when you want to:
- Search the schema catalog (
flowmcp search coingecko) - Activate schemas for a project (
flowmcp add coingecko_ping) - Call APIs directly (
flowmcp call coingecko_ping '{}') - Validate schemas during development
Schema Library
Section titled “Schema Library”187+ production-ready schemas are available for immediate use. Browse the full catalog at:
flowmcp.github.io/flowmcp-schemas
Schemas cover providers including CoinGecko, Etherscan, Moralis, DeFi Llama, Dune Analytics, OpenWeather, GitHub, and many more. Each schema is validated, tested, and follows the v2.0.0 specification.
With the CLI installed, you can search and activate schemas directly:
flowmcp search ethereum# Shows matching schemas with descriptions
flowmcp add get_contract_abi_etherscan# Activates the schema and shows its parametersMCP SDK
Section titled “MCP SDK”For building MCP servers, you also need the Model Context Protocol SDK:
npm install @modelcontextprotocol/sdkThis provides the Server, StdioServerTransport, and SSEServerTransport classes needed to expose your schemas as MCP tools.
Verify Installation
Section titled “Verify Installation”Core Library
Section titled “Core Library”Create a file called verify.mjs:
import { FlowMCP } from 'flowmcp-core'
const schema = { namespace: 'test', name: 'Verify', description: 'Installation verification', version: '2.0.0', root: 'https://httpbin.org', requiredServerParams: [], requiredLibraries: [], headers: {}, routes: { check: { method: 'GET', path: '/get', description: 'Simple GET request', parameters: [] } }}
const { status } = FlowMCP.validateSchema( { schema } )console.log( status ? 'FlowMCP Core installed successfully!' : 'Validation failed' )node verify.mjs# → FlowMCP Core installed successfully!flowmcp status# Shows version, configuration, and active tools
flowmcp search ping# Should return matching schemas from the catalogProject Setup
Section titled “Project Setup”For a new project using FlowMCP, a minimal package.json looks like this:
{ "name": "my-flowmcp-project", "version": "1.0.0", "type": "module", "dependencies": { "flowmcp-core": "github:FlowMCP/flowmcp-core", "@modelcontextprotocol/sdk": "latest" }}