1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//! Core types, traits, and errors for MCP Code Execution.
//!
//! This crate provides the foundational types and abstractions used across
//! all other crates in the MCP execution workspace.
//!
//! # Architecture
//!
//! The core consists of:
//! - Strong domain types (`ServerId`, `ToolName`)
//! - Error hierarchy with contextual information
//! - Server configuration with security validation
//! - Command validation utilities
//!
//! # Examples
//!
//! ```
//! use mcp_execution_core::{ServerConfig, ServerId};
//!
//! // Create a server configuration
//! let config = ServerConfig::builder()
//! .command("docker".to_string())
//! .arg("run".to_string())
//! .env("LOG_LEVEL".to_string(), "debug".to_string())
//! .build();
//!
//! // Server ID
//! let server_id = ServerId::new("github");
//! ```
// Re-export error types
pub use ;
// Re-export domain types
pub use ;
// Re-export server configuration types
pub use ;
// Re-export command validation
pub use validate_server_config;