]>
Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
refactor(mcp): split MCP definitions by spec concern — Resources, Tools, ToolSchemas
Rename MCPResourceHandlers.ts to MCPResources.ts (contains only MCP
Resources: station-list, station-by-id, template-list, OCPP schemas).
Extract log tools (readCombinedLog, readErrorLog) and their helpers
(getLogFilePath, tailFile) into MCPTools.ts (MCP Tools per spec).
MCPToolSchemas.ts unchanged (tool schema definitions).
Directory now reflects MCP spec separation of concerns:
- MCPResources.ts — MCP Resources (spec §Resources)
- MCPTools.ts — MCP Tools with custom logic (spec §Tools)
- MCPToolSchemas.ts — Tool schema definitions for OCPP commands