MCP

The FlexFactor Model Context Protocol (MCP) server enables AI-powered code editors like Cursor and Windsurf, plus general-purpose tools like Claude Desktop, to interact directly with your FlexFactor API and documentation.

What is MCP?

Model Context Protocol (MCP) is an open standard that allows AI applications to securely access external data sources and tools. The FlexFactor MCP server provides AI agents with:

  • Direct API access to FlexFactor functionality
  • Documentation search capabilities
  • Code generation assistance for FlexFactor integrations

FlexFactor MCP Server Setup

FlexFactor hosts a remote MCP server at https://docs.flexfactor.io/mcp. Configure your AI development tools to connect to this server.

Add to~/.cursor/mcp.json:

{
  "mcpServers": {
    "flexfactor": {
      "url": "https://docs.flexfactor.io/mcp"
    }
  }
}

Testing Your MCP Setup

Once configured, you can test your MCP server connection:

  1. Open your AI editor (Cursor, Windsurf, etc.)
  2. Start a new chat with the AI assistant
  3. Ask about FlexFactor - try questions like:
    • "How do I authenticate with the FlexFactor API?"
    • "Show me an example of an /evaluate request for a declined transaction"
    • "Create a webhook handler for FlexFactor order events"

The AI should now have access to the FlexFactor documentation through the MCP server.


Did this page help you?