get_mcp_version
Check the current version of the Stacks blockchain development server to verify compatibility and access available features for Clarity smart contract development.
Instructions
Returns the version of the MCP server
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_mcp_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/server.ts:30-40 (registration)Registration of the 'get_mcp_version' tool including inline handler function that returns the MCP server's version and empty input schema (no parameters required). This is the complete implementation of the tool.
server.addTool({ description: "Returns the version of the MCP server", execute: async () => { return { text: server.options.version, type: "text", }; }, name: "get_mcp_version", parameters: z.object({}), });