Custom Integrations
Use this guide to connect Carbon Arc MCP to clients not covered by the Claude, ChatGPT, Codex, or Perplexity setup guides, including Cursor, internal agents, and custom MCP-compatible applications.
Carbon Arc exposes a remote MCP server over Streamable HTTP. Supported clients can discover OAuth endpoints, register dynamically, and complete browser-based authentication. Standard OAuth flows do not require API keys.
If you're using Claude, ChatGPT, Codex, or Perplexity, start with the matching guide under Non-Native MCP.
Requirements
- An MCP-compatible client that supports remote / Streamable HTTP servers
- A Carbon Arc platform account with MCP access
- The ability to complete a browser OAuth sign-in, or provide a Bearer token if supported by your client
Endpoints
| Connector | URL | Use for |
|---|---|---|
| Core MCP | https://mcp.carbonarc.ai | Discovery, search, and core insight / entity tools |
| Research MCP | https://mcp.carbonarc.ai/research | Entity Research, Forecast, Acquire, Retain, Target, Upsell |
Add both connectors if you need Research tools. See MCP Tools for the tools available through each endpoint.
Connect a custom client
Exact labels vary by client, but the setup follows the same pattern.
1. Add a remote MCP server
Add a new MCP or connector configuration and select Streamable HTTP, or the equivalent remote HTTP option.
2. Set the server URL
Start with the Core endpoint:
https://mcp.carbonarc.ai
Optionally add a second server for Research:
https://mcp.carbonarc.ai/research
3. Authenticate
OAuth (recommended)
Save the server and authenticate. Your client should open a browser window for Carbon Arc sign-in and manage tokens automatically.
Bearer token (if supported)
Paste your Carbon Arc API key as a Bearer token. You can find your key on your profile / API key page.
4. Verify tools
Confirm Carbon Arc tools appear in your client's tool list, then test the connection with a simple prompt:
What data do you have for Walmart?
Authentication notes for builders
If you're integrating Carbon Arc into a custom agent or SDK:
- Prefer the standard MCP OAuth 2.0 flow. Clients that implement MCP OAuth discover the authorization endpoints, register dynamically, and sign the user in through the browser. No API key is needed.
- Access tokens expire after 1 hour (the token response returns
expires_in: 3600). Refresh them in the background with therefresh_tokengrant rather than assuming the first token stays valid. - Refresh tokens are single-use and rotate on every refresh. Store the new refresh token from each response. The old one keeps returning the same result for about 1 minute, so concurrent refreshes don't collide, then stops working.
- A refresh token stays valid for 30 days from the last successful refresh. A client that refreshes at least once every 30 days stays signed in; after 30 days idle, the user signs in again.
- Each refresh re-checks the user's Carbon Arc subscription. If it has expired or been suspended, the refresh fails with
invalid_grantand the user must sign in again. - Long-running Research calls are authorized when the tool starts. An access token expiring mid-request does not cancel work already in progress.
See MCP Timeouts & OAuth for full authentication details.
Timeouts and streaming
Research and larger analytical requests can take several minutes. Carbon Arc sends heartbeat events during tool calls to keep the connection alive.
| Workload | Suggested client timeout |
|---|---|
| Discovery / search | ~60 seconds |
| Research tools | ~10 minutes, resetting timeout on progress when supported |
If requests consistently fail around 60 seconds, increase the client or proxy timeout before treating the failure as a server error.
See MCP Timeouts & OAuth for more detail.
Example client configurations
These examples are illustrative. Adapt field names to your client.
Streamable HTTP
{
"name": "CarbonArcMCP",
"type": "streamable-http",
"url": "https://mcp.carbonarc.ai"
}
Research connector
{
"name": "CarbonArcResearchMCP",
"type": "streamable-http",
"url": "https://mcp.carbonarc.ai/research"
}
Troubleshooting
| Issue | What to check |
|---|---|
| Tools never appear | Confirm remote / Streamable HTTP MCP is enabled and the URL is correct |
| Auth loops every hour | Confirm your client persists refreshed tokens and implements refresh_token correctly |
| Invalid refresh token | Confirm your client stores the newly returned token after each rotation |
| Research fails around ~60s | Increase the tool timeout and enable timeout reset on progress |
| Connection drops mid-request | Confirm streaming support and check proxy idle timeouts |
Still stuck? Contact support@carbonarc.co with the client name and approximate request time.
Related guides
- MCP Setup Guide — choose a first-party LLM setup
- Best Practices — learn how to structure effective queries
- MCP Tools — review available tools
- MCP Rate Limits — per-client tool limits
- MCP Timeouts & OAuth — understand sessions, heartbeats, and token lifetimes
- Codex Setup — see an example using Streamable HTTP with OAuth or a Bearer token