MCP cover image
See in Github
2025-03-31

Serveur MCP pour GitBook

1

Github Watches

0

Github Forks

0

Github Stars

MCP Server Example

A simple MCP (Model Context Protocol) server implementation using the Python MCP SDK with FastMCP.

Setup

  1. Install dependencies using uv:
uv add "mcp[cli]" requests python-dotenv

Running the Server

Run the server:

python src/mcp_gitbook/main.py

Available Tools

example_tool

An example tool that echoes a message back.

Input schema:

{
    "type": "object",
    "properties": {
        "message": {
            "type": "string",
            "description": "Message to echo"
        }
    },
    "required": ["message"]
}

Example usage:

{
    "method": "call_tool",
    "params": {
        "name": "example_tool",
        "arguments": {
            "message": "Hello, MCP!"
        }
    }
}

相关推荐

  • 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

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

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

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

  • 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

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

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

    Reviews

    1 (1)
    Avatar
    user_PxqeUV62
    2025-04-15

    The MCP Proxy POC by RelevanceAI is a remarkable solution for effective server management. Its seamless integration and intuitive interface make it incredibly user-friendly. The product excels in performance, providing a reliable proxy server experience. Highly recommended for tech enthusiasts looking to enhance their server operations!