Claude Desktop API Integration via MCP
@mlobo2012
关于 Claude Desktop API Integration via MCP
MCP server implementation for using Claude API with Claude Desktop, providing advanced API integration and conversation management.
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Claude Desktop API Integration via MCP?
An MCP server that integrates Claude Desktop with the Claude API, enabling users to bypass Professional Plan limitations and access advanced features like custom system prompts and conversation management.
How to use Claude Desktop API Integration via MCP?
Install dependencies with pip install -r requirements.txt, configure the .env file with your Anthropic API key, and update the Claude Desktop configuration file (claude_desktop_config.json). Invoke API calls by prefixing requests with @claude-api in the chat, optionally passing system prompts or conversation IDs as JSON.
Key features of Claude Desktop API Integration via MCP
- Direct Claude API integration via MCP
- Conversation history tracking and management
- System prompt support
- Seamless switching between Professional Plan and API usage
- Easy configuration with Claude Desktop
Use cases of Claude Desktop API Integration via MCP
- When you need longer context windows
- To use custom system prompts
- To bypass rate limits
- For advanced conversation management
FAQ from Claude Desktop API Integration via MCP
What is the difference between the Professional Plan and API usage?
The Professional Plan is the default for regular conversations within plan limits. API usage via this MCP server provides longer context windows, custom system prompts, and bypasses rate limits.
How do I use custom system prompts?
Prefix your message with @claude-api {"system_prompt": "You are an expert fitness coach"} followed by your request. The system prompt will be applied to that API call.
How do I manage conversations?
Use @claude-api {"conversation_id": "your_id"} to start or continue a conversation. Use @claude-api get_conversation_history <id> to view history or @claude-api clear_conversation <id> to reset it.
Are there costs for API calls?
Yes, API calls use your Anthropic API credits and may incur charges. Use the Professional Plan for regular queries and only use @claude-api when you specifically need longer contexts, system prompts, or to bypass rate limits.
How do I troubleshoot API key issues?
Verify your API key in the .env file, check that the Claude Desktop configuration file paths are correct, and ensure the API key has the correct permissions.
AI 与智能体 分类下的更多 MCP 服务器
MCP Server - Remote MacOs Use
baryhuangThe only general AI agent that does NOT requires extra API key, giving you full control on your local and remote MacOs from Claude Desktop App
Model Context Protocol for Unreal Engine
chongdashuEnable AI assistant clients like Cursor, Windsurf and Claude Desktop to control Unreal Engine through natural language using the Model Context Protocol (MCP).
Model Context Protocol Server for Home Assistant
tevonsbA MCP server for Home Assistant
Unreal Engine Generative AI Support Plugin
prajwalshettydevUnreal Engine plugin for LLM/GenAI models & MCP UE5 server. OpenAI GPT-5, Deepseek R1, Claude Opus/Sonnet, Gemini 3, Grok 4, Alibaba Qwen, Kimi, ElevenLabs TTS, Inworld, OpenRouter, Groq, GLM, Ollama, Local, Meshy, Tripo, Hunyuan3D, Rodin, fal, Dashscope, Seedream. NPC AI, agenti
Perplexity MCP Server
DaInfernalCoderA Model Context Protocol (MCP) server for research and documentation assistance using Perplexity AI. Won 1st @ Cline Hackathon
评论