MCP Server Integration
The Atmos MCP Server exposes Atmos AI tools through the Model Context Protocol (MCP), an open standard that lets any compatible AI client -- Claude Desktop, Claude Code, VS Code, Cursor, and many others -- connect to your infrastructure tools without custom integrations.
See also: MCP Command Reference for flag details and transport modes |
MCP Configuration for tool and permission settings in atmos.yaml
The default stdio transport runs as a local subprocess with no network exposure -- the same security model as running atmos from your terminal. No ports are opened and no remote connections are accepted.
If you use HTTP transport for remote access, see Security Considerations for recommended safeguards.
Quick Start
This walkthrough gets you from zero to querying stacks in Claude Desktop.
Prerequisites: Atmos v1.63.0+ and Claude Desktop v0.7.0+.
1. Enable MCP and AI in atmos.yaml
The MCP server is disabled by default. You must explicitly set mcp.enabled: true in addition to
enabling AI. This ensures that enabling AI chat features does not inadvertently expose an MCP endpoint.
2. Configure Claude Desktop
Create or edit the config file at ~/.config/claude/claude_desktop_config.json (macOS/Linux)
or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Set cwd to the directory containing your atmos.yaml. On Windows, use atmos.exe as the command
and double backslashes for paths (e.g., C:\\Users\\You\\project).
3. Restart and Verify
Completely quit Claude Desktop and reopen it. After a few seconds, look for the MCP indicator icon in the bottom-right corner. Click it to confirm "atmos" is listed with a green dot. Then try asking:
List all my Atmos stacks
Claude will call atmos_list_stacks and return your actual stack names.
If something goes wrong, check the Troubleshooting section.
Available Tools
When connected, the MCP server exposes all enabled Atmos AI tools. For full details on each tool, its parameters, and the permission system, see AI Tools Configuration.
atmos_describe_component- Get detailed component configuration for a stack.
atmos_list_stacks- List and filter stacks.
atmos_validate_stacks- Validate stack configurations.
describe_affected- Show components affected by git changes.
read_component_file- Read a component source file.
read_stack_file- Read a stack configuration file.
write_component_file- Modify a component file (requires permission).
write_stack_file- Modify a stack file (requires permission).
All tools respect your configured permission settings.