huzhongx
huzhongx
## Bug Description Skill files loaded via symlink from the global skills directory (`/root/.hermes/skills/`) trigger a false "outside the trusted skills directory" security warning. ## Steps to Reproduce 1. Configure...
## Bug Some OAuth token endpoints (notably GitHub's `/login/oauth/access_token`) return `application/x-www-form-urlencoded` bodies when the client doesn't send `Accept: application/json`. The MCP SDK's token response parser calls `OAuthToken.model_validate_json()` which fails on...
## Bug `_wait_for_callback()` creates a new `HTTPServer` + `handle_request()` on every OAuth flow. After the first flow completes, the listening socket stays in `CLOSE_WAIT`/`TIME_WAIT`. The next flow's `bind()` raises `OSError:...
## Bug `tools/mcp_oauth.py` stores `_oauth_port` and `_oauth_server_name` as **module-level globals** shared by all OAuth providers. When multiple MCP servers (e.g. Notion + GitHub) run OAuth concurrently, the later call overwrites...
## Bug Description When an MCP tool returns `isError: true` with a JSON body (e.g. `{"ok":false,"error":{"code":"hiring_tool_failed","message":"请选择省份","recoverable":true}}`), the handler wraps the entire JSON string as the error value, producing double-encoded JSON:...
## Bug Description The MCP circuit breaker in `_make_tool_handler` (`tools/mcp_tool.py`) increments the error counter for **any** tool result that contains an `"error"` key in the JSON response, including business-logic errors...
## Summary When adding a stdio MCP server with multiple environment variables via repeated `--env` flags, only the last one survives — earlier values are silently dropped. The user has...