MCP·54C66E
Y

mcp_server

By yisu201506·Visit Source
用于大语言模型(LLM)集成模型上下文协议(MCP)的Flask服务器
2025年4月18日
Today
3 Clicks
About mcp_server

用于大语言模型(LLM)集成模型上下文协议(MCP)的Flask服务器. mcp_server is a Model Context Protocol (MCP) server maintained by yisu201506. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 2 tools, including get_weather and calculator, that an agent can call directly. It is categorized under AI/LLM and Tool/Server.

什么是MCP

模型上下文协议(MCP)是一种通过自然语言工具调用来扩展大语言模型能力的方法。与函数调用不同,MCP将工具定义直接嵌入上下文窗口,并通过解析模型的文本响应来识别工具使用。

如何使用这个MCP

  • 安装依赖项并配置环境变量
  • 启动Flask服务器(使用flask rungunicorn
  • /chat端点发送包含用户消息的聊天请求
  • 系统将处理工具调用并返回增强后的响应
  • MCP的用途

    - 通过外部工具(天气、计算器等)扩展LLM能力

    - 创建具有动态工具集成功能的对话界面

    - 构建能够通过自然语言与API交互的AI代理

    Repository Info
    Stars:
    2
    Forks:
    -
    Watchers:
    2
    Last Updated: 1 year 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 yisu201506. 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 2 tools: get_weather and calculator.

    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.