You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: add per-session MCP server support for REST API (parity with ACP) #7004
Activity
github-actions commentedon Jan 5, 2026
This issue might be a duplicate of existing issues. Please check:
servedeployments #5784: [FEATURE]: MCP auth configuration for multi-tenantservedeployments - addresses per-session MCP configuration via REST API for multi-tenant deploymentsFeel free to ignore if none of these address your specific case.
geosmart commentedon Mar 12, 2026
so When will OpenCode add support for per-session MCP servers?
This is a important feature in production environment
geosmart commentedon Mar 12, 2026
Does the acp-sdk support passing mcpServers in the session: ACP#Session Setup, NewSessionRequest
In the source code opencode-agent.ts, the newSession function has a defined mcpServers parameter:agent.ts-mcpServers @haoqixu
But during the actual chat conversation process, are the mcpServers defined in the session state not being used?
I test in this way
does opencode support for per-session MCP servers?
geosmart commentedon Mar 12, 2026
in opencoder server rest api
there is no mcpServers in Session.create.schema
github-actions commentedon May 12, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.