Bug Fix
Fixed missing headers parameter in the add_server tool when using the stdio transport (server-stdio.ts).
PR #2 added headers support to server.ts but the stdio entry point was not updated, meaning custom headers could not be passed when adding MCP servers via stdio transport.
Changes
- Add
headersto inputSchema inserver-stdio.ts - Pass headers to
sessionManager.addServer()