Onda MCP
Click on "Install 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., "@Onda MCPrun 'npm install' in a new tab"
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.
@mindfullabai/onda-mcp
MCP server to control Onda terminal from AI agents (Claude Code, Cursor, Windsurf, etc.)
31 tools across 7 categories let AI agents split panes, run commands, manage tabs and workspaces, coordinate across multiple windows, and orchestrate multi-agent workflows -- all through the standard Model Context Protocol.
Since v0.2.0 Onda MCP is multi-window aware: agents can discover windows, locate workspaces, address terminals unambiguously (each entry carries windowId + workspaceId + paneId), and launch full Claude/agent sessions in one atomic call with the onda_launch_session macro.
Requirements
Onda terminal running with IPC server active (automatic since v1.6)
Node.js 18+
Related MCP server: cmuxlayer
Quick Start
Claude Code
Add to your project's .mcp.json:
{
"mcpServers": {
"onda": {
"command": "npx",
"args": ["-y", "@mindfullabai/onda-mcp"]
}
}
}Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"onda": {
"command": "npx",
"args": ["-y", "@mindfullabai/onda-mcp"]
}
}
}Cursor / Windsurf
Same MCP config format as above.
Available Tools
Pane Management
Tool | Description |
| Split the active pane. Creates a new terminal beside ( |
| List all panes in the active tab. Returns pane IDs, terminal IDs, and content types. |
| Close a specific pane by ID. If no ID given, closes the active pane. |
| Focus (activate) a specific pane by its ID. |
Terminal Control
Tool | Description |
| Run a command in a specific terminal (sends command + newline). |
| Send raw text to a terminal without appending a newline. Use for interactive input or key sequences. |
| List terminals with |
| Spawn a binary inside an existing pane via |
| Kill a terminal process by ID. |
Tab Management
Tool | Description |
| Create a new tab. Each tab has its own layout of panes. |
| List all tabs with their IDs, titles, active state, and workspace. |
| Close a tab by ID. If no ID given, closes the active tab. |
| Switch to (focus) a specific tab by ID. |
Workspace Management
Tool | Description |
| List workspaces with |
| Create a new workspace. Workspaces group tabs by project. |
| Switch to a workspace by ID. |
| Add a new terminal pane to a workspace (tiled mode). Returns |
| Set the workspace tiling layout: |
| Resolve a workspace by |
Window (multi-window)
Tool | Description |
| List Onda main windows. Each entry: |
| Open a fresh empty main window. Returns |
| Bring a window to the foreground (restore + raise + focus). When |
| Mount a workspace in a specific window. Idempotent; orchestrates an atomic transfer if the workspace is currently owned by another window. Returns |
| Remove a workspace from whichever window currently hosts it. The workspace continues to exist globally — only its on-screen mounting is dropped. Returns |
Macro
Tool | Description |
| Atomic "ensure workspace + mount in target window + add terminal + spawn |
System
Tool | Description |
| Get the Onda context for the current AI agent (paneId, tabId, workspaceId). Call this first. |
| Get current session state: active workspace, tab, pane, and their details. |
| Get Onda app info: version, process ID. |
| Health check -- verify Onda is running and responsive. |
Environment Variables
Variable | Description | Default |
| Path to Onda IPC socket |
|
| Pane ID where agent is running | auto-detected |
| Tab ID where agent is running | auto-detected |
| Workspace ID | auto-detected |
| Set to | auto-detected |
Agent-bus pattern (since v0.2.0)
Typical flow when an agent in window A delegates a task to another agent in workspace X (which may or may not be already mounted somewhere):
// 1. Try a fully-automatic launch
onda_launch_session({
workspace: { name: "brandart-agentic-platform" },
bin: "claude",
prompt: "Scaffold modulo memoria — segui il brief #BAP-2026-05-20 ...",
placement: "ask-user"
})
// → If multiple windows exist, the tool returns without acting:
{
"needsDecision": true,
"reason": "placement: ask-user",
"options": [
{ "placement": "window:w-abc12345", "label": "Window w-abc1234 (current, focused)" },
{ "placement": "window:w-def67890", "label": "Window w-def6789" },
{ "placement": "new-window", "label": "Open in a new window" }
],
"workspace": { "id": "ws-...", "name": "brandart-agentic-platform", "rootPath": "/Users/mario/Projects/06-Brandart/brandart-agentic-platform" }
}
// 2. Host agent shows options to the human, gets choice, re-invokes:
onda_launch_session({ /* same args */, placement: "window:w-abc12345" })
// → { windowId, workspaceId, terminalId, paneId, pid }
// Claude is now running in that pane with the brief as its initial prompt.After launch, the caller can keep talking to the spawned agent via onda_terminal_send / onda_terminal_run using the returned terminalId, or use onda_terminal_list (now enriched with workspaceId/windowId) to disambiguate which terminal belongs to which session.
Architecture
Communicates with Onda via Unix domain socket
Protocol: JSON-RPC 2.0 over newline-delimited JSON
Socket path:
~/.config/onda/onda.sockTransport: stdio (standard MCP transport)
AI Agent <--stdio--> onda-mcp <--Unix socket--> Onda TerminalLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mindfullabai/onda-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server