v1.0.2
Fixed
- HTTP transport accepts multiple clients / reconnects —
startHttpTransportnow builds a freshMcpServerand statelessStreamableHTTPServerTransportper/mcprequest. Previously a single module-scope server was reused for every request, so any client after the first was rejected with-32600 "Invalid Request: Server already initialized", breaking reconnects and multi-client deployments. Verified end-to-end against a live FortiManager 7.6.6 with multiple sequentialopencode(deepseek) sessions. (#13, #14) — thanks @AndreADV77 for the report and fix proposal.
Full Changelog: https://github.com/jmpijll/fortimanager-code-mode-mcp/compare/...
Note: This server requires locally-generated API spec files. See README for setup instructions.