MCP·ABE6BF
F

mcp_server

By freedanfan·Visit Source
基于FastAPI的AI模型交互MCP服务器
2025年4月18日
2 months ago
3 Clicks
About mcp_server

基于FastAPI的AI模型交互MCP服务器. mcp_server is a Model Context Protocol (MCP) server maintained by freedanfan. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 3 tools, including sample, initialize and shutdown, that an agent can call directly. It is categorized under Tool/Server and AI/Integration.

什么是MCP

MCP(模型上下文协议)是AI模型与开发环境之间标准化上下文交互的统一协议。该实现提供了一个基于Python的服务器,支持JSON-RPC 2.0、SSE连接和模块化架构。

如何使用MCP

  • 克隆仓库并安装依赖
  • 运行python mcp_server.py启动服务器
  • 使用内置客户端或向/api端点发送JSON-RPC请求
  • 通过添加新方法或集成AI模型来扩展功能
  • MCP的用途

    - 在开发环境中标准化AI模型交互

    - 创建可扩展的AI应用后端

    - 构建支持SSE的实时AI模型接口

    - 简化不同AI模型与应用的集成

    Repository Info
    Stars:
    10
    Forks:
    6
    Watchers:
    10
    Last Updated: 12 months ago

    AIMCP authority

    DR and traffic signal for the AIMCP public domain.

    FAQ

    Frequently asked questions

    What is the mcp_server MCP server?

    mcp_server is a Model Context Protocol server from freedanfan. It lets MCP-compatible AI clients call its tools over a standard interface, so agents like Claude, Cursor, and Cline can use it without custom integration.

    How do I connect mcp_server to my AI client?

    Add mcp_server to your client's MCP configuration using the stdio or SSE connection shown in the usage examples on this page, then restart the client to load the server.

    What tools does mcp_server provide?

    mcp_server provides 3 tools: sample, initialize and shutdown.

    Is mcp_server free to use?

    mcp_server is listed on AIMCP for free. Any API keys or accounts required by the underlying service are set by its provider.

    Sponsored

    Vernclaw Plugins for OpenClaw

    Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.