MCP Integration

Model Context Protocol (MCP) enables seamless connections between AI assistants and external tools. Toffu supports MCP in two ways:

1. Use Toffu from Other AI Tools

Connect Toffu to Claude Desktop, Cursor, ChatGPT, and other MCP-compatible AI clients. This lets you access Toffu's marketing capabilities directly from your preferred AI assistant.

Available Tools

fetch_memory - Search your company's memory database for insights, strategies, and historical data.

send_message - Send a message to Toffu, just like in the Toffu chat.

Setup

Step 1: Generate API Key

Go to Integrations → Scroll to MCP section → Generate API Key

MCP API Key

MCP API Key

Step 2: Configure Your AI Client

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "Toffu": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.toffu.ai/mcp",
        "--header", "Authorization: Bearer your-api-key-here",
        "--header", "Origin: claude-desktop"
      ]
    }
  }
}
Cursor

Add to your ~/.cursor/mcp.json:

{
  "mcpServers": {
    "Toffu": {
      "type": "streamable-http",
      "url": "https://mcp.toffu.ai/mcp",
      "headers": {
        "Authorization": "Bearer your-api-key-here"
      }
    }
  }
}

Replace your-api-key-here with your actual API key.

Step 3: Start Using Toffu

Claude Desktop: Use @toffu fetch_memory "query" or @toffu send_message "request"

Cursor: Access Toffu tools through the MCP integration panel

Example Use Cases

Research: @toffu fetch_memory "competitor analysis" → Use insights for strategy

Content: @toffu send_message "Create LinkedIn post about our new feature"

Analysis: @toffu send_message "Analyze Google Ads performance this month"


2. Connect External Services to Toffu

Add MCP servers from external services (like Ahrefs, GitHub, databases, or custom tools) to Toffu. This expands Toffu's capabilities beyond its native integrations, allowing it to access additional data sources and tools when helping you.

Setup

  1. Go to AI Settings
  2. Scroll to the MCP Servers section
  3. Click Add MCP Server
  4. Enter the MCP server details (URL, authentication credentials)
  5. Save and enable the connection

Once connected, Toffu can automatically use these external services when relevant to your requests.

Popular MCP Servers

  • Ahrefs - SEO metrics and backlink analysis
  • GitHub - Repository data and code insights
  • PostgreSQL/MongoDB - Direct database access
  • Custom APIs - Your own internal tools

Troubleshooting

Authentication errors: Verify API key is correct and hasn't expired

Connection issues: Check network connectivity to mcp.toffu.ai

Tool errors: Ensure required integrations are enabled in your Toffu account

Need Help?