Connect an AI assistant (MCP)
Give Claude, ChatGPT, Cursor, and other assistants access to Veille.
With the Model Context Protocol (MCP), an AI assistant calls Veille endpoints as tools. API → MCP opens Connect MCP, which gives you the exact setup for your assistant.
Apps
Command line
Connect Claude Code
Claude Code on your machine.
- 1
Add the server
claude mcp add --transport http --scope user veille https://mcp.veille.io/ - 2
Sign in
claude mcp login veille - 3
Check the connection
claude mcp list
Try it
Waiting for a call from your assistant.Before you start
- The server address is
https://mcp.veille.io/. It speaks MCP over Streamable HTTP: open it from an assistant, not a browser tab. - Tool calls are billed like the same calls to the REST API.
- Every endpoint page in the Library has an MCP button with the tool name for that endpoint.
Choose how the assistant signs in
| Option | How it works |
|---|---|
| Use your account | The assistant opens a Veille sign-in window: sign in, choose the account, and allow access. No key to copy. Shown when account sign-in is available. |
| Use an API key | Pick an active API key: the commands on the page include it in full, hidden on screen. No key yet? Generate a key creates one named MCP. |
Set up your assistant
Pick your assistant
Under Apps: Cursor, VS Code, Zed, Conductor, Antigravity, Cline, Warp, LM Studio. Under Command line: Claude Code, Codex, pi, Hermes Agent, Gemini CLI, OpenCode, GitHub Copilot CLI, Goose, OpenClaw, Amp, Devin, Factory Droid, Kiro. Manual gives the raw settings for any other client.
Add the server
Run the command shown, or use the one-click button (Add to Cursor, Open in VS Code…) or the JSON to paste. The page shows the minimum version your assistant needs.
Sign in
With Use your account, run the sign-in command or follow the assistant's prompt, and allow access in the Veille window.
Check the connection
Under Try it, Copy prompt and paste it into the assistant: it asks for your balance. The page then says Received a call to the usage tool.
Claude, ChatGPT, Gemini, Le Chat, Perplexity, and Grok
These chat assistants connect with your account. In the assistant, add a custom MCP server (or connector) with the URL https://mcp.veille.io/, choose OAuth when asked, then sign in with your Veille account and allow access. No client ID or secret is needed. They then appear under Connected apps with their name and logo.
Connected apps
Connected apps lists the assistants that signed in with your account, with Last used and a Disconnect button. When none has connected yet, it says No assistant is connected yet.
Stuck? The Troubleshooting section of the page covers a rejected key, a wrong balance, missing tools, a sign-in that does not open or finish, an expired connection, and several workspaces.