New:Socket for Asana Is Now Available.Learn more
Get Started

routebase-mcp

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

routebase-mcp

Routebase MCP server CLI — connect AI agents (Claude Code, Cursor, VS Code) to your Routebase APIs over stdio. Downloads the platform binary from releases.routebase.dev on first run.

latest
npmnpm
Version
1.1.1
Version published
Weekly downloads
71
-68.16%
Maintainers
1
Weekly downloads
 
Created
Source

routebase-mcp

Connect your AI agent to your Routebase APIs. This is the Model Context Protocol server for Routebase — it lets agents like Claude Code, Cursor, and VS Code read and work with your API specs, endpoints, schemas, tests, and mock servers over stdio.

Quick start

You don't need to install anything globally — npx runs it on demand:

ROUTEBASE_API_KEY=rb_… npx routebase-mcp

Generate an API key in Routebase under Settings → API Keys.

Configure your client

The interactive setup writes the right config for you:

npx routebase-mcp init

Or add it manually. All clients use the same shape:

Claude Code (~/.claude.json or project .mcp.json):

{
  "mcpServers": {
    "routebase": {
      "command": "npx",
      "args": ["-y", "routebase-mcp", "--stdio"],
      "env": {
        "ROUTEBASE_API_KEY": "rb_…"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json or .cursor/mcp.json) and VS Code (.vscode/mcp.json) use the identical block.

Configuration

Environment variableRequiredDescription
ROUTEBASE_API_KEYAPI key for authentication. Create one under Settings → API Keys.
ROUTEBASE_REGIONUS accountsHome region of your account: us or eu (default: eu). Without it, a US key fails as if it were invalid. npx routebase-mcp init asks for the region (or takes --region us) and writes it into the config for you.
ROUTEBASE_LOG_LEVELverbose · debug · info · warning · error · fatal (default: warning). Logs go to stderr — stdout is reserved for the MCP protocol.

How it works

This npm package is a tiny shim. On first run it downloads the self-contained CLI binary for your platform from releases.routebase.dev, verifies it against a SHA-256 checksum baked into this package at publish time (it refuses to run on mismatch — fail-closed), and caches it under ~/.routebase/bin/<version>/. Subsequent runs use the cached binary.

Supported platforms: macOS (arm64, x64), Windows (x64), Linux (x64). Requires Node.js ≥ 18.

  • 🌐 Routebase: https://routebase.dev

License

The npm shim in this package is MIT. The downloaded Routebase CLI binary is governed by the Routebase Terms.

Keywords

mcp

FAQs

Package last updated on 18 Aug 2026

Related posts