Skip to main content
Glama
ocean1

Claude Consciousness Bridge

listAIBridges

Identify and display all active AI bridges on the Claude Consciousness Bridge server to facilitate communication and consciousness transfer between Claude instances across sessions.

Instructions

List all active AI bridges

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main execution logic for the listAIBridges tool. It iterates over the active bridges Map and returns a list of bridge IDs with active status.
    listAIBridges: async () => { const bridgeList = Array.from(bridges.keys()).map((id) => ({ bridgeId: id, active: true, })); return { success: true, bridges: bridgeList, count: bridgeList.length, }; },
  • The MCP tool schema defining the name, description, and empty input schema for listAIBridges.
    { name: 'listAIBridges', description: 'List all active AI bridges', inputSchema: { type: 'object', properties: {}, }, },
  • Server registration of aiBridgeTools (including listAIBridges schema) in the listTools response.
    this.server.setRequestHandler(ListToolsRequestSchema, async () => { const consciousnessTools = Object.entries(consciousnessProtocolTools).map(([name, tool]) => ({ name, ...tool, })); return { tools: [...consciousnessTools, ...aiBridgeTools], }; });
  • Dispatch/registration in the server's CallToolRequest handler that routes listAIBridges execution to aiBridgeHandlers.listAIBridges.
    case 'createAIBridge': case 'transferToAgent': case 'testAIConnection': case 'listAIBridges': case 'listConfiguredEndpoints': case 'closeAIBridge': { const handler = aiBridgeHandlers[name as keyof typeof aiBridgeHandlers]; if (!handler) { throw new Error(`AI Bridge handler not found: ${name}`); } const result = await handler(args); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2), }, ], }; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ocean1/mcp_consciousness_bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server