Skip to main content

Overview

MCP (Model Context Protocol) is the open standard for how coding agents and LLM clients connect to external tools and data. The @verlon-ai/mcp server exposes your Verlon endpoints, logs and models as MCP tools so any compatible host (Claude Desktop, Claude Code, Cursor, Cline, Windsurf, etc.) can inspect and reason about your AI infrastructure natively — without you copy-pasting curl commands into a chat. The server is open source (MIT) at github.com/verlon-ai/mcp, and every npm release carries a provenance attestation tying the published package to that repo. The server is read-only by default. Release 0.7.0 ships four read tools — list_gates, get_gate, list_logs, list_models — and one write tool, switch_model, registered only with the explicit --enable-writes opt-in. It has no tools that create, update or delete endpoints.

Use Cases

  • Agent introspection — Ask Claude “what endpoints do I have?” and have it call list_gates rather than you opening the dashboard
  • Endpoint auditing during refactors — Use Claude Code to inventory your AI infrastructure while editing the surrounding application code
  • Log inspection — Tail recent requests inline with list_logs while debugging an integration

Why the Verlon MCP server?

  • Read-only by default — A misaligned agent host can only inspect, never destroy. Write tools require the explicit --enable-writes flag
  • Structured JSON tool outputs — Every tool returns parseable JSON, not free-form text — so the calling model can reason about the result without re-prompting
  • One install line — npx -y @verlon-ai/mcp works in any MCP client; no compile step, no Docker
  • Targeted error recovery — Auth and API errors surface as isError: true content with explicit recovery hints, so the model can self-correct mid-conversation

Quick Start

Step 1: Get an API key

Generate one at verlon.ai/dashboard/keys. It looks like sk-vrln-....
The API key gives the MCP server full read access to your account. Treat it like any other secret — don’t commit it to git, don’t paste it into shared chats. Per-client config files are the right place.

Step 2: Wire the server into your MCP client

Claude Desktop — add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or the equivalent on your OS:
Claude Code — it doesn’t read Claude Desktop’s config file. Add the server with claude mcp add, or put the same mcpServers entry in your project’s .mcp.json:
Cursor — add the same snippet under Settings → Features → MCP Servers. Any other MCP-compatible client — spawn npx -y @verlon-ai/mcp over stdio with VERLON_API_KEY in the subprocess environment.

Step 3: Restart the client and try it

Restart Claude Code (or your chosen host). Ask:
List the endpoints in my Verlon account.
The host discovers the list_gates tool, invokes it, and shows your endpoints as a JSON response inline.
The default is read-only. If you opt into write tools via --enable-writes, do it deliberately and after you understand which tools mutate account state. Per-tool destructive hints are surfaced to the host so it can prompt before invoking risky operations.

Tools

The default tools are read-only. Write tools register only when the server starts with --enable-writes.

Write tools (--enable-writes only)

Removed tools

get_recommendations (Cortex reports) and list_experiments were removed in 0.5.0, when Verlon retired Cortex and experiments. They no longer appear in the tool list. The npm package always reflects the current toolset; check verlon-mcp --help after install.

Configuration

Dashboard

Generate API keys for the MCP server at verlon.ai/dashboard/keys. Manage the endpoints the MCP server will inspect at verlon.ai/dashboard/gates.