Skip to main content
Glama

Chess Analysis Assistant

by turlockmike
MIT License
4
15
  • Apple
  • Linux
list-tools.handler.ts1.08 kB
import { ListToolsRequest } from '@modelcontextprotocol/sdk/types.js'; import { Handler } from './types.js'; import { toolSpec as evaluatePositionToolSpec } from './evaluate-position.handler.js'; import { toolSpec as generateImageToolSpec } from './generate-image.handler.js'; import { toolSpec as playMoveToolSpec } from './play-move.handler.js'; import { toolSpec as mastersLookupToolSpec } from './masters-lookup.handler.js'; export class ListToolsHandler implements Handler<ListToolsRequest> { async handle(): Promise<{ tools: Array<{ name: string; description: string; inputSchema: { type: string; properties: { [key: string]: { type: string; description: string; minimum?: number; maximum?: number; pattern?: string; }; }; required: string[]; }; }>; }> { return { tools: [ evaluatePositionToolSpec, generateImageToolSpec, playMoveToolSpec, mastersLookupToolSpec ], }; } }

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/turlockmike/chess-mcp'

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