@siva-sub/mcp-public-transport
Version:
A Model Context Protocol server for Singapore transport data with real-time information and routing
11 lines (10 loc) • 403 B
TypeScript
import { BaseTool, ToolDefinition } from '../base.js';
import { LTAService } from '../../services/lta.js';
export declare class BusArrivalTool extends BaseTool {
private ltaService;
constructor(ltaService: LTAService);
getDefinitions(): ToolDefinition[];
canHandle(toolName: string): boolean;
execute(toolName: string, args: unknown): Promise<any>;
private formatUserFriendly;
}