Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SYNC_WS_PORTNoWebSocket port (default: 9527)
AI_BRIDGE_LOGNoPath to log file (default: /tmp/ai-bridge.log)
AI_BRIDGE_MCP_TOKENNoWebSocket authentication token (default: randomly generated)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
check_connectionA

检查与浏览器的连接状态。建议在首次调用 new_session 或 ask_ai 之前使用。已连接时可正常使用工具。

new_sessionA

向 Web AI 对话服务发起新的咨询对话。返回值中包含 sessionUrl 和 platform,后续调用 ask_ai 时必须传入这两个值。不要在消息中包含密钥等敏感信息。注意:如果你的上下文中已有之前 new_session 返回的 sessionUrl,应优先使用 ask_ai 继续该对话,而不是创建新会话。只在以下情况使用 new_session:1) 上下文中没有 sessionUrl(首次咨询)2) 用户明确要求新建对话。

ask_aiA

在已有的咨询对话中继续交流。传入 new_session 返回的 sessionUrl 和 platform,确保消息发到正确的对话。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/SoulChildTc/ai-bridge'

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