Getting Started
Learn how to use MCP Shell
Getting Started
This guide will help you get started with MCP Shell after installation.
Basic Usage
Check that MCP Shell is installed correctly:
|
|
View the current version:
|
|
Running MCP Shell
Start the MCP server:
|
|
Configuration
MCP Shell supports hierarchical configuration:
- Command Line Flags:
--log-level debug
- Environment Variables:
MCP_SHELL_LOG_LEVEL=debug
- Configuration Files: YAML format
- Default Values: Built-in defaults
Configuration File
Create a configuration file at ~/.config/mcp-shell/config.yaml
:
|
|
Environment Variables
Set environment variables with the MCP_SHELL_
prefix:
|
|
Examples
Basic Server
Start a basic MCP server:
|
|
Custom Configuration
Use a custom configuration file:
|
|
Debug Mode
Run with verbose logging:
|
|
Security Considerations
- MCP Shell follows security best practices
- Commands are executed with appropriate sandboxing
- Regular vulnerability scanning is performed
- Review configuration carefully in production environments
Troubleshooting
Common Issues
- Permission Denied: Ensure MCP Shell has appropriate permissions
- Configuration Not Found: Check file paths and permissions
- Port Already in Use: Specify a different port in configuration
Getting Help
- Check the logs with
--log-level debug
- Review the configuration documentation
- Report issues on GitHub
Next Steps
- Configuration: Learn about advanced configuration options
- Development: Contribute to MCP Shell development
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.