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 '

コメント

「その他」の他のコンテンツ