MCP.so
Sign In

Create your first own server

@ma3u

About Create your first own server

Simple MCP Server to count char "r"

Config

Add this server to your MCP-compatible client using the configuration below.

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

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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 '

Comments

More Other MCP servers