UNPKG

endfield-mcp

Version:

MCP Server for Arknights: Endfield (TypeScript / stdio + Streamable HTTP)

18 lines (17 loc) • 645 B
#!/usr/bin/env bun /** * Endfield-MCP server entry point. * * Creates the McpServer instance, binds the wiki client to the loaded * config, registers tools, then dispatches to the transport selected by * EF_TRANSPORT: * * stdio (default) — for local Claude Desktop / Claude Code / Chatbox * http — stateless Streamable HTTP via Bun.serve (remote use) * * One TS implementation covers both transports (the historical reason * PRTS-MCP needed a second TS implementation alongside Python — asyncio * friction with Streamable HTTP — does not apply when the runtime is * already Bun/TS end-to-end). */ export {};