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端點。私有、loopback與雲端中繼資料位址會被封鎖。
- 選擇傳輸方式: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>