protocol
MCP Server
MCP Server
Connect your own MCP-compatible server (GitHub MCP, Linear MCP, or any server following the Model Context Protocol). Tools exposed by connected servers become available to the Polylane thread agent automatically.
连接
从终端连接MCP Server。传入--help查看MCP Server接受的标志。
Terminal
polylane integration connect --type mcp任何Model Context Protocol服务器的HTTPS端点。
连接任何兼容MCP的外部服务器(GitHub MCP、Linear MCP或你自己的)。该服务器暴露的工具会自动对Polylane线程智能体可用。
设置
- 输入服务器URL:你的MCP服务器的HTTPS端点。私有、回环和云元数据地址会被阻止。
- 选择传输方式:Streamable HTTP(推荐)或SSE(旧版)。
- 给它一个显示名称(从服务器自动填充)。
- 选择身份验证:
- None用于公开服务器
- Bearer token,以
Authorization: Bearer <token>发送 - OAuth 2.0,可选权限范围,会重定向你去授权
- Polylane发现该服务器的工具。点击Connect完成。
Bearer令牌在存储前加密,智能体永远看不到它们。
断开连接
在Polylane中断开该MCP服务器。它的工具会立即从智能体中移除。
断开连接
断开连接会停止所有同步和检查,并删除Polylane持有的凭据。 Polylane在MCP Server中设置的一切也会被移除;不会留下任何东西。
Terminal
polylane integration disconnect <id>