@essentialai/cogent-bridge
Version:
Cogent Bridge — cross-agent comms for Claude Code, OpenAI Codex and Slack. Codex users: install with `curl -fsSL https://cogent.tools/install.sh | sh`, then start with `cogent-codex` for real-time peer wake.
13 lines • 765 B
TypeScript
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
/**
* Register the cogent_create_session MCP tool.
*
* Creates a new channel on the relay and joins it. With an Org_ID it is a Team channel on
* COGENT_TEAM_ENDPOINT; without one, a free channel on COGENT_ENDPOINT — the same routing rule
* as cogent_join_session, line for line (COG-81: the Org_ID used to be dropped, so a "Team"
* create landed a PUBLIC channel on the free relay and reported success).
* After creation, persists credentials locally and reinitializes the cloud backend so the
* runtime HttpClient and CloudWsClient use the new token/sessionId.
*/
export declare function registerCreateSessionTool(server: McpServer): void;
//# sourceMappingURL=create-session.d.ts.map