Skip to main content
Glama
standardbeagle

Harvest MCP Server

version

Retrieve version details for the Harvest MCP server to verify its current software release and compatibility with Harvest API v2 integrations.

Instructions

Get version information about the Harvest MCP server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The execution handler for the 'version' tool within the MCP CallToolRequestSchema switch statement. It retrieves version information from the HarvestClient and returns it as text content.
    // Version Tool case 'version': const versionInfo = harvestClient.getVersion(); return { content: [ { type: 'text', text: versionInfo, }, ], };
  • The tool schema definition including name, description, and empty input schema for the 'version' tool in the exported tools array.
    { name: 'version', description: 'Get version information about the Harvest MCP server.', inputSchema: { type: 'object', properties: {} } },
  • src/index.ts:69-73 (registration)
    Registration of the 'version' tool (along with others) for tool listing via the ListToolsRequestSchema handler, which returns the tools array containing the version tool schema.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools: tools, }; });
  • The supporting getVersion() method in HarvestClient that formats and returns detailed version information as JSON string, called by the version tool handler.
    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); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/standardbeagle/harvest-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server