๐ก What is MCP?
The Model Context Protocol (MCP) is an open standard that enables AI assistants to interact with external tools and data sources.
Our MCP server allows AI assistants like GitHub Copilot in VS Code and others to help you create and manage Oh My Posh configurations through natural language conversations.
Example:
"Create me a developer prompt with git and Python info"
โ AI generates a complete Oh My Posh configuration with appropriate segments, colors, and templates!
๐ฏ Key Features
- Natural language configuration generation
- Smart segment defaults and colors
- Multi-format export (JSON/YAML/TOML)
- Configuration validation with detailed errors
- Official documentation search integration
- Access to 103+ segments across 8 categories
- Sample and community configuration templates
๐ ๏ธ Available Tools
The MCP server provides 11 powerful tools for configuration management:
create_configuration
Generate configs from natural language descriptions
add_segment
Add segments with smart defaults
modify_configuration
Edit existing configurations
validate_configuration
Check config validity with detailed errors
export_configuration
Convert between JSON/YAML/TOML formats
list_segments
Browse all 103+ available segments
get_segment_info
Get detailed segment documentation
list_sample_configs
View pre-built sample configurations
load_sample_config
Load specific sample configurations
search_ohmyposh_docs
Search official Oh My Posh documentation
get_ohmyposh_segment_docs
Get official segment documentation with examples
๐ฌ Example Requests
Try these natural language requests with your AI assistant:
- "Create a developer prompt with git and Python"
- "Add caching to all language segments"
- "Apply the Dracula color theme to my config"
- "Validate my Oh My Posh configuration"
- "Search docs for powerline symbols"
- "Help me optimize my slow prompt"
- "Export my configuration as YAML"
๐ Resources
The MCP server provides access to comprehensive data resources:
Segment Categories
- System: Path, OS, Shell, Battery, Time, Execution Time
- SCM: Git, Mercurial, SVN, Fossil, Plastic SCM
- Languages: Node.js, Python, Go, Rust, Java, .NET, PHP, Ruby, and 20+ more
- Cloud: AWS, Azure, GCP, Kubernetes, Docker, Terraform
- CLI: NPM, Yarn, PNPM, Angular, React, Flutter
- Web: IP Address, Weather, HTTP requests
- Music: Spotify, YouTube Music, Last.fm
- Health: Nightscout, Strava, Withings