MCP.so
登录

Create your first own server

@ma3u

关于 Create your first own server

Simple MCP Server to count char "r"

基本信息

分类

其他

运行时

python

传输方式

stdio

发布者

ma3u

配置

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

{
  "mcpServers": {
    "mcp-server-count-r-": {
      "command": "python3",
      "args": [
        "-m",
        "venv",
        ".venv"
      ]
    }
  }
}

工具

未检测到工具

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

概览

What is Create your first own server?

It is a tutorial MCP server created to demonstrate building a first MCP server. It counts the number of 'r' characters in a given string, as shown by the example with the word Rindfleischetikettierungsüberwachungsaufgabenübertragungsgesetz, and integrates with Claude Desktop.

How to use Create your first own server?

Create a Python virtual environment, activate it, install the mcp package, and write a server.py file. Then configure Claude Desktop by adding the server (e.g., count-r) to claude_desktop_config.json with the full path to the Python executable and the server script. Restart Claude Desktop, accept the new server, and test by asking it to count '

评论

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