MCP.so
登录

1、前言 MCP Server

@AndyM129

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

AndyM129

关于 1、前言 MCP Server

MCP Server 示例

1、前言 MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp_playground": {
      "command": "uv",
      "args": [
        "version"
      ]
    }
  }
}

1、前言 MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is 1、前言?

1、前言 is a tutorial-style guide for setting up a local MCP (Model Context Protocol) server using Ollama and CherryStudio, aimed at developers who want to experiment with local large language models and MCP tools. It walks through installing dependencies, creating a simple Python MCP server named "hello-mcp-server", integrating it with CherryStudio, and testing the connection.

How to use 1、前言?

Follow the steps in the guide: install Ollama and a model (e.g., phi4), install CherryStudio, install uv, initialize a Python project with mcp[cli], write a tool using FastMCP, run mcp dev hello_mcp_server.py, then add the MCP server in CherryStudio and enable it in a conversation.

Key features of 1、前言

  • Provides a step-by-step MCP setup tutorial for local LLMs.
  • Uses Ollama as the local model backend.
  • Integrates with CherryStudio as the client.
  • Demonstrates creating a custom MCP tool with Python.
  • Includes debugging via MCP Inspector.
  • Covers installation of uv and mcp[cli].

Use cases of 1、前言

  • Developers learning to build and test custom MCP servers locally.
  • Experimenting with local LLMs (e.g., Llama, DeepSeek) via MCP tools.
  • Creating simple automation tools that can be called from a chat interface.
  • Testing MCP server integration with CherryStudio before deploying to production.

常见问题

1

What is the purpose of this guide?

It helps users set up a local MCP server using Ollama and CherryStudio, and provides a minimal Python example (`hello-mcp-server`) to get started.

2

What tools and dependencies are required?

You need Ollama, a local model, CherryStudio, Python, `uv` (package manager), and the `mcp[cli]` package. The guide installs all dependencies step by step.

3

How do I debug the MCP server?

Run `mcp dev hello_mcp_server.py` to start the MCP Inspector, then access `http://127.0.0.1:6274` in a browser to connect and test tools.

4

How do I integrate the MCP server with CherryStudio?

In CherryStudio, add a new MCP server with the command `uv run hello_mcp_server.py` (or similar), then set a large model (e.g., Ollama's phi4), and enable the MCP server in a conversation.

5

Is this guide for a production-ready MCP server?

No, it is a basic tutorial for local testing and development. The example server only responds to a simple greeting tool.

评论

其他 分类下的更多 MCP 服务器