get_version
Retrieve the current version details of the Simple MCP Server to verify compatibility and track updates.
Instructions
Get server version information.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- run_server.py:77-81 (handler)The handler function for the 'get_version' tool. It logs when called and returns a dictionary with version information for the server and FastMCP.
@mcp.tool() def get_version() -> dict: """Get server version information.""" logger.info("get_version called") return {"version": "0.1.0", "name": "Simple MCP Server", "api_version": "FastMCP 2.5.1"}