mcp server的主要作用是什么?
server用于生成工具,工具示例位于`/src/calculate.py`和`/src/datawale.py`中,是LLM可调用的具体功能。
@zhkzly
Basic information
mcp example from webset
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
mcp是一个MCP(Model Context Protocol)参考实现,演示如何通过客户端(如Cline)与LLM交互,并利用MCP server定义和调用自定义工具(Python脚本)。它基于微信文章和知乎链接的内容,补充了Cline客户端配置和Gemini模型的使用示例。
克隆仓库后安装uv(https://docs.astral.sh/uv/getting-started/installation/),用uv run script.py自动管理环境。在VS Code中安装Cline插件,选择合适的LLM模型,在Cline的MCP Server配置中添加绝对路径的命令,例如/Users/{username}/.local/bin/uv --directory /Users/{username}... run txt_counter.py。也可直接运行脚本并修改端口。
server用于生成工具,工具示例位于`/src/calculate.py`和`/src/datawale.py`中,是LLM可调用的具体功能。
command必须使用绝对路径,相对路径会导致错误。典型格式为`/Users/{username}/.local/bin/uv --directory /Users/{username}... run txt_counter.py`。
需要安装uv(Python包管理器),它会自动在项目目录下的`./.venv`中创建环境并安装依赖。
README提到`llms-full.txt`中列出了可选的client列表,此外也可以自己编写客户端(参考`src/mcp_client.py`和Python SDK快速入门)。
需要持续运行server以便与LLM通信。可以通过在Cline配置中使用`uv run`命令,或者直接运行脚本(需自行修改端口)。
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

Soar Flight Booking MCP is a remote MCP server available at https://mcp.soar.flights.

A free remote MCP server for The Living Bread. Bible passages read word for word from a stored public domain text with an evidence label, keyword search and cross references, real churches, gatherings and prayer groups w
🚀 The fast, Pythonic way to build MCP servers and clients.
PickFu MCP is a Model Context Protocol (MCP) server that connects AI assistants, developers, marketers, product managers, and AI agents to PickFu's consumer research platform. It enables users to create surveys, conduct
Comments