Cover image
Try Now
2025-03-24

Test MCP server that can do several things

3 years

Works with Finder

1

Github Watches

1

Github Forks

0

Github Stars

MCP Server

MCP сервер на Python, предоставляющий текущий курс доллара, прогноз погоды и новости за последнюю неделю.

Установка

  1. Клонируйте репозиторий:

    git clone https://github.com/Cavumnigrum/mcp_server_project.git
    cd mcp_server_project
    
  2. Создайте виртуальное окружение:

    python -m venv venv
    source venv/bin/activate  # Linux/Mac
    venv\Scripts\activate     # Windows
    
  3. Установите зависимости:

    pip install -r requirements.txt
    
  4. Настройте API ключи:

    • Зарегистрируйтесь на:
    • Скопируйте .env.example в .env и заполните своими ключами:
      cp .env.example .env
      
  5. Запустите сервер:

    python mcp_server.py
    

    Сервер будет доступен по адресу http://localhost:8000.

Тестирование

Запустите тесты с помощью pytest:

pytest test_mcp_server.py -v

Подключение клиента

Самописный клиент:

python mcp_client.py
  • При запуске клиента есть инструкция как им пользоваться

Дополнительно

В репозитории есть docker-файлы для создания контейнеров. Порядок работы с докер-файлами:

  1. Убедиться, что установлены необходимые пакеты для docker и docker-compose
  2. Перейти в папку с проектом
    cd path\to\project 
    
  3. Запустить docker-compose файл в двух режимах для сервера и клиента
    docker-compose up -d server
    docker-compose run --rm client
    
  4. После завершения работы можно уронить контейнеры с помощью
    docker-compose down server client 
    

相关推荐

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

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

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

  • momi
  • Provides initial medical assessments and advice.

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

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Daren White
  • A supportive coach for mastering all Spanish tenses.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

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

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

  • zhaoyunxing92
  • 本项目是一个钉钉MCP(Message Connector Protocol)服务,提供了与钉钉企业应用交互的API接口。项目基于Go语言开发,支持员工信息查询和消息发送等功能。

  • justmywyw
  • Short and sweet example MCP server / client implementation for Tools, Resources and Prompts.

  • KasarLabs
  • Build powerful and secure AI Agents powered by Starknet.

    Reviews

    5 (1)
    Avatar
    user_COyJQ4p4
    2025-04-15

    The Gmail Plugin MCP Server by sanchisingh01 has been a game-changer for my email management on Claude Desktop. It's seamless and efficient, making my daily tasks so much easier. Highly recommend for anyone looking to streamline their email processes!