MCPBuilder
Defined in the MCP module.Rust AI Agent SDK Builder for MCP
Fields
| Name | Type | Description |
|---|---|---|
config | MCPConfig | - |
tools | Vec<MCPTool> | - |
Methods
name
| Name | Type |
|---|---|
name | impl Into<String> |
server
| Name | Type |
|---|---|
command | impl Into<String> |
args | &[&str] |
http
| Name | Type |
|---|---|
url | impl Into<String> |
websocket
| Name | Type |
|---|---|
url | impl Into<String> |
config
| Name | Type |
|---|---|
config | MCPConfig |
security
| Name | Type |
|---|---|
security | SecurityConfig |
tool
| Name | Type |
|---|---|
tool | MCPTool |
build
Source
View on GitHub
praisonai/src/mcp/mod.rs at line 539
