Expand description
Is the bazaar (context) MCP server registered for the agent, with the OAuth client it needs?
The entry is found by its URL, not its name: bazaar’s own guide registers
it as visdom, other notes as bazaar. Whether the user is signed in is
not checked — the tokens live in the agent’s own store.
Constants§
- BAZAAR_
CLIENT_ ID - The pre-registered OAuth client of the bazaar MCP endpoint. Without it the agent tries Dynamic Client Registration, which the realm refuses.
- BAZAAR_
SERVER_ NAME - The name a new registration gets.
Functions§
- check
- is_
http_ url - Whether
rawis an absolute http(s) URL — which also means it cannot be mistaken for an option by the command it is handed to. - resolve_
bazaar_ url - The bazaar MCP endpoint:
VISDOM_BAZAAR_URL, then the user config, then what the tracing server publishes (suite).Ok(None)when none of them knows it;Errwith the reason when the server could not be asked. - same_
bazaar - Whether two URLs name the same bazaar developer endpoint: same scheme, host
and port, and each path one of
/mcp/remoteand its alias/mcp.