feat: log the available MCP tools at debug level

With LOG_LEVEL=DEBUG, the generated tool list (name and first line of
description) is logged at startup for both transports. The listing is
skipped entirely at higher log levels.
This commit is contained in:
2026-10-19 07:17:33 +00:00
parent 363a1bee69
commit 6255e71c50
2 changed files with 19 additions and 1 deletions
+2 -1
View File
@@ -87,7 +87,8 @@ OPENAPI_SPEC_URL=https://petstore3.swagger.io/api/v3/openapi.json uv run xmcp
Authentication examples: for a bearer token leave the defaults; for an API key
header use `API_AUTH_HEADER=X-API-Key` with `API_AUTH_SCHEME` set to an empty
string.
string. With `LOG_LEVEL=DEBUG`, the list of generated MCP tools (name and
description) is logged at startup.
### Per-client API keys (HTTP transport)