anand23124
MCP Serveranand23124public

mcp_first

一个使用 Python 实现的模型上下文协议(MCP)基础服务器,支持与大型语言模型交互。

Repository Info

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

About This Server

一个使用 Python 实现的模型上下文协议(MCP)基础服务器,支持与大型语言模型交互。

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 First

This project serves as a foundational implementation of a Model Context Protocol (MCP) server using Python. It is designed to expose simple tools and resources to Large Language Models (LLMs), facilitating structured interactions and data access.

🚀 Overview

The MCP server in this repository provides:

  • Tools: Functions that can be invoked by LLMs to perform specific tasks.
  • Resources: Data endpoints that LLMs can query to retrieve information.

This setup is ideal for experimenting with MCP concepts and understanding how LLMs can interact with external tools and data sources.

📁 Project Structure

mcp_first/
├── app.py               # Main application file initializing the MCP server
├── main.py              # Entry point to start the server
├── browser_mcp.json     # Configuration for MCP client integration
├── pyproject.toml       # Project metadata and dependencies
├── uv.lock              # Lock file for dependency management
├── .python-version      # Specifies the Python version used
├── .gitignore           # Git ignore file
└── README.md            # Project documentation

🛠️ Prerequisites

Ensure you have the following installed:

  • Python 3.10 or higher
  • uv package manager

⚙️ Installation

  1. Clone the repository:

    git clone https://github.com/anand23124/mcp_first.git
    cd mcp_first
    
  2. Set up the environment:

    uv venv
    uv pip install -r requirements.txt
    

🚀 Running the Server

To start the MCP server:

python main.py

The server will initialize and be ready to handle requests from MCP-compatible clients.

🧪 Testing the Server

You can test the server using MCP clients or tools that support the protocol. Ensure that your client is configured to communicate with the server's endpoint.

📄 Configuration

The browser_mcp.json file contains configurations for integrating the MCP server with browser-based clients. Ensure that this file is correctly set up to match your client's requirements.

🤝 Contributing

Contributions are welcome! If you have suggestions or improvements, feel free to fork the repository and submit a pull request.

📄 License

This project is licensed under the MIT License.

Quick Start

1

Clone the repository

git clone https://github.com/anand23124/mcp_first
2

Install dependencies

cd mcp_first
npm install
3

Follow the documentation

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

Repository Details

Owneranand23124
Repomcp_first
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