claude-agent-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@claude-agent-mcpsearch for the latest advancements in quantum computing"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
claude-agent-mcp
An MCP (Model Context Protocol) server that wraps the Claude Agent SDK. It uses Claude Code's built-in OAuth authentication, so no API key is required — just claude login and you're ready to go.
Features
Tool | Description |
| General-purpose queries — uses Claude's reasoning without any tools |
| Coding tasks with file system access (read/write/edit/search) |
| Web search with result summarization |
| Fully customizable agent execution — configure tools, permissions, budget, and more |
Related MCP server: claude-max-mcp
Prerequisites
Bun v1.0+
Claude Code CLI installed and logged in (
claude login)
Installation
git clone https://github.com/j-token/claude-agent-mcp.git
cd claude-agent-mcp
bun installUsage
Run directly
bun startAdd to Claude Code as an MCP server
Add the following to your Claude Code MCP settings (~/.claude/settings.json):
{
"mcpServers": {
"claude-agent": {
"command": "bun",
"args": ["run", "/path/to/claude-agent-mcp/src/index.ts"]
}
}
}Add to Claude Desktop
Add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"claude-agent": {
"command": "bun",
"args": ["run", "/path/to/claude-agent-mcp/src/index.ts"]
}
}
}Tools
claude_query
Send a prompt to Claude without any tools. Best for reasoning, text generation, and Q&A.
Parameter | Type | Required | Description |
| string | Yes | The prompt to send |
| string | No | System prompt |
| string | No | Model to use (e.g., |
| number | No | Max conversation turns (default: 3) |
claude_code_task
Perform coding tasks with file system access. Can read, write, edit, and search files.
Parameter | Type | Required | Description |
| string | Yes | Description of the coding task |
| string | No | Working directory (absolute path) |
| string | No |
|
| string[] | No | Tools to allow (default: Read, Edit, Write, Glob, Grep, Bash) |
| string | No | Model to use |
| number | No | Max turns (default: 10) |
claude_web_search
Search the web and get a summarized result.
Parameter | Type | Required | Description |
| string | Yes | What to search for |
| string | No | Model to use |
| number | No | Max turns (default: 5) |
claude_multi_turn
Fully customizable agent execution. Configure every aspect of the agent run.
Parameter | Type | Required | Description |
| string | Yes | The prompt |
| string | No | System prompt |
| string[] | No | Tools to allow |
| string | No |
|
| string | No | Working directory |
| string | No | Model to use |
| number | No | Max conversation turns |
| number | No | Max budget in USD |
How It Works
┌─────────────┐ stdio ┌───────────────────┐ OAuth ┌─────────────┐
│ MCP Client │ ◄────────────► │ claude-agent-mcp │ ◄───────────► │ Claude API │
│ (Claude Code │ │ (this server) │ │ │
│ / Desktop) │ └───────────────────┘ └─────────────┘
└─────────────┘An MCP client (Claude Code, Claude Desktop, etc.) connects to this server via stdio.
The client calls one of the registered tools (
claude_query,claude_code_task, etc.).This server delegates the request to the Claude Agent SDK, which uses your existing OAuth session.
The response is streamed back and returned to the client.
Development
# Type-check
bun run typecheck
# Build
bun run buildLicense
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.
Hosted X (Twitter) MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Related MCP Servers
- AlicenseAqualityCmaintenanceWraps the Claude Agent SDK as MCP servers, letting you spawn multiple specialized Claude Code agents — each with its own model, tools, system prompt, and personality — from any MCP client.5100 npm21ISC
- AlicenseAqualityCmaintenanceAn MCP server that enables any AI agent to call Claude using your existing Max/Pro subscription via OAuth, avoiding additional API billing.11MIT
- AlicenseAqualityDmaintenanceMCP server that bridges OpenAI's Agents SDK with Claude Code, enabling web search, file search, and computer use capabilities directly in your development environment.29 npm1MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that enables Hermes Agent to delegate development tasks to Claude Code CLI, reusing the Claude Code subscription without additional API costs.1MIT