MCP007 — The removed logging/setLevel method is still implemented
| Severity | error |
| Fixed by | Upgrading your MCP SDK to a release targeting 2026-07-28 |
| Transports | stdio, http |
| Specification | 2026-07-28 |
| Changelog entry | Major change 5 (SEP-2575) |
Why this changed
Log level was session state, so logging/setLevel went with the session. It
is now set per request via _meta, and servers MUST NOT emit
notifications/message for requests that did not ask for it.
Running just this check
npx mcp-stateless --stdio "node dist/server.js" --only MCP007Suppressing it
If this check does not apply to your server, skip it:
npx mcp-stateless --stdio "node dist/server.js" --skip MCP007Rule ids are permanent and are never reissued, so a suppression cannot start silently matching a different check later.
Generated from src/rules/MCP007.ts by
scripts/gen-rule-docs.mjs. Edit the rule source, not this page.