MCP cover image
See in Github
2025-04-14

Una implementación rápida del protocolo de contexto modelo de Anthrope (MCP)

1

Github Watches

0

Github Forks

1

Github Stars

A Swift Package for the Model Context Protocol

Swift Platforms License

This was something I was working on, but there is now an official Swift SDK so I can only recommend to use the official version. This package will no longer be maintained or developeed.

ModelContextProtocol was an under-development Swift 6.0 implementation of Anthropic's Model Context Protocol (MCP), with the goal of providing an easy-to-use, pluggable Swift Package for MCP use across macOS, iOS, + Linux.

The package is split into three components:

  1. MCPCore: The core data types and functionality shared between the MCPClient and MCPServer.
  2. MCPClient: A relatively simple implementation for an MCPClient.
  3. MCPServer: An interface for a server to provide MCP functionality.

Features

  • 🏃 Modern Swift Concurrency - Built with Swift 6.0, leveraging actors, async/await, + Sendable
  • 🔒 Type-Safe - Full type safety for all MCP messages and operations
  • 🔌 Multiple Transports - Support for stdio and Server-Sent Events (SSE)
  • ⚡️ Performance - Efficient message handling with timeout and retry support
  • 🛠 Rich Capabilities - Support for resources, prompts, tools, and more
  • 📦 SwiftPM Ready - Easy integration through Swift Package Manager

Contributing

  1. Read the MCP Specification
  2. Fork the repository
  3. Create a feature branch
  4. Add tests for new functionality
  5. Submit a pull request

Limitations

  • StdioTransport does not work in sandboxed environments

相关推荐

  • Aurity Ltd
  • Create and Publish Business Websites in seconds. AI will gather all the details about your website and generate link to your website.

  • Convincible Ltd
  • You're in a stone cell – can you get out? A classic choose-your-adventure interactive fiction game, based on a meticulously-crafted playbook. With a medieval fantasy setting, infinite choices and outcomes, and dice!

  • John Rafferty
  • Text your favorite pet, after answering 10 questions about their everyday lives!

  • Ian O'Connell
  • Provide players' names or enter Quickstart to start the game!

  • analogchat.com
  • Efficient Spotify assistant for personalized music data.

  • justben.fyi
  • Your go-to expert for gameplay walkthroughs and cheat codes.

  • roadToCoder
  • Science Fiction aficionado guiding through movies, series, books, mangas, and games.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.

  • av
  • Ejecute sin esfuerzo LLM Backends, API, frontends y servicios con un solo comando.

  • langgenius
  • alibaba
  • 1Panel-dev
  • 🔥 1Panel proporciona una interfaz web intuitiva y un servidor MCP para administrar sitios web, archivos, contenedores, bases de datos y LLM en un servidor de Linux.

  • Byaidu
  • Traducción de papel científico en PDF con formatos preservados - 基于 Ai 完整保留排版的 PDF 文档全文双语翻译 , 支持 支持 支持 支持 支持 支持 支持 支持 支持 支持 支持 支持 等服务 等服务 等服务 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 提供 cli/mcp/docker/zotero

  • rulego
  • ⛓️Rulego es un marco de motor de regla de orquestación de componentes de alta generación de alto rendimiento, de alto rendimiento y de alto rendimiento para GO.

  • hkr04
  • SDK liviano C ++ MCP (Protocolo de contexto del modelo)

  • AstrBotDevs
  • ✨ 易上手的多平台 llm 聊天机器人及开发框架 ✨ 平台支持 qq 、 qq 频道、 telegram 、微信、企微、飞书 | MCP 服务器、 OpenAi 、 Deepseek 、 Géminis 、硅基流动、月之暗面、 Ollama 、 oneapi 、 DiFy 等。附带 Webui。

  • nbonamy
  • WITSY: Asistente de escritorio AI

  • lasso-security
  • Una puerta de enlace basada en complementos que orquesta otros MCP y permite a los desarrolladores construir sobre agentes de grado empresarial de TI.

    Reviews

    3.5 (10)
    Avatar
    user_6s0l5yne
    2025-04-26

    As an avid user of the ModelContextProtocol (MCP), I've found it to be an indispensable tool in my daily workflow. Developed by the talented JakeSax, MCP simplifies complex tasks and enhances productivity with its user-friendly interface. The seamless start URL and welcoming information make onboarding a breeze. Highly recommend for anyone looking to streamline their processes!

    Avatar
    user_MT4L2nwz
    2025-04-26

    As a dedicated user of ModelContextProtocol (MCP) by JakeSax, I have found it incredibly efficient and user-friendly. The seamless integration and robust functionalities have significantly streamlined my workflow. Highly recommend MCP for anyone looking to enhance their modeling processes!

    Avatar
    user_FsCaMZek
    2025-04-26

    As a dedicated user of the ModelContextProtocol (MCP) by JakeSax, I can confidently say that it has revolutionized the way I manage and implement context protocols. The intuitive design and seamless integration into my existing workflow have significantly boosted my productivity. Highly recommended!

    Avatar
    user_Q4LsZRwD
    2025-04-26

    The ModelContextProtocol by JakeSax has revolutionized my workflow. It's intuitive, highly versatile, and seamlessly integrates with my projects. I appreciate the thoughtfulness in its design, making it incredibly user-friendly. Definitely a must-have for anyone serious about enhancing their modeling process!

    Avatar
    user_XcXugfwl
    2025-04-26

    As an avid user of the ModelContextProtocol application by JakeSax, I must say it has truly revolutionized my workflow. The intuitive design and seamless integration have made managing contexts a breeze. Its efficiency and user-friendly interface set it apart. Highly recommend to anyone looking to streamline their modeling processes!

    Avatar
    user_9CI78kZc
    2025-04-26

    As a dedicated user of ModelContextProtocol, I must say this tool has transformed my workflow dramatically. JakeSax has done an excellent job in creating a user-friendly and efficient application. With easy navigation and clear welcoming information, it’s perfect for both beginners and advanced users. Highly recommend giving it a try!

    Avatar
    user_6Kob6HQw
    2025-04-26

    As a dedicated user of the ModelContextProtocol (MCP) by JakeSax, I must say it has revolutionized the way we handle model context switching. The seamless integration and ease of use make it a go-to for any serious developer. Highly recommended for anyone looking to streamline their workflow and increase productivity!

    Avatar
    user_UZsi9IBn
    2025-04-26

    As an avid user of the ModelContextProtocol (MCP) by JakeSax, I am thoroughly impressed by its capabilities and ease of use. This tool offers comprehensive solutions for context management in various model frameworks, streamlining workflows significantly. The interface is intuitive, and the integration process is seamless, making it a must-have for anyone working in the field. Highly recommended!

    Avatar
    user_qx3C76Rw
    2025-04-26

    As a dedicated user of the ModelContextProtocol (MCP) created by JakeSax, I can confidently say that this tool has revolutionized my workflow. The interface is intuitive, and the robust functionality has significantly improved my productivity. Highly recommend it to anyone seeking efficiency and reliability in their projects!

    Avatar
    user_6EflFrqH
    2025-04-26

    As a dedicated user of the ModelContextProtocol (MCP) created by JakeSax, I must say this tool is a game-changer. It perfectly integrates various models into a seamless workflow, making my work more efficient and coherent. The ease of use and the comprehensive documentation are impressive, and the welcoming user interface ensures a smooth start. Highly recommend for anyone looking to streamline their modeling processes!