loading…
Search for a command to run...
loading…
A simple local MCP server that provides greeting and integer addition tools.
A simple local MCP server that provides greeting and integer addition tools.
A simple local MCP (Model Context Protocol) server built with fastmcp.
| Tool | Description | Parameters |
|---|---|---|
say_hello |
名前を受け取って挨拶を返す | name: str |
add |
2つの整数を足し算する | a: int, b: int |
# Clone the repository
git clone https://github.com/sla10132000/mcpscope.git
cd mcpscope
# Install dependencies
uv sync
uv run python server.py
Add the following to your .mcp.json:
{
"mcpServers": {
"mcpscope": {
"command": "uv",
"args": ["run", "python", "server.py"],
"cwd": "/path/to/mcpscope"
}
}
}
Replace /path/to/mcpscope with the actual path to your clone.
Open server.py and add a decorated function:
@mcp.tool()
def your_tool(param: str) -> str:
"""ツールの説明"""
return f"result: {param}"
fastmcp automatically exposes it as an MCP tool — no further registration needed.
Run in your terminal:
claude mcp add mcpscope -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.