adityakotha03
MCP Serveradityakotha03public

mcp client

一个用Python编写的FastAPI服务器,连接多个MCP服务器并提供统一的AI工具接口。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
-
License

About This Server

一个用Python编写的FastAPI服务器,连接多个MCP服务器并提供统一的AI工具接口。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

MCP Client

A Python FastAPI server that connects to various Model Context Protocol (MCP) servers and provides a unified interface for AI-powered tools.

Installation

Requirements

  • Python 3.11 or higher
  • Node.js and npm (for MCP servers)

Setup

  1. Clone the repository

  2. Create and activate a virtual environment:

cd mcp-client
python -m venv .venv
# On Windows
.venv\Scripts\activate
# On macOS/Linux
source .venv/bin/activate
  1. Install dependencies:
pip install -e .
  1. Create a .env file in the root directory with your Anthropic API key:
ANTHROPIC_API_KEY=your_api_key_here

Running the Application

  1. Start the FastAPI server:
python main.py

The server will run on http://localhost:8000

  1. Connect a frontend client to the API endpoint:
    • POST to /chat with a JSON body: {"query": "your question here"}

Configuration

Server configurations are defined in server_configs.json. The client will automatically connect to all configured MCP servers on startup.

API Endpoints

  • POST /chat: Send a query to process through the connected MCP servers
    • Request body: {"query": "string"}
    • Response: {"response": "string"}

Quick Start

1

Clone the repository

git clone https://github.com/adityakotha03/mcp-client
2

Install dependencies

cd mcp-client
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Owneradityakotha03
Repomcp-client
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation