Skip to content
LocalASO logo: magnifier app iconLocalASO

MCP and AI agents

Connect LocalASO to Zed as a custom context server

To connect LocalASO to Zed, add a local server under context_servers in Zed's settings file with the LocalASO app binary as the command, the bundled mcp.js as its argument and ELECTRON_RUN_AS_NODE set to 1. Zed's Agent Panel can then read your keyword board and listing through LocalASO's five MCP tools.

Updated

Add the server

Zed's documentation says you can connect local servers from Settings, AI, MCP Servers: click Add Server, then choose Add Local Server. That dialog writes an entry to your settings file, which you can also open with the zed: open settings file action. The entry for LocalASO looks like this:

{
  "context_servers": {
    "localaso": {
      "command": "/Applications/LocalASO.app/Contents/MacOS/LocalASO",
      "args": ["/Applications/LocalASO.app/Contents/Resources/app.asar/out/main/mcp.js"],
      "env": { "ELECTRON_RUN_AS_NODE": "1" }
    }
  }
}

The command and argument are the values from the MCP docs. Zed's own example leaves env empty ("env": {}), so do not copy that part: without ELECTRON_RUN_AS_NODE the app starts as a normal app instead of as a server, and Zed will show it as not running.

Check the status dot

Zed's documentation says to watch the indicator dot next to the server name in Settings, AI, MCP Servers. If it runs correctly the dot is green and the tooltip says "Server is active". Other colors and messages explain what is wrong. Typical causes for LocalASO are a wrong path, a missing environment variable, or no license on this Mac, which makes every tool return an error message (see the generic client page for a symptom table).

Use it in the Agent Panel

Zed's documentation notes that how reliably MCP tools get called varies from model to model, and that mentioning the server by name helps the model pick its tools. Start with a read-only request:

  1. "Use localaso to list my apps." This should trigger board_get with no app argument.
  2. "Show the board for the first app and list keywords with a Push verdict." This reads the board.
  3. "Read the saved listing and suggest a new subtitle under 30 characters." This calls listing_get; the subtitle workflow continues from there.

Approvals

Zed's default for the native agent is confirm, which prompts before any tool action, including MCP tool calls. For finer control Zed uses permission keys in the format mcp:<server>:<tool_name>, so a rule for mcp:localaso:board_get would apply to that one tool. Keep board_add_keywords and keywords_check on confirm: they write to your board and make network requests to Apple's public search.

Limits

LocalASO's MCP server cannot upload to App Store Connect, so Zed can suggest text but cannot publish it. The server opens the same local database as the app, so keywords the agent adds through board_add_keywords land on the board you see in LocalASO.

Next step

Other clients use different file names but the same three values: see VS Code, Cline and the client overview. Check any subtitle the agent proposes with the character counter.

Questions

Why does Zed call it a context server?
Zed uses the Model Context Protocol to interact with context servers, and the settings key is context_servers. A context server is an MCP server.
How do I know the server started?
Open Settings, AI, MCP Servers and look at the dot next to the name. Zed's documentation says a running server shows a green dot with the tooltip Server is active.

Sources

Do this for every country, in minutes

LocalASO checks your rank, volume and difficulty for every keyword in 50+ App Store countries, in each local language. It runs on your Mac. $29 once, no subscription.