Skip to content

Commit fd0b024

Browse files
committed
feat(mcp): add MCP Registry Browser for discovering and installing MCP servers
This implements a comprehensive MCP Registry Browser that allows users to: - Browse 50+ pre-configured MCP servers from an embedded registry - Search servers by name, description, ID, and tags - Filter servers by category (Development, Database, Security, etc.) - Install servers with a single command (/mcp-registry --install <id>) - Preview installation configuration before applying changes - Manage environment variable requirements New components: - cortex-mcp-client/src/registry/data.rs: Registry data structures - cortex-mcp-client/src/registry/browser.rs: Interactive browser logic - cortex-mcp-client/src/registry/installer.rs: Server installation logic - cortex-mcp-client/src/registry/registry.json: 50+ MCP server entries CLI command: /mcp-registry [search] [--category <cat>] [--install <id>] [--list] Closes: AGENT_8_MCP_REGISTRY task
1 parent 8008824 commit fd0b024

11 files changed

Lines changed: 2316 additions & 0 deletions

File tree

Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cortex-mcp-client/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,7 @@ anyhow = { workspace = true }
2323
tracing = { workspace = true }
2424
async-trait = { workspace = true }
2525
url = { workspace = true }
26+
dirs = { workspace = true }
27+
28+
[dev-dependencies]
29+
tempfile = { workspace = true }

cortex-mcp-client/src/lib.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
//! MCP Client implementation for Cortex
2+
//!
3+
//! This crate provides:
4+
//! - MCP client for connecting to MCP servers
5+
//! - Transport layer implementations (stdio, HTTP)
6+
//! - Tool discovery and execution
7+
//! - Registry browser for discovering and installing MCP servers
28
39
pub mod client;
410
pub mod discovery;
11+
pub mod registry;
512
pub mod transport;
613

714
pub use client::McpClient;
815
pub use discovery::ToolDiscovery;
16+
pub use registry::{McpCategory, McpInstaller, McpRegistry, McpRegistryBrowser, McpServerEntry};
917
pub use transport::Transport;

0 commit comments

Comments
 (0)