Listed from the MCP registry; nobody on Odel publishes it.
Inspect and manage Verlon AI gates, logs and models from any MCP client.
Runs on your machine from its package; the steps are below.
At most: creates or changes data: records, files, settings.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y @verlon-ai/mcp
MCP client config
{
"mcpServers": {
"verlon-ai-mcp": {
"command": "npx",
"args": [
"-y",
"@verlon-ai/mcp"
]
}
}
}Model Context Protocol server for Verlon AI. Exposes your Verlon resources (endpoints, logs, models) as MCP tools so coding agents — Claude Code, Cursor, Cline, any MCP-compatible client — can inspect and manage your AI infrastructure natively.
Status: listed in the MCP Registry as ai.verlon/mcp. Read-only tools by default; the write tools (create_endpoint, switch_model) register only with --enable-writes.
You don't install it directly. Your MCP client (Claude Code, Cursor, etc.) spawns it as a subprocess via npx. Add the snippet below to your client's MCP config.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or the equivalent on your OS:
{
"mcpServers": {
"verlon": {
"command": "npx",
"args": ["-y", "@verlon-ai/mcp"],
"env": {
"VERLON_API_KEY": "sk-vrln-..."
}
}
}
}
Then restart Claude Code. The verlon server should appear in the tools list, and Claude can call verlon:list_endpoints against your account.
Add to your Cursor MCP config (Settings → Features → MCP Servers):
{
"mcpServers": {
"verlon": {
"command": "npx",
"args": ["-y", "@verlon-ai/mcp"],
"env": {
"VERLON_API_KEY": "sk-vrln-..."
}
}
}
}
The server speaks MCP over stdio. Spawn npx -y @verlon-ai/mcp with VERLON_API_KEY in the subprocess environment.
The default tool set is read-only — see Security note for the rationale. Write tools register only when the server starts with --enable-writes.
| Tool | Inputs | What it returns |
|---|---|---|
list_endpoints | projectId? | The account's endpoints (the named model setups its code calls): id, name, description, taskType, model, projectId, createdAt |
get_endpoint | name | One endpoint by its name |
list_gates | none | Every gate in the account — id, name, description, model, taskType, taskSubtype, createdAt |
get_gate | gateId (UUID) | Full gate config — model, fallback chain, task type, spending limits, sub-gates, orchestration |
list_logs | gate?, since? (ISO 8601), success?, limit? (1-100, default 20) | Recent request logs — timestamp, gate, model, cost, latency, success/failure |
list_models | type? (chat by default, embeddings, image, video, stt, tts, moderation, ocr), provider? | The models Verlon serves, with live pricing (USD per 1M tokens) and capability scores |
--enable-writes only)| Tool | Inputs | What it does |
|---|---|---|
create_endpoint | name, model (id from list_models), type?, description?, lock? | Creates an endpoint; lock serves exactly that model with no automatic changes. The type defaults to the model's own type; a model of another type, or one Verlon doesn't serve, is refused before anything is created. The same call again (same name, model, type and lock) returns the endpoint it made (existing: true); its description is never overwritten, and descriptionKept says when the one passed differs. A taken or invalid name is refused with the API's message and a suggested name to retry with. |
switch_model | model (id from list_models), gateId? | Switches which model a coding gate routes to. Takes effect on the next turn of any running session, no restart. With gateId omitted, targets the account's Claude Code connector gate. Idempotent; the change is one reversible field. |
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.
| Env var | Required | Default | Notes |
|---|---|---|---|
VERLON_API_KEY | Yes | — | Your Verlon API key (sk-vrln-...). |
VERLON_BASE_URL | No | https://api.verlon.ai | Override for self-hosted Verlon. |
| Flag | Purpose |
|---|---|
--enable-writes | Register the write tools (create_endpoint, switch_model). Default is read-only — a misaligned agent can't change resources. |
--help, -h | Print usage. |
The package is also a library. createServer builds the same server without starting stdio, so a host can serve it over HTTP. A host serving many people passes client, which returns the credentials for each tool call from that call's request. Each call then acts as the person who made it, with that person's own key, and no key is read from the environment. The tools call the Verlon REST API themselves, so a host needs no other package.
import { createServer } from '@verlon-ai/mcp';
const server = createServer({
client: (extra) => {
const auth = (extra as { requestInfo?: { headers: Record<string, string> } })
.requestInfo?.headers.authorization ?? '';
return {
apiKey: auth.replace(/^Bearer\s+/i, ''),
baseUrl: 'https://api.verlon.ai',
};
},
baseUrl: () => 'https://api.verlon.ai', // for the keyless list_models
});
Read-only by default is a deliberate choice. The MCP client (Claude Code, Cursor, etc.) sees this server's tools and may invoke them autonomously when a user's request makes them seem relevant. A read-only default means even a misaligned agent can only inspect your account, not modify it. Opt in to write tools (--enable-writes) only after you understand the implications. The write tools create or change; none deletes. switch_model changes one reversible field on one gate, and create_endpoint adds an endpoint (calling it again returns the same one). Updating or deleting endpoints is not exposed.
npm install
npm test # vitest
npm run build # tsc → dist/
The package is dual-published: to npm as @verlon-ai/mcp (automated, with provenance), and to the MCP Registry as ai.verlon/mcp (manual). The registry validates that the npm version exists before accepting a publish, so npm always goes first.
Bump versions in lockstep across three files — CI fails on drift:
| File | Field |
|---|---|
package.json | version |
server.json | version AND packages[0].version |
src/server.ts | VERLON_MCP_VERSION constant |
Then:
# 1. Merge the bump to main (CI enforces the lockstep), then tag:
git tag v0.4.1 && git push origin v0.4.1
# The publish workflow runs `npm publish --provenance` automatically.
# Wait ~30s for npm CDN; verify:
npm view @verlon-ai/mcp version # should print the new version
# 2. MCP Registry publish (manual — needs mcp-publisher + DNS-verified ai.verlon namespace)
npm run publish:mcp
# Install the MCP Registry publisher (NOT npm — it's a prebuilt binary)
brew install mcp-publisher
# DNS-verify the verlon.ai domain (required to publish under the ai.verlon namespace)
mcp-publisher login --help # follow the DNS verification flow it prints
# Add the TXT record on verlon.ai; verify with `dig TXT verlon.ai +short`
# All three versions match?
npm view @verlon-ai/mcp version
jq -r .packages[0].version server.json
grep VERLON_MCP_VERSION src/server.ts
# Registry listing live?
curl 'https://registry.modelcontextprotocol.io/v0/servers?search=verlon' | jq
# End-to-end smoke against the published artifact
VERLON_API_KEY=sk-vrln-... npx @modelcontextprotocol/inspector npx -y @verlon-ai/mcp
MIT — see LICENSE.