Skip to content
Developer Preview

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.

Property Type Stability Presence Description
capability string required The capability the request needs.
method string required The wire method that was refused.
Method Signature Stability Description
constructor new MuseCapabilityNotGrantedError(capability: string, method: string, reason: string)
Source

clients/sdk-ts/src/errors.ts:151

{
"kind": "Class",
"canonicalPath": "MuseCapabilityNotGrantedError"
}