Sway MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Sway MCPswitch to workspace 3"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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: TmuxControlLib MCP Server
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"]
}
}
}This server cannot be deployed
Maintenance
Related MCP Connectors
Source-checked CLI guides and model-aware planning for Claude Code, Codex, and Grok Build.
Deploy sims to any screen. Control your displays with Claude.
- SimSenseOAuthai.simsense
Deploy sims to any screen. Control your displays with Claude.
Use your own Mac from ChatGPT, Claude or Codex: files, commands, documents, and a browser.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables Claude to execute commands and manage directory-aware panes within tmux sessions for a shared terminal experience. It features smart output capture, interactive prompt detection, and background task management.2-
- AlicenseNot gradedqualityDmaintenanceEnables Claude to control tmux sessions, manage windows and panes, and search/extract text from terminal output.2MIT
- FlicenseAqualityDmaintenanceGives Claude Code full control over tmux sessions, windows, and panes, with an optional Sonnet-based safety classifier for destructive commands.11-
- AlicenseAqualityBmaintenanceControls 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