Skip to main content
Rulebase exposes an MCP server for AI clients that support remote MCP. Use it to let tools like Claude Code, Claude Desktop, and Cursor read Rulebase data after you sign in to Rulebase.

Endpoint

Use this endpoint: https://mcp.rulebase.co/mcp

Authentication

Rulebase uses OAuth for MCP access. When your MCP client connects, it opens a browser sign-in flow. Sign in with your Rulebase account and approve access. Access is tied to your Rulebase organization. MCP tools only return data for that organization.

Configure Claude Code

Add the remote server to your Claude Code MCP configuration:
{
  "mcpServers": {
    "rulebase": {
      "type": "http",
      "url": "https://mcp.rulebase.co/mcp"
    }
  }
}
Or from the CLI:
claude mcp add --transport http rulebase https://mcp.rulebase.co/mcp
When Claude Code connects, it asks you to sign in and authorize access. Use /mcp to authenticate if needed.

Configure Claude Desktop

Claude Desktop uses custom connectors for remote MCP servers.
  1. Open Settings → Connectors (or claude.ai/customize/connectors).
  2. Click Add custom connectorWeb.
  3. Enter your MCP URL: https://mcp.rulebase.co/mcp.
  4. Click Add, then Connect and sign in to Rulebase.
  5. In a chat, use + → Connectors and enable Rulebase.
Rulebase works as a remote HTTP connector.

Configure Cursor

Add the remote server in Cursor MCP settings:
{
  "mcpServers": {
    "rulebase": {
      "type": "http",
      "url": "https://mcp.rulebase.co/mcp"
    }
  }
}
Cursor asks you to sign in when it needs access.