MCP Lifecycle CLI
Commands for managing MCP (Model Context Protocol) connections and lifecycle.Commands
Start MCP Server
Start an MCP server for testing:Test MCP Connection
Test connectivity to an MCP server:List MCP Tools
List available tools from an MCP server:Using MCP with Agents
Basic Usage
Multiple MCP Servers
With Environment Variables
Connection Types
Stdio (Command)
SSE URL
HTTP Stream
WebSocket
Lifecycle Management
Automatic Cleanup
The CLI automatically handles cleanup:Timeout Configuration
Set connection timeout:Debugging
Verbose Mode
Enable verbose output for debugging:Check MCP Status
Environment Variables
| Variable | Description |
|---|---|
MCP_TIMEOUT | Default timeout in seconds |
MCP_DEBUG | Enable debug logging |

