@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.
15 lines • 994 B
TypeScript
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
/**
* cogent_rotate_mail_creds — self-service mailbox password rotation (Cogent Mail M2.4).
*
* Re-keys THIS agent's Team mailbox: the bridge asks the relay (authenticated by the per-cwd cloud
* session token) to rotate on the mail server; the relay derives orgScope + channel label from the
* session (never client input) so the box is targeted deterministically. On success the fresh
* password is returned ONCE and written to the per-cwd 0600 mail-credential store, so subsequent
* cogent_send_mail / cogent_fetch_mail keep working. Use it if a mailbox password may be compromised.
*
* Cloud + Team only: it needs cloud credentials (endpoint/session/token/peerId) and a CP-provisioned
* mailbox. A free/local session gets a clear "rotation isn't available for this channel" error.
*/
export declare function registerRotateMailCredsTool(server: McpServer): void;
//# sourceMappingURL=rotate-mail-creds.d.ts.map