Model Context Protocol

Claude MCP Server

A lightweight MCP server that exposes Claude models as callable tools. Use it to give any MCP-compatible client direct access to Claude 3.5 Sonnet, Opus, and Haiku.

Tools

trigger_claude_agent

Send a prompt to any Claude model. Choose between Sonnet, Opus, and Haiku. Optionally set system context and token limit.

claude_sonnet

Directly invoke Claude 3.5 Sonnet - the best balance of speed, quality, and cost for most tasks.

claude_opus

Directly invoke Claude 3 Opus for deep reasoning, complex analysis, and nuanced tasks.

claude_haiku

Directly invoke Claude 3.5 Haiku for fast, lightweight responses to simple queries.

Quick Start

Add this server to any MCP-compatible client (Claude Desktop, Cursor, etc.) by pointing it at:

Endpoint
POST /api/mcp

Example

JSON-RPC Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "trigger_claude_agent",
    "arguments": {
      "prompt": "Hello, Claude!",
      "model": "claude-3-5-sonnet"
    }
  }
}

Capabilities

MCP CompliantImplements the standard MCP lifecycle and tool protocol
JSON-RPC over HTTPStandard POST transport for easy integration
Multiple ModelsClaude 3.5 Sonnet, Claude 3 Opus, Claude 3.5 Haiku
ConfigurableAPI key from config file or environment variable