version
Check the current version of the Harvest MCP server to verify compatibility and access time tracking features.
Instructions
Get version information about the Harvest MCP server.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:164-173 (handler)MCP server handler for the 'version' tool that calls harvestClient.getVersion() and returns the version information as text content.case 'version': const versionInfo = harvestClient.getVersion(); return { content: [ { type: 'text', text: versionInfo, }, ], };
- src/tools.ts:94-101 (schema)Schema definition for the 'version' tool, specifying name, description, and empty input schema. This is part of the tools array used for tool listing.{ name: 'version', description: 'Get version information about the Harvest MCP server.', inputSchema: { type: 'object', properties: {} } },
- src/harvest-client.ts:933-945 (helper)Helper method getVersion() in HarvestClient that returns a formatted JSON object with version details of the MCP server and Harvest API.// Version Information getVersion(): string { return JSON.stringify({ name: '@standardbeagle/harvest-mcp', version: '0.2.0', description: 'Model Context Protocol server for Harvest API integration', author: 'standardbeagle', license: 'MIT', repository: 'https://github.com/standardbeagle/harvest-mcp', mcpVersion: '2025-06-18', harvestApiVersion: 'v2' }, null, 2); }