Lincoln Cannon LLC

MCP Integration Guide

Schemas: MCP tools/list mirrors the customer OpenAPI catalog (see API Reference Integration Guide). Related: Agent API Integration Guide · SSO Integration Guide

Use Cursor, Claude Desktop, or another MCP client to talk to your Lincoln Cannon LLC agent over HTTPS. This guide covers the MCP service generally — URL, headers, tools/list, and tools/call. tools/list returns the customer integration tool schemas (browser chat, transcript, and streaming /agent/stream tools are omitted). Listing a tool does not grant call access — tools/call and upstream HTTP still need the credentials each route requires.

For the browser API Reference over the same schemas, see API Reference Integration Guide (https://api.lincolncannon.co/docs).

You need credentials your integration provider supplies: typically an API key enabled for agent access, and either an allowed origin, or an agent id (UUID) in the X-Agent-Key header or tool body.agentKey, to identify which agent to run. Examples below use common agent tools; your catalog also includes knowledge, assets, biometric, workflow, trigger, and other integration tools.

What your integration provider supplies

ItemExample
MCP URLhttps://mcp.lincolncannon.co/
API keySent once; store securely
Allowed originhttps://yourcompany.com — send in the Origin header when you use origin-based routing
Agent idUUID for each agent — send in the X-Agent-Key header or tool body.agentKey when you omit Origin
ProductionDevelopment
MCP URLhttps://mcp.lincolncannon.co/https://mcp-dev.lincolncannon.co/

Use the environment your integration provider configured for your API key and agent.

Authentication

Send these headers on MCP requests as needed:

HeaderRequiredNotes
x-api-keyFor tools/callYour API key. Wrong or missing key → access denied on live calls (for example agent.request). tools/list still returns schemas without a key; listing a tool does not grant call access.
OriginOne of Origin, X-Agent-Key, or body agentKey (for agent tools)Your registered site origin. Use this or identify the agent with X-Agent-Key or agentKey in the tool body (below). If both origin and agent id are sent, they must refer to the same agent.
X-Agent-KeyOne of Origin, X-Agent-Key, or body agentKey (for agent tools)Agent UUID. Same as HTTP — forwarded to the API. Prefer this for multi-agent setups when you do not want agentKey in every tool call body. Body agentKey wins when both body and header are present.

Optional:

HeaderWhen
Authorization: Bearer …Optional ID token from single sign-on so the agent treats the turn as that user (per-user memory; the server assigns that person's thread). Obtain tokens per SSO Integration Guide. Without Bearer, API-key-only rules apply — see Agent API Integration Guide.

Keep API keys and Bearer tokens in headers only — never put them in tool arguments. agentKey in the tool body and X-Agent-Key are agent ids (UUIDs), not secrets.

Tools available to you

tools/list returns the customer integration catalog (schemas): agent, assets, biometric, integration, knowledge, trigger, and workflow (browser chat, transcript, and SSE stream tools are omitted). Listing a tool does not grant call access — tools/call still requires the same API key, Bearer, origin, and plan rules as the matching HTTP route.

Use non-streaming agent.request over MCP. Browser widget POST /agent/chat, GET /agent/transcript, and SSE POST /agent/stream stay on direct HTTP (Agent API Integration Guide / API Reference Integration Guide). Each tool includes an inputSchema: for agent tools, properties.body lists JSON fields (same shapes as Agent API Integration Guide for /request).

Common examples for agent integrations:

ToolPurpose
agent.requestSend a message and get a reply (non-streaming)

Include X-Agent-Key or agentKey in each agent tool call when you omit Origin.

If tools/call fails for agent tools, verify your x-api-key is registered and enabled for agent access with your integration provider.

Cursor setup

Origin-based (browser-style)

Add a server entry to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):

{
  "mcpServers": {
    "My Company Agent": {
      "url": "https://mcp.lincolncannon.co/",
      "headers": {
        "x-api-key": "${env:MY_LCLLC_API_KEY}",
        "Origin": "https://your-registered-site.com"
      }
    }
  }
}

Agent-key-based (server / backend)

Header (recommended for MCP):

{
  "mcpServers": {
    "My Company Agent": {
      "url": "https://mcp.lincolncannon.co/",
      "headers": {
        "x-api-key": "${env:MY_LCLLC_API_KEY}",
        "X-Agent-Key": "${env:MY_LCLLC_AGENT_KEY}"
      }
    }
  }
}

Body agentKey per call (same URL; omit X-Agent-Key):

{
  "mcpServers": {
    "My Company Agent": {
      "url": "https://mcp.lincolncannon.co/",
      "headers": {
        "x-api-key": "${env:MY_LCLLC_API_KEY}"
      }
    }
  }
}

Pass agentKey in each agent.request call (see below).

Set secrets in your environment (for example export MY_LCLLC_API_KEY='…' in your shell profile) instead of pasting them into the config file.

Restart Cursor and turn the server on under Settings → Tools & MCP.

One agent vs several

The MCP gateway exposes the same agent tools as the HTTP API — it does not add extra ways to pick an agent.

  • One agent — send Origin, X-Agent-Key, or agentKey on each call (same as HTTP).
  • Several agents, no id on every call — use separate MCP server entries, each with the Origin or X-Agent-Key your integration provider registered for that agent (same URL and API key; different header). Tool calls need only text.
  • Several agents, shared backend — pass the correct X-Agent-Key header or agentKey in each tool call body.

Using agent.request

When your client calls agent.request, the arguments look like this:

{
  "name": "agent.request",
  "arguments": {
    "body": {
      "agentKey": "<uuid-if-no-X-Agent-Key-header>",
      "text": "Hello"
    }
  }
}
FieldRequiredNotes
textYesThe user’s message for this turn.
agentKeyOne of Origin, X-Agent-Key, or body agentKeyAgent UUID. Required in the body when both MCP Origin and X-Agent-Key headers are omitted. May be omitted when a header identifies a single registered agent. Body agentKey wins when both body and header are present.
sessionIdNoIgnored. The server assigns the thread (Agent API Integration Guide).

When you set X-Agent-Key on the MCP server entry, you may omit agentKey from the body:

{
  "name": "agent.request",
  "arguments": {
    "body": {
      "text": "Hello"
    }
  }
}

Successful reply (inside the tool result) is JSON with at least:

  • text — the agent’s reply
  • sessionId — the server-assigned thread id

Extra fields may appear over time; ignore keys you do not use.

A single turn can take up to about five minutes while the model runs.

Other MCP clients

Any client that supports remote MCP over HTTP with custom headers can use the same URL and x-api-key. Add Origin, X-Agent-Key, or supply agentKey in tool arguments — same rules as direct HTTP.

Troubleshooting

What you seeWhat to check
No tools listedMCP URL reachable over HTTPS; client supports remote MCP. tools/list does not require an API key (chat, transcript, and stream tools are omitted by design)
Tool call rejectedThat tool is not enabled for your credentials — contact your integration provider
403 errorsInvalid or disabled API key
400 on agent.requestMissing text, missing agent identity (Origin, X-Agent-Key, and body agentKey all absent), or mismatched agent
Long wait, then successNormal for LLM replies; allow up to ~5 minutes

For issues with keys, origins, agent ids, or SSO, contact your Lincoln Cannon LLC integration provider. For OAuth token issues, see SSO Integration Guide.

Calling the agent without MCP

Use direct HTTP instead of MCP — full contract in Agent API Integration Guide (POST /agent/request, POST /agent/stream, headers, Bearer, and errors).