mcp-p-anthropic-server

mcp-p-anthropic-server

0

Claude Desktop API Integration via MCP facilitates seamless integration between Claude Desktop and Claude API. It supports advanced features such as conversation management and system prompts, and offers flexibility in switching between usage plans. The project includes implementation with FastAPI for external access.

Claude Desktop API Integration via MCP

This project develops a Machine Communication Protocol (MCP) Server enabling integration between Claude Desktop and Claude API. It offers features like conversation history management, system prompt support, seamless switching between usage plans, and support for the latest Claude models. A FastAPI service is included for external access.

Key Features

  • Direct connection to Claude API through MCP
  • Conversation history tracking and management
  • System prompt support
  • Support for Claude models (Claude 3 Opus, Sonnet, Haiku)
  • FastAPI service for external access

When to Use

  • Use Professional Plan for regular usage
  • Use API Token for advanced features like extended context, system prompts, and bypassing rate limits

Installation Steps

  1. Clone the Repository
  2. Install Dependencies
  3. Configure Environment
  4. Configure Claude Desktop

Usage Guide

  • Normal Claude Desktop Usage
  • API Usage with @claude-api

Available MCP Tools

  1. query_claude
  2. clear_conversation
  3. get_conversation_history
  4. list_conversations
  5. list_available_models

Troubleshooting

  • Check API key and configuration
  • Confirm MCP server status
  • Verify @claude-api command syntax