Skip to content

feat(acp): support /mcp slash command in ACP mode#395

Merged
theahura merged 2 commits intomainfrom
auto/support-mcp-commands-in-cli-20260326-033820
Mar 26, 2026
Merged

feat(acp): support /mcp slash command in ACP mode#395
theahura merged 2 commits intomainfrom
auto/support-mcp-commands-in-cli-20260326-033820

Conversation

@theahura
Copy link
Copy Markdown
Contributor

Summary

🤖 Generated with Nori

  • Implements Op::ListMcpTools in the ACP backend — previously this was unsupported, causing /mcp to silently fail when MCP servers were configured
  • Threads MCP server config and OAuth credentials store mode through AcpBackendConfig into AcpBackend, computes auth statuses locally via compute_auth_statuses()
  • Fixes TUI rendering to show server config details (command/URL, auth status) even when individual tool names are unavailable (e.g., ACP mode where upstream agent manages MCP connections)

Test Plan

  • E2E test: /mcp with configured servers shows server name, header, and command
  • E2E test: /mcp with no servers shows "No MCP servers configured"
  • All existing ACP backend tests pass
  • All existing TUI tests pass
  • Full E2E test suite passes
  • Clippy clean for codex-acp and nori-tui

Share Nori with your team: https://www.npmjs.com/package/nori-skillsets

theahura and others added 2 commits March 26, 2026 00:44
Previously Op::ListMcpTools was unsupported in the ACP backend, causing
/mcp to silently fail when MCP servers were configured. This adds
handling by threading mcp_servers config through AcpBackendConfig,
computing auth statuses locally, and returning McpListToolsResponseEvent
with server details. Also fixes the TUI rendering to show server config
even when individual tool names are unavailable (as in ACP mode where
the upstream agent manages MCP connections).
🤖 Generated with [Nori](https://noriagentic.com)

Co-Authored-By: Nori <contact@tilework.tech>
@theahura theahura merged commit 13554f3 into main Mar 26, 2026
3 checks passed
@theahura theahura deleted the auto/support-mcp-commands-in-cli-20260326-033820 branch March 26, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant