#8961·multica

[Bug]: pi runtime never receives MCP servers (mcp_config is not wired)

Author: CloudHumanCreated Sep 29, 2026Updated Sep 29, 2026

Environment

  • Deployment: self-host
  • Area: Agents and runtimes (pi)

What happens

Agents on the pi runtime get no MCP servers at all — neither workspace MCP servers nor plugin agent-trigger hooks (the synthesized multica-plugins server). Their transcripts show only bash/write/read.

Evidence

  • server/pkg/agent/pi.go and pi_invocation.go contain zero references to McpConfig/mcpServers (compare kimi.go, which wires buildACPMcpServers into session/new + session/resume and gates http/sse on advertised capabilities)
  • The daemon log shows mcp_config=true on the invoke, yet the OpenViking server records no connection attempt from the task
  • Same workspace, same task shape: an OpenCode agent receives and calls the identical tools fine

Expected

mcp_config (workspace servers + plugin hook tools) delivered to pi sessions, or an explicit capability marker that pi MCP is unsupported so the UI can say so.

Workaround in use

Agents improvise via shell (curl against sidecar HTTP APIs), which works but is exactly what structured MCP delivery should avoid.