MuseCapabilityNotGrantedError
A session open asked for something the host did not grant on this connection: today, per-session MCP servers (config["mcpServers"]) without the sessionMcp capability. Refused before anything is sent; the client stays usable, and an open without that request still goes through.
Class in muse_code
Constructor
Section titled “Constructor”MuseCapabilityNotGrantedError(capability: str, method: str, reason: str)
Constructor parameters
Section titled “Constructor parameters”| Name | Type | Description |
|---|---|---|
capability |
The capability the request needs. | |
method |
The wire method that was refused. | |
reason |
Why the grant is missing. |
Source
clients/sdk-py/src/muse_code/errors.py:141