Cover image

简单的原型MCP V0.2客户端和服务器实现

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

only_mcp

A simple MCP v0.2 client and server implementation, for me to learn about MCP.

IT is not a complete implementation. Neither is it to be used for production.

Story So Far

Spent the weekend implementing MCP v0.2—exactly as fun as it sounds! Agents can now leverage authenticated tools, though there's room for improvement.

Key observations:

  • Protocol Changes: MCP v0.2 significantly differs from v0.1—most notably, the SSE endpoint is gone. It also relies on a .well-known OAuth flow for auth. The introduction of application/json requests simplify some interactions but remove the option for server push via SSE.

  • SDK and Tooling Gaps: Current Python SDK to build your MCP server quickly is still at v0.2 with limited auth support, which pushed me into building a Falcon-based server compatible with both standards. Dev tooling lags behind—Claude integration, for instance, still demands local stdio-based setups. The promising mcp-proxy tool doesn't yet support v0.2, causing unexpected detours during implementation.

  • Interoperability Concerns: MCP's tool schema differs from OpenAI's chat-completion standard, complicating implementations. Function call chains (e.g., fetching schema before updates) also present challenges—tool-calling workflows could be more streamlined.

  • Long-running Tasks: While direct support is still missing, MCP v0.2 introduces event IDs for task status polling—a welcome addition, though yet to be tested in my setup.

  • Deployment and Strategy: MCP endpoints ideally coexist alongside REST APIs and OAuth flows, making it suitable for dedicated agent traffic handling. Cloudflare emerges as a solid managed option, though self-hosting might become preferable as tooling matures. Founders considering building a standalone MCP gateway in the cloud might want to reassess the long-term viability of that approach.

Overall, MCP v0.2 is progressing nicely but needs a few iterations for tooling and SDK maturity.

Developer Instructions

  1. Pre-commit
pre-commit install
  1. We only develop inside containers.
docker compose up --build
  1. Frontend dependencies are managed locally. If you need to run eslint manually, run:
npm --prefix frontend install && npx eslint

相关推荐

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

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

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • 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

  • Lists Tailwind CSS classes in monospaced font

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

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

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

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • HiveNexus
  • 一个适用于中小型团队的AI聊天机器人,支持DeepSeek,Open AI,Claude和Gemini等车型。 专为中小团队设计的ai聊天应用,支持deepSeek,打开ai,claude,双子座等模型。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

    Reviews

    3 (1)
    Avatar
    user_VdJzLpvB
    2025-04-16

    I've been using the ConnectWise Manage MCP Server created by jasondsmith72, and it has significantly streamlined our workflow. The integrations with ConnectWise PSA via API are seamless, making data management effortless. An excellent tool for anyone looking to optimize their operations. Highly recommended!