Skip to main content
Glama

current_technology

Check which Apple technology is currently selected in the Apple Doc MCP server and learn how to switch to different frameworks or APIs for documentation access.

Instructions

Report the currently selected technology and how to change it

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Builds and returns the handler function for the 'current_technology' tool. It checks for an active technology and returns formatted information about it, including name, identifier, and next action suggestions. If no technology is active, it delegates to a no-technology message.
    export const buildCurrentTechnologyHandler = (context: ServerContext) => { const noTechnology = buildNoTechnologyMessage(context); return async (): Promise<ToolResponse> => { const active = context.state.getActiveTechnology(); if (!active) { return noTechnology(); } const lines = [ header(1, 'πŸ“˜ Current Technology'), '', bold('Name', active.title), bold('Identifier', active.identifier), '', header(2, 'Next actions'), 'β€’ `search_symbols { "query": "keyword" }` to find symbols', 'β€’ `get_documentation { "path": "SymbolName" }` to open docs', 'β€’ `choose_technology "Another Framework"` to switch', ]; return { content: [{text: lines.join('\n'), type: 'text'}], }; }; };
  • Registers the 'current_technology' tool in the tool definitions array, specifying its name, description, empty input schema, and the built handler.
    name: 'current_technology', description: 'Report the currently selected technology and how to change it', inputSchema: { type: 'object', required: [], properties: {}, }, handler: buildCurrentTechnologyHandler(context), },

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