Are you the author? Sign in to claim
sway-mcp
A Model Context Protocol (MCP) server that exposes Sway window manager commands as native tools for Claude Code.
This server wraps swaymsg and exposes all Sway functionality as structured tools that Claude can use directly, just like the claude-in-chrome extension for the browser.
Tools available:
sway_command - Execute any swaymsg command with full flexibilitysway_get_tree - Get the complete window treesway_get_workspaces - List all workspacessway_get_outputs - List all displayssway_get_marks - Get all bookmarkssway_get_version - Get Sway versionsway_get_inputs - List input devicessway_get_config - Get confignpm install
npm run build
Or with Bun:
bun install
bun run build
npm start
Or with Bun:
bun run start
Add to ~/.claude/settings.json:
{
"mcpServers": {
"sway": {
"command": "node",
"args": ["/path/to/sway-mcp/dist/index.js"]
}
}
}
Or with Bun:
{
"mcpServers": {
"sway": {
"command": "bun",
"args": ["/path/to/sway-mcp/dist/index.js"]
}
}
}
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
Google's universal MCP server supporting PostgreSQL, MySQL, MongoDB, Redis, and 10+ databases
Official GitHub integration for repos, issues, PRs, and CI/CD workflows