MCP cover image
See in Github
2025-03-27

Test du référentiel pour le serveur MCP

1

Github Watches

0

Github Forks

0

Github Stars

Frontend-Agnostic MCP Server

A Multi-Core Processing (MCP) server that can be used with any frontend, not just Claude Desktop.

Changes Made

The original script was designed specifically for Claude Desktop, which automatically handles the server initialization. The updated script adds:

  1. An explicit mcp.serve() call to start the server
  2. Command-line argument parsing for host/port configuration
  3. A proper if __name__ == "__main__": block to allow the script to be imported without starting the server

Setup

  1. Install dependencies:

    pip install mcp-server requests python-dotenv
    
  2. Create a .env file with your Boomi token:

    BOOMI_TOKEN=your_token_here
    
  3. Run the server:

    python mcp_server.py
    

    Optional arguments:

    • --host: Host to bind to (default: 0.0.0.0)
    • --port: Port to listen on (default: 8000)

Usage

The server exposes an add tool that can be called from any frontend that supports the MCP protocol. The tool adds two numbers using a Boomi integration, with a local fallback.

How It Works

This MCP server connects to a Boomi integration process for adding numbers. If the Boomi service fails, it falls back to calculating the sum locally.

Using with Different Frontends

With Python Client

from mcp.client import Client

client = Client("http://localhost:8000")
result = client.add(a=5, b=10)
print(result)

With HTTP Request

POST http://localhost:8000/v1/tools/add
Content-Type: application/json

{
  "a": 5,
  "b": 10
}

相关推荐

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

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

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

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

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

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

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

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

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • huahuayu
  • Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.

  • modelcontextprotocol
  • Serveurs de protocole de contexte modèle

  • Mintplex-Labs
  • L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.

    Reviews

    3 (1)
    Avatar
    user_3Jw7zJC0
    2025-04-15

    I've been using Fetch MCP consistently and it has significantly improved my workflow. The intuitive interface and robust functionality provided by jae-jae make it an indispensable tool for anyone in need of a powerful management application. I highly recommend it to professionals seeking efficient and reliable software. Fantastic job, jae-jae!