MCP.so
Sign In

Create your first own server MCP Server

@ma3u

Basic information

Category

Other

Transports

stdio

Author

ma3u

About Create your first own server MCP Server

Simple MCP Server to count char "r"

Create your first own server MCP Server config

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

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

Create your first own server MCP Server tools

Tool 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.

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