Ratel Docs
ReferenceTypeScript packages

@ratel-ai/mcp-server

Package reference for the MCP server, CLI, and library that power Ratel Local.

@ratel-ai/mcp-server is the TypeScript package behind Ratel Local. It connects upstream MCP servers to one searchable catalog and exposes Ratel's capability tools to Claude Code, Codex, Cursor, and other MCP clients.

Start with Ratel Local

Claude Code and Codex can follow the Ratel Local quickstart to install the package, migrate an existing MCP setup, and verify capability search. Cursor uses manual MCP configuration.

Entry points

Entry pointPurpose
ratel-mcpConfigure upstreams, serve the catalog, manage skills, and run the local UI
createMcpServerExpose a ToolCatalog as an MCP server from your own process
buildGatewayFromConfigConnect configured upstreams and build the catalog used by the server

Install the documented release with npm install @ratel-ai/mcp-server@0.4.0, or run its CLI with npx -y @ratel-ai/mcp-server@0.4.0.

Operational guides

TaskGuide
add, inspect, edit, or remove upstreamsMCP servers
migrate native Claude Code or Codex entriesImport or link
authorize HTTP or SSE upstreamsOAuth upstreams
manage skills and the Claude Code preload hookManaging skills
manage configuration from the browserBrowser UI
inspect local events and estimated savingsStatusline & telemetry
create the gateway from Node codeEmbed as a library
diagnose setup and recover config filesTroubleshooting

The package is published on npm, with source in ratel-ai/ratel-local. The identifiers @ratel-ai/mcp-server and ratel-mcp remain unchanged.

On this page