Cover image
Try Now
2025-04-02

Un guide complet pour modéliser les serveurs de protocole de contexte (MCP), l'installation et l'utilisation avec le curseur et la smithry.

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

Model Context Protocol (MCP) Tutorial

What is MCP?

Model Context Protocol (MCP) is a standardized protocol that enables seamless communication between development environments (like Cursor) and AI models. It provides a structured way to share context and integrate AI capabilities into various tools and platforms.

Quick Start Guide

Prerequisites

  • Cursor IDE
  • Node.js and npm
  • Git

Setting up MCP with Smithery

  1. Install Smithery
npm install -g @cursor-ai/smithery
  1. Create & Initialize MCP Server
mkdir my-mcp-server
cd my-mcp-server
smithery init
  1. Configure Server Edit smithery.config.js:
module.exports = {
  name: "my-mcp-server",
  version: "1.0.0",
  tools: [
    // Your tools configuration
  ]
};
  1. Start Server
smithery start

Connecting to Cursor

  1. Open Cursor IDE
  2. Access Settings
  3. Find "MCP Servers" section
  4. Add new server:

Troubleshooting

Common Issues

  1. Red Server Status

    • Verify server is running
    • Check URL and port
    • Validate authentication
  2. No Tools Available

    • Review tool configuration
    • Restart MCP server
    • Update Cursor
  3. Connection Issues

    • Check network connectivity
    • Verify firewall settings
    • Confirm port availability

Resources

Contributing

Contributions welcome! Feel free to:

  • Report issues
  • Submit pull requests
  • Share your experiences

License

MIT License


Last updated: April 2024

相关推荐

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

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

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

  • 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

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

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

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

  • 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

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

  • HiveNexus
  • Un bot de chat IA pour les petites et moyennes équipes, soutenant des modèles tels que Deepseek, Open AI, Claude et Gemini. 专为中小团队设计的 Ai 聊天应用 , 支持 Deepseek 、 Open Ai 、 Claude 、 Gemini 等模型。

  • 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

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

    Reviews

    1 (1)
    Avatar
    user_AhF4yFSf
    2025-04-17

    I've been using mcp-tutorials by rams1987 and it has significantly boosted my understanding of MCP applications. The tutorials are thorough, easy to follow, and have practical examples that make learning seamless. If you're looking to deepen your MCP knowledge, I highly recommend checking out this resource. Great job, rams1987!