What tools does the server provide?
The server exposes two integer arithmetic tools: `add(a, b)` and `subtract(a, b)`.
@ugundhar
基本情報
complete mcp server
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-server-ugundhar": {
"command": "uv",
"args": [
"init",
"mcp-server-basic"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
MCP Server Basic Example is a minimal reference implementation of the Model Context Protocol (MCP) server in Python. It demonstrates core MCP capabilities—tools and resources—and is intended for developers learning how to build MCP servers.
Initialize a project with uv init mcp-server-basic, create a virtual environment, and install mcp[cli]. Run the server for inspection with uv run mcp dev main.py, or normally with uv run mcp run. To install in Claude Desktop, use uv run mcp install main.py. For VS Code, run uv run main.py then open the chat with Ctrl+Shift+I.
add(a, b) tool: adds two integerssubtract(a, b) tool: subtracts second integer from firstgreeting://{name} resource: returns a personalized greetinguv as package managerThe server exposes two integer arithmetic tools: `add(a, b)` and `subtract(a, b)`.
It provides a single dynamic resource `greeting://{name}` that returns a personalized greeting string.
Use `uv run mcp dev main.py` to launch the server with the MCP Inspector for testing and debugging.
Run `uv run mcp install main.py` from the project directory to register the server with Claude Desktop.
Open the project folder in VS Code, run `uv run main.py` in the terminal, then press Ctrl+Shift+I to launch the VS Code chat interface and configure the MCP connection.

Model Context Protocol Servers
Painless E2E Automation for Mobile and Web
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Open-source MCP to use Blender with any LLM
不止于 CSS
コメント