Chargement…
Chargement…
Setup
Five clear steps: generate the key, validate it in 30 seconds with cURL, configure your client of choice, store it safely, rotate. Bilingual FR / EN, atemporal, MiCA-aware.
Go to Dashboard → Settings → MCP API keys → "Create MCP key". Pick a descriptive name (e.g. claude-desktop-laptop, cursor-personal, my-hermes-agent). The plaintext secret is shown exactly once - copy it straight into your secret manager.
Run a direct call to the MCP endpoint to confirm Bearer auth works. A 200 OK with a valid JSON-RPC initialize response means your key is live.
curl -sX POST https://mcp.trinityinsights.io/mcp \
-H "Authorization: Bearer <paste-your-tr_mcp_key-here>" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2025-11-25",
"capabilities": {},
"clientInfo": { "name": "trinity-smoke-test", "version": "1.0.0" }
}
}'Pick your client below. Each guide gives the exact configuration (file path, JSON snippet, restart required) for Claude Desktop, Claude Code, Cursor, ChatGPT Apps SDK, Gemini Antigravity, Windsurf, VS Code Copilot, and Perplexity Spaces.
Never commit the plaintext key to a git repository. Use OS-native secret stores (macOS Keychain, Linux gnome-keyring, Windows Credential Manager) or a managed secret backend (1Password, Bitwarden, Doppler, AWS Secrets Manager, Vault).
A key can be revoked at any time from the dashboard ("Revoke" button on the row). Propagation is within 60 seconds (MCP cache TTL). To rotate: create the new key, update your clients, then revoke the old key.
https://mcp.trinityinsights.io/mcp2025-11-25)tr_mcp_ + URL-safe secret (≥ 256 bits of entropy)Eight major MCP clients are supported through the same canonical endpoint. Each guide details the config file path, the exact JSON snippet to paste, and post-installation checks.
Claude Desktop
Anthropic desktop app. Configure via claude_desktop_config.json. Restart required.
Claude Code
Claude Code CLI. Configure via the `claude mcp add` command.
Cursor
Cursor IDE. Configure via Settings → Cursor Settings → MCP.
ChatGPT (Apps SDK)
ChatGPT Apps SDK for MCP integrations. Configure via the Apps SDK manifest.
Gemini (Antigravity)
Google Gemini with Antigravity. Configure via the agent manifest.
Windsurf
Codeium Windsurf editor. Configure via Settings → MCP servers.
VS Code Copilot
VS Code GitHub Copilot Chat. Configure via settings.json (github.copilot.chat.mcpServers key).
Perplexity Spaces
Perplexity Pro/Enterprise. Configure via Spaces → Connectors → MCP.
Rather than pasting the plaintext key into your client's config file, export it as an environment variable and reference it from the client JSON. That simplifies rotation and prevents accidental leaks.
macOS / Linux
# In ~/.zshrc or ~/.bashrc (then `source` it)
export TRINITY_MCP_API_KEY="tr_mcp_..."Windows (cmd / PowerShell)
# Persistent per-user env var - open a new shell after the command
setx TRINITY_MCP_API_KEY "tr_mcp_..."