Skip to content

feat: support mcp servers#163

Merged
codito merged 3 commits intomasterfrom
mcp
Apr 14, 2026
Merged

feat: support mcp servers#163
codito merged 3 commits intomasterfrom
mcp

Conversation

@codito
Copy link
Copy Markdown
Owner

@codito codito commented Apr 13, 2026

No description provided.

codito added 2 commits April 13, 2026 14:02
Add a new `arey-mcp` crate for MCP functionality with:

- McpRegistry: Manages MCP servers at runtime
- McpClient: Client for connecting to MCP servers via stdio
- Config types: McpConfig, McpServerConfig, McpServerStatus
- Mock tools for testing (test_utils feature)

CLI changes:
- Add /mcp command to list, enable, disable, stop MCP servers
- Simplify cli/mod.rs: instantiate McpRegistry from Config
- Add with_mcp_registry() builder method to Chat

Testing:
- Add 56+ tests with parameterized tests using yare::parameterized
- Add mock MCP tools for in-proc testing
- Add tests for prefix stripping, config parsing, registry operations

Config:
- Add mcp field to Config struct in arey-core
- Add MCP configuration example to config.yml

BREAKING CHANGE: Chat::with_mcp() renamed to with_mcp_registry()
@codito codito enabled auto-merge (squash) April 13, 2026 17:44
@codito codito merged commit fc390d1 into master Apr 14, 2026
11 checks passed
@codito codito deleted the mcp branch April 14, 2026 00:31
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