---
title: "MCP Server · Docs · rawroute"
canonical: "https://rawroute.dev/docs/mcp"
lang: "en"
last_verified: "2026-11-28"
description: "Give Claude Desktop, Windsurf, Cline and Antigravity direct tools for images, video, pricing and balance."
---
# MCP Server

Give Claude Desktop, Windsurf, Cline and Antigravity direct tools for images, video, pricing and balance.

- Base URL: `https://api.rawroute.dev/v1`
- Auth: `Authorization: Bearer $RAWROUTE_API_KEY` (`x-api-key` for Anthropic, `x-goog-api-key` for Gemini)
- Sections (Start / API / In production / Ecosystem):
- [Quickstart](https://rawroute.dev/docs)
- [Authentication](https://rawroute.dev/docs/auth)
- [Model IDs](https://rawroute.dev/docs/models)
- [Chat Completions](https://rawroute.dev/docs/chat)
- [Images](https://rawroute.dev/docs/images)
- [Video](https://rawroute.dev/docs/video)
- [Voice & Audio](https://rawroute.dev/docs/audio)
- [Endpoints](https://rawroute.dev/docs/endpoints)
- [Errors](https://rawroute.dev/docs/errors)
- [Billing](https://rawroute.dev/docs/billing)
- [n8n / Make](https://rawroute.dev/docs/automation)
- [CLI](https://rawroute.dev/docs/cli)
- [MCP Server](https://rawroute.dev/docs/mcp)
- [AI SDK & Presets](https://rawroute.dev/docs/integrations)
- [Starter Repos](https://rawroute.dev/docs/starters)

## Official MCP Server (`@rawroute/mcp`)
- Install: `npm install -g https://rawroute.dev/downloads/rawroute-mcp.tgz`.
- Transports: `rawroute-mcp` (stdio) or `rawroute-mcp --http` (Streamable HTTP `/mcp` + `/health`).
- Tools: `generate_image`, `generate_video`, `get_video_status`, `generate_speech`, `chat_completion`, `compare_prices`, `get_balance`, `list_models` (8 tools).
- Resources: `rawroute://catalog`, `rawroute://pricing/summary`.
- Prompts: `cost-audit`, `media-director`.
