Skip to main content
Glama

get_version

Retrieve the current version of the Apple Doc MCP server to verify compatibility and access Apple Developer Documentation features.

Instructions

Get the current version information of the Apple Doc MCP server

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Implementation of the handler for the 'get_version' tool. The buildVersionHandler returns an async function that reads package.json at module load time and returns formatted version information as a text content block.
    export const buildVersionHandler = () => async () => ({ content: [ { type: 'text' as const, text: `Apple Doc MCP Server Version Information: πŸ“¦ Package Version: ${packageJson.version} 🏷️ Server Name: ${packageJson.name} πŸ“ Description: ${packageJson.description} πŸ‘€ Author: ${packageJson.author} πŸ”— Repository: ${packageJson.repository?.url ?? 'N/A'} The server version now dynamically reads from package.json instead of being hardcoded.`, }, ], });
  • Registration of the 'get_version' tool in the toolDefinitions array, including its description, empty input schema, and reference to the handler.
    { name: 'get_version', description: 'Get the current version information of the Apple Doc MCP server', inputSchema: { type: 'object', required: [], properties: {}, }, handler: buildVersionHandler(), },
  • Input schema for the 'get_version' tool, which requires no parameters (empty object).
    inputSchema: { type: 'object', required: [], properties: {}, },

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/MightyDillah/apple-doc-mcp'

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