Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.formo.so/llms.txt

Use this file to discover all available pages before exploring further.

Overview

The Formo MCP Server enables AI tools, OAuth-capable clients, editor integrations, and custom workflows to query your analytics data directly. Ask questions about your users, events, and metrics in natural language. The Model Context Protocol (MCP) is an open standard that allows AI assistants to connect to external data sources and tools. With Formo’s MCP server, you can ask:
  • “How many daily active users did we have last week?”
  • “What are the top acquisition sources this month?”
  • “Show me user retention by cohort”
  • “Which pages have the highest bounce rate?”

Getting started

Supported clients: OAuth-capable MCP clients, Claude Desktop, Cursor, Claude Code, Windsurf, VS Code, Codex, and any client that supports HTTP or stdio MCP transports. Formo supports two authentication methods for MCP:
  • OAuth for clients that manage user sign-in. Users sign in to Formo, select a project on the consent page, and approve read-only MCP access.
  • Workspace API keys for clients that let you configure an Authorization header manually.
The MCP server URL is always https://api.formo.so/v0/mcp/. Keep the trailing slash and do not use the API root URL.

OAuth setup

Connect OAuth-capable MCP clients to Formo.

API key setup

Configure local clients, editors, and CLI bridges with a Workspace API Key.

Example queries

Once connected, try these prompts with your AI assistant: Traffic & Events
  • “What are my KPIs for the last 7 days?”
  • “What are my top traffic sources?”
  • “Which pages have the highest engagement?”
  • “Show me traffic by country”
  • “What are the most common events?”
Custom Queries
  • “How many users signed up this week?”
  • “Show me daily active users for the past month”
  • “What’s the conversion rate from page view to wallet connection?”
Web3 Analytics
  • “Show me wallet profiles with their net worth”
  • “What tokens do my users hold?”

Available tools

The Formo MCP server exposes these analytics tools:
ToolDescription
explore_dataNatural language data exploration with Formo-specific context
execute_queryRun SQL queries against your analytics data
text_to_sqlConvert natural language to SQL
list_endpointsList available API endpoints
list_datasourcesList available data sources
kpisGet key performance indicators
distinct_valuesGet unique values for filtering
top_eventsView most common events
top_custom_eventsView custom tracked events
top_pagesAnalyze page performance
top_sources_metricsAttribution and traffic sources
top_locationsGeographic distribution
revenue_overviewRevenue analytics
wallet_profilesWeb3 wallet data and enrichment
For user analytics (retention, lifecycle, user profiles), use text_to_sql + execute_query to query the users datasource directly.

FAQ

The Formo MCP Server works with OAuth-capable MCP clients, Claude Desktop, Cursor, Claude Code, Windsurf, VS Code, Codex, and any AI client that supports HTTP or stdio MCP transports. See the OAuth and API key setup pages above for configuration instructions.
You can query KPIs, traffic sources, top pages, top events, custom events, geographic distribution, revenue data, and wallet profiles. For advanced queries like retention and cohort analysis, use the text_to_sql and execute_query tools to run SQL directly against your data.
Yes. The MCP Server provides read-only access scoped to one Formo project. OAuth users select the project during consent, and API keys are project-specific. No data is stored by the MCP server itself.
Yes. OAuth is additive. Existing Workspace API Key configurations continue to work with Authorization: Bearer YOUR_API_KEY.

Troubleshooting

Tools not appearing: Check that the URL ends with a trailing slash: https://api.formo.so/v0/mcp/. Restart or refresh your AI assistant after configuration changes. OAuth issues: See MCP OAuth for OAuth setup, metadata, and troubleshooting. API key issues: See MCP API Key for API key setup and troubleshooting.

Security

The Formo MCP server provides read-only access to analytics data. OAuth access is scoped to the project selected on the Formo consent page. API key access is scoped to the project attached to the key. MCP sessions expire after 1 hour of inactivity.