agent-zero icon indicating copy to clipboard operation
agent-zero copied to clipboard

Using Agent-Zero instance via MCP ?

Open erendevrimci opened this issue 7 months ago • 3 comments

Is there a way to use Agent-Zero instances as MCP tools from a main instance by giving them other names. In the main instance's MCP Servers Configuration JSON, I tried like this and couldn't manage:

" { "mcpServers": { "agent-zero-1": { "type": "sse", "serverUrl": "http://localhost:55001/mcp/t-0/sse" }, "agent-zero-2": { "type": "sse", "serverUrl": "http://localhost:55002/mcp/t-0/sse" } } } "


A0 MCP Server was enable for both 1 and 2. they were all running.

Can anybody explain why it would not work?

erendevrimci avatar Jun 21 '25 20:06 erendevrimci

For me it works, can u tell ur install steps and share the logs.

netixc avatar Jun 23 '25 07:06 netixc

For me it works, can u tell ur install steps and share the logs.

I am actually doing exactly like Jan explains in MCP video. when I copy and paste the connection example to windsurf it works. but when I try to add it to an agent-zero instance mcp config it just says "Failed to initialize. httpx.ConnectError: All connection attempts failed"

erendevrimci avatar Jun 26 '25 01:06 erendevrimci

u can setup NGINX as a reverse proxy that's what I did, I think the problem is that a0 runs on http but the mcp instance is https, if u make ur a0 accesable on https it should fix the problem.

or u can try instead of https try http

netixc avatar Jun 26 '25 11:06 netixc