Cover image
Try Now
2025-03-22

3 years

Works with Finder

1

Github Watches

1

Github Forks

0

Github Stars

Learning about MCP

TODO:

Learnings

  • There are two transport methods:

    • Via stdio. Here, you have to provide a path to a server binary client can use.

    • Via sse. Here, you have to provide a network address for the server.

      • This transport method seems more universal to me. It allows the server to be deployed separately than the client.
  • I really wanted to use fastify for the server, but I could not make it work with the existing SDK.

    • This is a great opportunity to learn how to write such server using only Node!
  • Core primitives that relate to MCP are:

    • Resources – You can think of these as data (like PDFs, database records and so on) that client can use to shape the correct response to the users query.

    • Prompts – Think of those as pre-defined prompts you sometimes see under the text box in "prompt to x" flows.

    • Tools – Those allow the LLM to perform actions on the user behalf. It is the server that calls the tool and responds with the result to the client. Clients job is to then pass the results to the LLM.

    • Sampling – To be honest, I'm unsure what those are yet.

    • Roots – Those define the "boundaries" of the server. For example, if your server exposes a tool that works with the file system, you could include specific directory in the "roots" so that the tool is "bounded" only to that directory.

    • Transports – Already wrote about them above. There is the STDIO and SSE transport. As for the messages, they are formatted via JSON-RPC 2.0.

  • I really like the fact that the SDK has error-handling built-in.

    • I can throw an error in the server tool callback function, and the client SDK will handle that, and respond accordingly.

相关推荐

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

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

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

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

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

  • Khalid kalib
  • Write professional emails

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

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

  • Lists Tailwind CSS classes in monospaced font

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • OffchainLabs
  • Go implementation of Ethereum proof of stake

  • huahuayu
  • A unified API gateway for integrating multiple etherscan-like blockchain explorer APIs with Model Context Protocol (MCP) support for AI assistants.

  • deemkeen
  • control your mbot2 with a power combo: mqtt+mcp+llm

    Reviews

    3 (1)
    Avatar
    user_glZLWVH8
    2025-04-16

    As a dedicated mcp application user, I highly recommend the mcp-server-learning by WojciechMatuszewski. This robust tool is invaluable for server learning and management. Its intuitive design and comprehensive features make it a must-have for anyone looking to streamline their server tasks. Check it out on GitHub for an excellent learning experience!