The MCP endpoint
Connect any MCP client to Executor over one streamable HTTP or stdio endpoint, sign in with OAuth, and call every app through six built-in tools.
Executor exposes one streamable HTTP MCP endpoint at /mcp that gives an agent access to every app you authorize without putting service credentials in the agent. Instead of configuring one MCP server per service, you connect your client once to https://mcp.executor.sh/mcp (Cloud), <your origin>/mcp (Self-host), or http://127.0.0.1:4312/mcp (Local), or run executor mcp over stdio.
- Available on: Local, Self-host, and Cloud.
- Prerequisites: At least one app in Executor with its required accounts linked (see Connect an account), and an MCP client that supports streamable HTTP or stdio commands.
- Main command (stdio bridge):
claude mcp add executor -- executor mcp
You’ll know it worked when your client lists Executor’s tools (skills, search, describe, call, execute, and resume outside native mode) and search returns tools from your apps.
Endpoint URLs by target
| Target | Streamable HTTP URL | Auth method |
|---|---|---|
| Cloud | https://mcp.executor.sh/mcp |
Browser OAuth, or personal access token (https://mcp.executor.sh/org/<slug>/mcp to pin an org) |
| Self-host | <your origin>/mcp |
Browser OAuth, or personal access token (<your origin>/org/<slug>/mcp) |
| Local | http://127.0.0.1:4312/mcp |
Local browser OAuth, or local server API key (Authorization: Bearer <key>) |
On Cloud, use https://mcp.executor.sh/mcp—the dashboard origin app.executor.sh does not serve /mcp.
The tools
The endpoint keeps a fixed tool surface no matter how many apps you add. On connection, Executor’s MCP instructions load the built-in Executor app’s executor skill, which points the agent to code-mode and app-authoring.
skills: Reads skill instructions shipped by your apps (skills({})lists available skills;skills({ app, name })reads one). Connects no accounts and runs no app code.search: Finds app tools by words in their paths, descriptions, and labels, returning each tool’s exact path and input type.describe: Returns the full description and input/output signatures for up to 20 exact tool paths fromsearch.call: Calls one{ path, input }or an array of independent tool calls concurrently.execute: Runs a sandboxed JavaScript program over your apps to chain calls or filter large responses before they enter model context.resume: Continues acallorexecuterequest that paused for approval or user input. Not exposed innativemode, where the client answers in place.
Direct calls
For a single call or a small batch of independent calls, an agent uses call directly without writing JavaScript:
{ "calls": [{ "path": "tools.github.listIssues", "input": { "repo": "acme/widgets" } }] }
Each entry in the returned array reports ok with its value or error in input order; one failed call does not stop the others. See Code mode and tool execution for full call, search, describe, and execute semantics.
Codemode
Use execute when one tool’s output feeds the next call or when a large payload should be reduced before returning to the model. Inside execute, tools are async functions on tools.<app-slug>.<tool-name>, alongside tools.search and tools.search.describe. Read the full reference, sandbox limits, and media/file handling in Code mode and tool execution.
Signing in from the browser
Cloud and Self-host
- Add the
/mcpURL to your MCP client (see Add an MCP client). - Your client registers via OAuth and opens
/mcp/authorizein your browser. - Sign in to Executor, choose an Organization, choose Access (All apps, a saved scoped connection, or New connection), and choose Approvals (Automatic, Through your agent, In your browser, or In your client).
- Approve the connection. The client receives an OAuth token bound to that organization, access scope, and approval mode—never your password or service credentials.
Every MCP request revalidates the token, grant, and organization membership. A revoked grant returns HTTP 401; losing organization membership returns HTTP 403. Switching organizations in the dashboard never retargets an existing MCP grant—connect again to authorize a second organization.
You’ll know it worked when GET /mcp/whoami with the bearer token returns your organization, scope, and approval mode, or when your agent successfully runs search.
Local
- Start Executor locally (via the desktop app or CLI) so it listens on
http://127.0.0.1:4312. - Point your MCP client at
http://127.0.0.1:4312/mcp(orhttp://127.0.0.1:4312/mcp?connection=<id>for a scoped connection). - On the local browser consent page, pick the Approvals mode and approve the client. Alternatively, pass the local server API key as a
Bearertoken at/mcp.
You’ll know it worked when your client connects and lists Executor’s tools.
Scoped connections
A scoped connection restricts an MCP client to specific apps, linked user accounts, tool subsets (All tools, Read-only tools, or Specific tools), and app events. Create and manage them on the Connections page and connect via /mcp?connection=<id> or the sign-in screen. See Scoped connections.
Elicitation modes
When a tool requires approval or asks for input, the grant’s approval mode (automatic, model, browser, or native) controls whether Executor auto-approves, asks through your agent, opens a browser review page, or uses MCP client prompts. Query parameters such as ?elicitation_mode=browser preselect the mode on the sign-in screen; once granted, the grant locks the mode. See Approval and elicitation modes.
From a shell
The executor CLI calls the same MCP tools from a terminal and prints JSON: executor search, executor describe, executor call, executor execute, executor resume, and executor skills.
- On Local, run them directly—the CLI starts the local server if needed.
- On Cloud and Self-host, run
executor login(orexecutor login --host <origin>) to authorize tool commands andexecutor mcpin your browser. In2.0.0-beta.79,executor appscommands use a separate sign-in viaexecutor apps login.
executor mcp runs a local stdio MCP server that forwards every message to your signed-in host and refreshes its session automatically. Its instructions also tell the agent that the executor CLI is available in the shell so large results can be written to disk with executor execute --file program.js > result.json.
Example
Verify your local endpoint from a shell using the beta CLI:
executor search "apps"
Inspect a specific tool returned by search:
executor describe tools.executor.appManagement.list
Limits
- Five vs. six tools:
resumeis omitted innativemode (5 tools total);automatic,model, andbrowsermodes expose all 6 tools. - One organization per grant: An OAuth grant stays bound to the organization selected at sign-in, even after token refresh.
- Query string does not override a grant: Changing
?connection=or?elicitation_mode=after OAuth sign-in never widens access or weakens approvals. - Personal access tokens and local API key: Neither can be used at
/mcp?connection=<id>; use OAuth for scoped connections. - Not yet supported: Remembering prior approvals across calls, and resuming an in-flight
executeprogram after a server restart.