feat: support legacy SSE MCP servers (#117)
This commit is contained in:
1 parent
71fa919599
commit
1a388e3e9e
8 files changed
+386
-21
No files matched your search
@@ -292,7 +292,7 @@ func (a mcpToolInput) toDB() *db.MCPServer {
|
||||
}
|
||||
|
||||
func (s *Server) toolCreateMCP() actool.CoreTool {
|
||||
return wrTool("create_mcp", "创建一个 MCP 服务器(stdio/http)。创建后其工具需按 agent 可见性授权。",
|
||||
return wrTool("create_mcp", "创建一个 MCP 服务器(stdio/http/sse)。创建后其工具需按 agent 可见性授权。",
|
||||
mcpSchema(false),
|
||||
func(_ context.Context, in json.RawMessage) (actool.Result, error) {
|
||||
var a mcpToolInput
|
||||
|
||||
Reference in new issue
Block a user