Sway MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Sway MCP
A Model Context Protocol (MCP) server that exposes Sway window manager commands as native tools for Claude Code.
What it does
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 config
Related MCP server: purplemux-mcp
Building
npm install
npm run buildOr with Bun:
bun install
bun run buildRunning
npm startOr with Bun:
bun run startRegistration with Claude Code
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"]
}
}
}Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Lets Claude, ChatGPT and other AI chats work on your Linux computers: terminal, files and browser.
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Source-checked CLI guides and model-aware planning for Claude Code, Codex, and Grok Build.
Let ChatGPT and Claude read and edit files, search and run commands on your own computer.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables Claude to control tmux sessions, manage windows and panes, and search/extract text from terminal output.2MIT
- AlicenseAqualityDmaintenanceControls local purplemux (tmux + LLM workspace manager) from Claude Code/Codex, enabling cross-LLM orchestration by managing workspaces, tabs, terminals, and Electron browser via 16 tools.23MIT
- FlicenseAqualityBmaintenanceAn MCP server that lets Claude control Hyprland through hyprctl, providing tools for windows, workspaces, monitors, config, keybinds, notifications, screenshots, app launcher, tags, groups, cursor, blue light filter, wallpaper, and raw hyprctl access.48-
- AlicenseAqualityBmaintenanceEnables querying and controlling the i3 (or Sway) window manager through natural language, offering tools for window management, workspace operations, and session configuration.13MIT