MCP.so
登录

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.

基本信息

分类

AI 与智能体

运行时

python

传输方式

stdio

发布者

mlobo2012

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 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 服务器