Settings & Admin

MCP Setup

Connect Claude, ChatGPT, Cursor, or any MCP client to your app's data.

If you use Claude, ChatGPT, Cursor, or any other MCP-compatible AI client, you can connect it directly to an app's data through Rayven's MCP Setup page, reached via App → MCP Setup. Once connected, your AI assistant can query that app's data using the Model Context Protocol (MCP), no custom integration code required. This is separate from the Access Token used for regular API authentication under App Settings, MCP has its own token, scoped for AI clients.

MCP is the reverse direction from an AI Workflow node: it lets an external AI client read from a finished app, rather than embedding AI logic inside the app itself. See Generative AI in Rayven for the Open AI Node, Build with AI, and other in-app AI features.

Setting up a connection takes three general steps, followed by configuration specific to your client of choice.

  1. Copy the Server URL. This is the same for every client: https://mcp.rayven.io/v1/mcp.

  2. Generate an Access Token. Give it a name and choose an expiry (30 days, 90 days, 180 days, 1 year, or Never).

    Your token is shown only once, so copy it immediately after generating it. You can still view a token's name and creation date later, or revoke it, from the token list, but you can't retrieve the token value itself again.
  3. Add MCP Custom Logic (optional). This is a plain-English box where you can write rules you want the AI to follow on every request, for example, "Limit to Sales table," "last 30 days only," or "read-only, no writes." Quick-insert chips are provided for common rules, so you don't have to type them from scratch.

With the server URL and token in hand, configure your client. Rayven's MCP Setup page gives instructions for each of the following.

Claude.ai (web)

Go to Settings → Connectors → Add Custom Connector, then enter a Name, the Server URL, and your Access Token.

Claude Desktop

Add an entry to your claude_desktop_config.json file's mcpServers object with the server URL and an Authorization: Bearer <token> header, then restart Claude Desktop for the change to take effect.

Claude Code (CLI)

Run the following command, substituting in your token:

claude mcp add rayven https://mcp.rayven.io/v1/mcp --header "Authorization: Bearer YOUR_TOKEN"

Verify the connection with:

claude mcp list

ChatGPT (web/desktop)

Go to Settings → Connectors/MCP Servers → Add and fill in the same Name, URL, and Token fields.

ChatGPT via OpenAI Responses API

Pass the MCP server as a tools entry of type "mcp" in your API call.

Cursor (UI)

Go to Settings → Features → MCP Servers → Add New MCP Server and fill in the Name, set Type to HTTP/SSE, and enter the URL and Bearer token. A green dot next to the server confirms the connection is working.

Cursor (config file)

Add the server to .cursor/mcp.json.

Add .cursor/mcp.json to your .gitignore so your access token doesn't end up committed to version control.

Other MCP clients (Continue.dev, Zed, Windsurf, etc.)

Use the generic JSON configuration with the Server URL and an Authorization header. A curl command is also provided on the MCP Setup page so you can test the connection directly before wiring it into your client.

Frequently Asked Questions

Can I connect MCP to my whole workspace instead of one app at a time?

No. MCP Setup lives inside a single app (App → MCP Setup), and the access token you generate there only exposes that app's data. Connect each app separately if you want an AI client to query more than one.

I lost my access token, can I look it up again?

No. A token's value is shown only once, right after you generate it. You can still see its name and creation date, or revoke it, from the token list, but you can't retrieve the original value, generate a new token instead.

Can I stop the AI from writing to certain tables?

Yes. Add a rule in MCP Custom Logic, such as "Limit to Sales table" or "read-only, no writes." Quick-insert chips are provided for common rules so you don't have to write them from scratch.

Is the MCP Server URL different for each client or each app?

The Server URL itself (https://mcp.rayven.io/v1/mcp) is the same for every client and every app. What's unique per app is the Access Token you generate and pass in the Authorization header, that's what scopes the connection to a specific app's data.

My AI client can't connect, where do I start troubleshooting?

Confirm the Server URL is exactly https://mcp.rayven.io/v1/mcp, that your Access Token hasn't expired or been revoked, and that it's passed as an Authorization: Bearer header. Most clients also provide a curl command on the MCP Setup page you can use to test the connection directly, outside of the client.

What's the difference between the MCP Access Token and the App Settings Access Token?

They're separate tokens for separate purposes. The App Settings Access Token is for general API authentication. The MCP token is scoped specifically for AI clients connecting via the Model Context Protocol.

Where do I check if heavy AI-driven MCP queries are affecting my usage limits?

Check Service Usage for your app's overall transaction totals, and Subscription & Billing to compare against your plan.

Does revoking my app's regular API Access Token break my MCP connection?

No, MCP has its own separate token under App → MCP Setup, distinct from the general Access Token under App Settings. Revoking one doesn't affect the other.

Can I connect more than one AI client to the same app?

Yes, generate a separate, named Access Token for each client you want to connect, then revoke individual tokens later without affecting the others.

For more on managing app-level configuration like access tokens and domains, see: