Skip to content

Connect Coding Agents

Every client needs the same two values:

  • URL: https://mcp.velerion.com/mcp
  • Header: X-API-Token: <your token>

Create a token under Settings → API Tokens in the Console. See Create an API token. The examples below read the token from a VELERION_API_TOKEN environment variable where the client supports it:

Terminal window
export VELERION_API_TOKEN="<your token>"

Most clients use this generic configuration. The sections below give the exact form for each one.

{
"mcpServers": {
"velerion": {
"url": "https://mcp.velerion.com/mcp",
"headers": {
"X-API-Token": "<your token>"
}
}
}
}

Add the server with one command:

Terminal window
claude mcp add --transport http velerion https://mcp.velerion.com/mcp \
--header "X-API-Token: $VELERION_API_TOKEN"

This command adds the server to the current project for you only. Add --scope user to make it available in every project.

To share the server with your team, commit a .mcp.json file at the repository root. Claude Code expands ${VELERION_API_TOKEN} at runtime, so the file does not hold the token:

.mcp.json
{
"mcpServers": {
"velerion": {
"type": "http",
"url": "https://mcp.velerion.com/mcp",
"headers": {
"X-API-Token": "${VELERION_API_TOKEN}"
}
}
}
}

To verify, run claude mcp list, or run /mcp inside a Claude Code session.

The Claude Desktop configuration file launches local processes, so it reaches a remote server through the mcp-remote bridge. This requires Node.js 18 or later.

Open Settings → Developer → Edit Config and add:

claude_desktop_config.json
{
"mcpServers": {
"velerion": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.velerion.com/mcp",
"--header",
"X-API-Token:${VELERION_API_TOKEN}"
],
"env": {
"VELERION_API_TOKEN": "<your token>"
}
}
}
}

Leave no space after the colon in X-API-Token:${VELERION_API_TOKEN}. Some platforms split arguments on spaces. Restart Claude Desktop after you save the file.

Cursor reads the generic configuration directly. Add it to ~/.cursor/mcp.json for every project, or to .cursor/mcp.json for a single project:

~/.cursor/mcp.json
{
"mcpServers": {
"velerion": {
"url": "https://mcp.velerion.com/mcp",
"headers": {
"X-API-Token": "${env:VELERION_API_TOKEN}"
}
}
}
}

Open Cursor Settings → MCP and confirm that velerion shows a green status and a list of tools.

VS Code uses a servers key and can prompt for the token, which it then stores securely. Create .vscode/mcp.json in the workspace:

.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "velerion-token",
"description": "Velerion API token",
"password": true
}
],
"servers": {
"velerion": {
"type": "http",
"url": "https://mcp.velerion.com/mcp",
"headers": {
"X-API-Token": "${input:velerion-token}"
}
}
}
}

Open Copilot Chat in Agent mode and select the tools icon to confirm that the Velerion tools are listed.

Windsurf uses serverUrl in place of url. Edit ~/.codeium/windsurf/mcp_config.json:

~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"velerion": {
"serverUrl": "https://mcp.velerion.com/mcp",
"headers": {
"X-API-Token": "${env:VELERION_API_TOKEN}"
}
}
}
}

Select Refresh in the Cascade MCP panel to load the server.

Add the server to ~/.codex/config.toml. env_http_headers maps a header name to the environment variable that holds its value:

~/.codex/config.toml
[mcp_servers.velerion]
url = "https://mcp.velerion.com/mcp"
env_http_headers = { "X-API-Token" = "VELERION_API_TOKEN" }

To verify, run codex mcp list.

To check the token and URL without a client, send an MCP initialize request:

Terminal window
curl -sS https://mcp.velerion.com/mcp \
-H "X-API-Token: $VELERION_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl","version":"1.0"}}}'
Symptom Likely cause
401 or 403 response The token is missing, mistyped or revoked. Check the header name: it is X-API-Token, not Authorization.
Server shows no tools The environment variable was not set when the client started. Restart the client from a shell where it is set.
${VELERION_API_TOKEN} sent literally This client does not expand that syntax. Use the form shown for that client above.