- Docs
- MCP
- Installation
MCP Installation
Connect Claude Desktop or Cursor with your platform API key as the Bearer token.
1. Create an API key
Create a key at API Keys. You will use it as Authorization: Bearer sk_… when connecting to MCP.
Claude Desktop
On macOS, edit ~/Library/Application Support/Claude/claude_desktop_config.json. Use the mcp-remote package. Replace sk_your_api_key_here with your platform key. Endpoint: https://mcp.oflo.ai/sse.
claude_desktop_config.jsonjson
{
"mcpServers": {
"oflo-ai": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.oflo.ai/sse",
"--transport",
"http-first",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer sk_your_api_key_here"
}
}
}
}Cursor
Add to ~/.cursor/mcp.json or project .cursor/mcp.json:
mcp.jsonjson
{
"mcpServers": {
"oflo-ai": {
"url": "https://mcp.oflo.ai/sse",
"headers": {
"Authorization": "Bearer sk_your_api_key_here"
}
}
}
}Local / deploy (developers)
The MCP server source and Cloudflare Worker live in a separate MCP repository (not this Next.js app). Clone that repo for local stdio, MCP Inspector, and wrangler deploy. Hosted endpoint for Oflo: https://mcp.oflo.ai. This app connects as a client via NEXT_PUBLIC_MCP_SERVER_URL_* (or NEXT_PUBLIC_OFLO_MCP_SERVER_URL).
