Skip to content
LocalASO logo: magnifier app iconLocalASO

MCP and AI agents

Connect LocalASO to Cline: cline_mcp_settings.json step by step

To connect LocalASO to Cline, add a localaso entry under mcpServers in Cline's MCP settings JSON, with the LocalASO app binary as command, the bundled mcp.js as the argument and ELECTRON_RUN_AS_NODE set to 1 in env. Cline then lists the five LocalASO tools and can call them while it works on your project.

Updated

Open the settings file

Cline's documentation describes two routes:

  1. In the IDE extension, click the MCP Servers icon in the top toolbar of the Cline panel, open the Configure tab and click Configure MCP Servers. This opens the settings JSON; add entries under mcpServers.
  2. For the Cline CLI, the file is ~/.cline/data/settings/cline_mcp_settings.json, and the CLINE_MCP_SETTINGS_PATH variable overrides the location. The command cline mcp opens a wizard that lists, adds, edits, enables and deletes servers.

The entry

Cline's local (STDIO) example uses command, args, env, disabled and autoApprove. For LocalASO:

{
  "mcpServers": {
    "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" },
      "disabled": false,
      "autoApprove": []
    }
  }
}

The three LocalASO values come from the MCP docs. Leave the Remote Servers tab alone: it takes a URL and a transport type, and LocalASO's server has no URL.

From a script, Cline's CLI documents a one-line form: cline mcp add <name> --yes -- <command> <args>. Without --yes the add wizard opens with those fields filled in. Environment variables are easiest to set in the JSON file.

Keep autoApprove narrow

Cline's security notes say to store secrets in environment variables, limit autoApprove to safe tools and review tool calls before approval. LocalASO has no secrets in this entry, but the advice on approval still applies. A reasonable list is read-only tools:

ToolAuto-approve?Why
board_getYesReads the board
listing_getYesReads the saved listing
competitors_getYesReads competitors from the board
board_add_keywordsNoWrites keywords to your board
keywords_checkNoQueues checks, up to 60 per call, and sends public Apple search requests

So the list is "autoApprove": ["board_get", "listing_get", "competitors_get"]. Whether to auto-approve even those is your call; approval prompts show the arguments.

First run

Ask Cline: "Call board_get with no arguments and tell me the apps you see." Three outcomes:

  • It lists your apps: the server works.
  • Cline reports the server failed to connect: check the path and the env block, then use the symptom table on the generic client page.
  • The tool returns a license message: open LocalASO and activate it, because every tool refuses to run without a valid license.

The server cannot upload anything to App Store Connect, so Cline's job ends at suggestions you apply yourself.

Next step

Cline pairs well with the fill the keyword field workflow. Other clients: Continue, VS Code and the client overview.

Questions

Where does Cline store the MCP config?
Cline's documentation gives ~/.cline/data/settings/cline_mcp_settings.json for the CLI, which you can override with the CLINE_MCP_SETTINGS_PATH environment variable. In the IDE extension the Configure MCP Servers button opens the file for you.
Should I put LocalASO under Remote Servers?
No. The Remote Servers tab is for hosted endpoints with a URL. LocalASO is a local stdio server, so it goes in the JSON config with a command.

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.