Cover image
Try Now
2025-03-23

MCP服务器要获取有关我的最新信息(暂时),您可以将MCP服务器添加到Claude Desktop或创建自定义客户端,请查看此回购

3 years

Works with Finder

1

Github Watches

1

Github Forks

1

Github Stars

Requirements

  • Python 3.13
  • Dependencies listed in pyproject.toml

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd documentation
    
  2. Create a virtual environment and activate it:

    python -m venv .venv
    source .venv/bin/activate  # On Windows use `.venv\Scripts\activate`
    
  3. Install the dependencies:

    pip install -r requirements.txt
    
  4. Set up environment variables:

    Create a .env file in the root directory with the following content:

    SCRAPING_DOG_API_KEY=your_scraping_dog_api_key
    OPENAI_API_KEY=your_openai_api_key
    

Usage

Running the Client

  1. Navigate to the root directory:

    cd ..
    
  2. Run the client:

    python client.py
    
  3. Enter your prompts in the interactive prompt loop. Type quit or exit to stop the client.

Project Files

client.py

This file contains the main client code that interacts with the MCP server and OpenAI's GPT-4 model. It includes the following key components:

  • MCPClient: A class that manages the connection to the MCP server and provides methods to retrieve available tools and call them.
  • agent_loop: An asynchronous function that processes user queries using the LLM and available tools.
  • main: The main function that sets up the MCP server, initializes tools, and runs the interactive loop.

ksrk-mcp/ksrk-mcp-server.py

This file contains the MCP server implementation. It includes the following key components:

  • search_web: An asynchronous function that searches the web using the ScrapingDog API.
  • fetch_url: An asynchronous function that fetches the content of a URL.
  • about_ksrk: An MCP tool that searches for details about "ksrk" on a given website.

ksrk-mcp/test-website.py

This file contains a script to test website scraping using httpx and BeautifulSoup.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Lists Tailwind CSS classes in monospaced font

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

    Reviews

    4 (1)
    Avatar
    user_n6acPhq1
    2025-04-15

    I have been using the Ebay MCP server by MCP-Mirror for a while now, and it has significantly streamlined my online selling process. It is reliable, easy to navigate, and has improved my efficiency. Highly recommend it to any eBay seller looking for a dependable server solution!