version
Retrieve version information for the Qiniu MCP Server to verify current deployment status and compatibility with cloud services.
Instructions
qiniu mcp server version info.
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": "version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The handler function for the 'version' tool that returns the MCP server version as TextContent.
def version(self, **kwargs) -> list[types.TextContent]: return [types.TextContent(type="text", text=version.VERSION)] - Input schema definition for the 'version' tool, which requires no parameters.
inputSchema={ "type": "object", "required": [], } - src/mcp_server/core/version/tools.py:25-31 (registration)Registers the 'version' tool by adding its implementation to the tools registry.
def register_tools(): tool_impl = _ToolImpl() tools.auto_register_tools( [ tool_impl.version, ] ) - Constant holding the MCP server version string used by the tool handler.
VERSION = '1.4.1'