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`命令,或者直接运行脚本(需自行修改端口)。

Unscramble letters, check words in NWL2023, Collins, WOW24 and Words With Friends, and get spoiler-free hints for NYT Connections, Strands, Spelling Bee and more.

Health by Dr Brad works out a health plan from your own results: which screening is due at your age, and evidence-based suggestions, each with the reason and the published guideline or study behind it. Your record is one

Mail a real postal letter worldwide from a PDF or text. No account, pay per letter.
Hindsight: Agent Memory That Learns

See and control a real Windows PC you own — from any MCP client, locally or remotely. Observe (UIA + screenshots), click/type/drag/scroll, launch apps, owner Live View. BYOH: your machine, your key.
Comments