MCP.so
Sign In
Servers

MCP Project (Model Context Protocol)

@zhanzq

实现mcp客户端及服务器,用于接入私有和公有的servers,创建多功能的agent

Overview

What is MCP Project (Model Context Protocol)?

MCP Project is an intelligent assistant system based on the Model Control Protocol, supporting multiple large language models and tool invocation functions. It integrates with Claude, Qwen, and other LLMs, and is intended for developers building multi-model assistant applications.

How to use MCP Project (Model Context Protocol)?

Clone the repository, install dependencies with pip install -r requirements.txt, and create a .env file with API keys (e.g., ANTHROPIC_API_KEY). Start a specific client by running python client_claud.py (for Claude) or python client_qwen.py (for Qwen), or use client_multi_servers.py for multiple servers. Tools are configured in tools.json.

Key features of MCP Project (Model Context Protocol)

  • Integrates multiple large language models (Claude, Qwen, etc.)
  • Flexible tool invocation system
  • Supports SSE and STDIO transport methods
  • Retains session history for context understanding
  • Built-in tools: weather query and text-to-image
  • Modular client‑server architecture

Use cases of MCP Project (Model Context Protocol)

  • Build an assistant that switches between Claude and Qwen based on task.
  • Query real-time weather data through a command‑line client.
  • Generate images from text descriptions using the built‑in text‑to‑image tool.
  • Create a multi‑server environment where different LLMs handle different requests.

FAQ from MCP Project (Model Context Protocol)

Which large language models are supported?

Claude and Qwen are explicitly supported; the system is designed to accommodate additional models.

What transport methods does MCP Project support?

It supports both SSE (Server‑Sent Events) and STDIO (standard input/output).

How do I configure additional tools?

Edit the tools.json file to define new tools; the system currently includes weather query and text‑to‑image (KeLing version).

What are the runtime requirements and dependencies?

Python 3.7+ is required. Node.js is optional (used for JavaScript servers). API keys (e.g., ANTHROPIC_API_KEY) must be set in a .env file.

What is the default port for SSE mode?

The SSE server defaults to port 8000.

More from Other