about
Get information about the Netmex MCP server, including its purpose and capabilities for building custom AI assistant tools.
Instructions
Returns information about this MCP server
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/about.ts:11-18 (handler)The handler function for the 'about' tool that returns information about the MCP server.handler: async () => ({ content: [ { type: "text", text: "This is the local AI Advisor MCP server (v1.0.0)." } ] })
- src/tools/about.ts:6-10 (schema)The input schema for the 'about' tool, which requires no input parameters.inputSchema: { type: "object", properties: {}, required: [] },
- src/tools/index.ts:1-4 (registration)'aboutTool' is imported and added to the exported 'tools' array.import { aboutTool } from "./about.js"; import { helloTool } from "./hello.js"; export const tools = [aboutTool, helloTool];
- src/server.ts:13-16 (registration)The builtin tools (including 'about') are merged with external tools to form the server's complete tools list.const externalTools: Tool[] = await loadTools(); // Merge built-in and external tools const tools: Tool[] = [...builtinTools, ...externalTools];
- src/server.ts:40-49 (registration)Generic tool dispatch logic in the server that finds the tool by name and invokes its handler.if (method === "tools/call") { const { name, arguments: args = {} } = params || {}; const tool = tools.find(t => t.name === name); if (!tool) { return { error: { code: -32601, message: `Tool not found: ${name}` } }; } return await tool.handler(args); }