MCP.so
ログイン

Create your first own server MCP Server

@ma3u

基本情報

カテゴリ

その他

トランスポート

stdio

作者

ma3u

Create your first own server MCP Server について

Simple MCP Server to count char "r"

Create your first own server MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

Create your first own server MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは 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 '

コメント

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