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. If you want to ask questions of the same data without connecting an outside client, Instruct is the chat built into Rulebase.

Endpoint

Use the endpoint for your Rulebase workspace’s data region: Include the /mcp path. The base hostname alone is not an MCP server endpoint. The configuration examples below use the United States endpoint. For an EU workspace, replace it with https://eu.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:
Or from the CLI:
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 the MCP endpoint for your workspace’s data region.
  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:
Cursor asks you to sign in when it needs access.