MCP cover image
See in Github
2025-04-14

Demo: protocole MCP avec un fichier client et serveur simple

1

Github Watches

0

Github Forks

2

Github Stars

Demo MCP

Info

Setup

python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt

Run Server

  • python server.py

Run demo client

  • python client.py http://localhost:8000/sse

Run demo host (langchain/langgraph)

You need to run ollama and download a model

  • python host_langchain.py llama3.3 http://localhost:11434

Debug

  • Open a new terminal and run npx @modelcontextprotocol/inspector
  • Point browser to http://127.0.0.1:6274
  • Change Transport Type to SSE
  • Change URL to http://localhost:8000/sse
  • Press Connect and start testing server

相关推荐

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

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

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

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • 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

  • jae-jae
  • MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.

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

  • ravitemer
  • Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)

  • patruff
  • Pont entre les serveurs Olllama et MCP, permettant aux LLM locaux d'utiliser des outils de protocole de contexte de modèle

  • pontusab
  • La communauté du curseur et de la planche à voile, recherchez des règles et des MCP

  • Sysc4lls
  • Lecteur de documentation IDA (Sort-of) MCP Server

    Reviews

    2 (1)
    Avatar
    user_zMe16XD4
    2025-04-17

    I recently tried mcp_demo by josx from GitHub, and it's fantastic! The simplicity and effectiveness of this tool speak volumes. Highly recommended for anyone needing a reliable solution. Check it out at the provided URL; you won't be disappointed!