Skip to content
LocalASO logo: magnifier app iconLocalASO

MCP and AI agents

Connect LocalASO to JetBrains AI Assistant (and the environment variable catch)

To connect LocalASO to JetBrains AI Assistant, open Settings, Tools, AI Assistant, Model Context Protocol (MCP), click Add and paste an mcpServers JSON snippet. JetBrains' documented format has command and args but no env field, and LocalASO needs ELECTRON_RUN_AS_NODE=1, so the safest entry runs the app through /usr/bin/env.

Updated

Where to add it

JetBrains' documentation gives the path: Settings, Tools, AI Assistant, Model Context Protocol (MCP). You can also type / in the chat and select the Add Command option. Click Add, choose the connection type and provide the JSON. The documented stdio template is:

{
  "mcpServers": {
    "yourServerName": {
      "command": "path-or-command-to-start-server",
      "args": ["optional-arguments-passed-to-server"]
    }
  }
}

JetBrains supports the STDIO transport (the IDE launches the server as a subprocess) and Streamable HTTP. LocalASO's server is stdio only.

The environment variable catch

The values LocalASO needs are on the MCP docs page: a command, one argument and the environment variable ELECTRON_RUN_AS_NODE=1. JetBrains' documented template and examples show only command and args. Rather than rely on an undocumented field, use the standard Unix env tool as the command, which sets the variable and then runs the app:

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

This workaround is ours, not JetBrains' documentation. It uses only the two fields JetBrains documents. If you find JetBrains has added an env field in your version, the plain three-value form from the generic client page works too.

Apply and verify

JetBrains' steps: click OK, then Apply, which starts the server and connects to it. Watch the Status column; the icon in it opens the list of available tools once the connection succeeds. Expect five tools: board_get, board_add_keywords, keywords_check, competitors_get and listing_get. The Level column sets global or project scope. If you want newly added servers to start automatically, JetBrains has a setting called Automatically enable new and changed MCP servers.

If the status shows an error:

StatusLikely cause
Fails to startPath wrong, or the variable did not reach the process
Starts, tools return a license messageLocalASO is not activated on this Mac
Tools missingApply was not clicked, or the server is disabled

What to ask

The IDE already has your code, so ask things that join code and board: "Read the saved listing with listing_get and compare the subtitle with the strings in my localization files." The server cannot upload to App Store Connect, so you paste any change yourself. Pair this with the competitor audit workflow.

Next step

Other clients: Warp, Raycast and the overview table.

Questions

Can I import my Claude Desktop config?
JetBrains' documentation describes an Import from Claude button for users who already have a Claude Desktop MCP configuration. It adds all configured servers to the table. The documentation does not say how environment variables are handled, so check the imported entry works.
Global or project level?
The Level column lets you choose. Use global for LocalASO, because your keyword database is on your Mac and not tied to one project.

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.