MCP.so
ログイン

MCP Server Demo

@sotayamashita

MCP Server Demo について

概要はまだありません

基本情報

カテゴリ

その他

ランタイム

python

トランスポート

stdio

公開者

sotayamashita

設定

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

{
  "mcpServers": {
    "mcp-server-demo-sotayamashita": {
      "command": "uv",
      "args": [
        "init",
        "mcp-server-demo"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MCP Server Demo?

MCP Server Demo is a simple Model Context Protocol (MCP) server created for learning and testing. It provides an addition tool and a dynamic greeting resource, and can be tested with the MCP Inspector or integrated with Claude Desktop.

How to use MCP Server Demo?

Use uv init mcp-server-demo to create the project and uv run mcp dev server.py to launch the MCP Inspector. For Claude Desktop integration, run uv run mcp install server.py, then ensure the absolute path to uv is set in the Claude config file. Prerequisites include uv and Python 3.12.

Key features of MCP Server Demo

  • Provides an add tool that sums two integers.
  • Provides a get_greeting resource with a dynamic name parameter.
  • Testable via the MCP Inspector web interface.
  • Installable into Claude Desktop as a configured MCP server.
  • Built using the FastMCP helper from the Python SDK.

Use cases of MCP Server Demo

  • Learning how to create and test a basic MCP server.
  • Demonstrating tool and resource implementation with FastMCP.
  • Integrating a custom MCP server with Claude Desktop for AI-powered operations.

FAQ from MCP Server Demo

What tools does MCP Server Demo provide?

It provides an add tool that takes two integers and returns their sum.

What resources does MCP Server Demo provide?

It provides a dynamic get_greeting resource that returns a personalized greeting based on a name parameter.

How does Claude Desktop select which MCP server tools to use?

Claude connects to all configured MCP servers but selects tools based on the content of the user's query. If the query content is not suitable for using tools, the tools will not be used.

Can I retrieve resources from Claude Desktop?

There appears to be an issue retrieving resources from Claude Desktop. This section requires further investigation.

What prerequisites are needed to run MCP Server Demo?

You need the uv package manager and Python 3.12. The SDK dependency is mcp[cli].

コメント

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