Cover image
Try Now
2025-04-12

Simple MCP Server para proporcionar a mi cursor local acceso para agregar elementos a mi lista de TODO de MongoDB

3 years

Works with Finder

1

Github Watches

1

Github Forks

3

Github Stars

FastMCP Todo Server

A FastMCP-based Todo Server for the Swarmonomicon project. This server receives todo requests via FastMCP and stores them in MongoDB for processing by the Swarmonomicon todo worker.

Features

  • FastMCP server for receiving todo requests
  • MongoDB integration for todo storage
  • Compatible with Swarmonomicon todo worker
  • Python-based implementation

Installation

  1. Clone the repository:

    git clone https://github.com/DanEdens/Omnispindle.git
    cd Omnispindle
    
  2. Install uv (if not already installed):

    curl -LsSf https://astral.sh/uv/install.sh | sh
    
  3. Create and activate a virtual environment with uv:

    uv venv
    source .venv/bin/activate  # On Unix/macOS
    # or
    .venv\Scripts\activate  # On Windows
    
  4. Install dependencies with uv:

    uv pip install -r requirements.txt
    
  5. For development, install additional dependencies:

    uv pip install -r requirements-dev.txt
    
  6. Create a .env file with your configuration:

    MONGODB_URI=mongodb://localhost:27017
    MONGODB_DB=swarmonomicon
    MONGODB_COLLECTION=todos
    

Usage

Starting the Server

  1. Start the FastMCP server:
    python -m src.Omnispindle
    

Adding Todos

You can add todos using FastMCP in several ways:

  1. Using FastMCP Python client:

    from fastmcp import FastMCPClient
    
    client = FastMCPClient()
    response = await client.call_tool("add_todo", {
        "description": "Example todo",
        "priority": "high",  # optional, defaults to "medium"
        "target_agent": "user"  # optional, defaults to "user"
    })
    
  2. Using MQTT directly:

    mosquitto_pub -t "mcp/todo/new" -m '{
        "description": "Example todo",
        "priority": "high",
        "target_agent": "user"
    }'
    

Development

  1. Run tests:

    pytest tests/
    
  2. Run tests with coverage:

    pytest --cov=src tests/
    
  3. Run specific test file:

    pytest tests/test_todo_handler.py -v
    

Integration with Swarmonomicon

This server is part of the larger Swarmonomicon project, which provides:

  • Task management and distribution
  • Agent-based task processing
  • Real-time updates via MQTT
  • Integration with various AI models

For more information about the Swarmonomicon project and its features, check out the main project documentation.

License

MIT License

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for new functionality
  5. Submit a pull request

For more information about contributing to the Swarmonomicon project, see the main project's contributing guidelines.

相关推荐

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

  • 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.

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

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • https://tovuti.be
  • Oede knorrepot die vasthoudt an de goeie ouwe tied van 't boerenleven

  • ANGEL LEON
  • A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.

  • Gil kaminski
  • Make sure you are post-ready before you post on social media

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

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • OffchainLabs
  • Implementación de la prueba de estaca Ethereum

  • huahuayu
  • Una puerta de enlace de API unificada para integrar múltiples API de explorador de blockchain similar a Esterscan con soporte de protocolo de contexto modelo (MCP) para asistentes de IA.

  • deemkeen
  • Controle su MBOT2 con un combo de potencia: MQTT+MCP+LLM

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

  • pontusab
  • La comunidad de cursor y windsurf, encontrar reglas y MCP

    Reviews

    5 (1)
    Avatar
    user_gzldA70O
    2025-04-15

    I've been using Mcp Assignment by rahulc0dy, and it has truly transformed my workflow. The seamless integration and user-friendly interface make managing assignments a breeze. Highly recommend for anyone looking to streamline their task management. Definitely check it out at https://mcp.so/server/mcp-assignment/rahulc0dy!