Skip to content
LocalASO logo: magnifier app iconLocalASO

MCP and AI agents

Connect LocalASO to LM Studio and run ASO work with a local model

To connect LocalASO to LM Studio, open the app's mcp.json from the Program tab and add a localaso entry in Cursor's notation: the LocalASO binary as command, the bundled mcp.js in args, and ELECTRON_RUN_AS_NODE set to 1 in env. A local model loaded in LM Studio can then read your keyword board.

Updated

Open mcp.json

LM Studio's documentation says it acts as an MCP host starting with version 0.3.17 and that you add servers by editing the app's mcp.json file. In the right-hand sidebar switch to the Program tab, click Install, then Edit mcp.json. The file opens in the in-app editor.

The entry

LM Studio says it "currently follows Cursor's mcp.json notation". Its only documented example is a URL server for Hugging Face, so the command, args and env fields below come from Cursor's notation, which LocalASO's Cursor page documents:

{
  "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" }
    }
  }
}

If you paste into a file that already has other servers, copy only what sits after "mcpServers": { and before its closing brace, as LM Studio's gotchas section advises. The values are the three on the MCP docs page.

Why a local model needs extra care

LM Studio's documentation warns that some servers can run arbitrary code and that servers designed for Claude, ChatGPT or Gemini "might use excessive amounts of tokens", which can bog down a local model and trigger frequent context overflows. LocalASO's tools return board data as text, and a board with many keywords across many countries is long. Three habits keep it manageable:

  1. Ask for one app at a time, using the app argument on board_get.
  2. Call keywords_check with a short terms list and a few countries. It runs at most 60 checks per call, so 10 terms across 3 countries is 30.
  3. Ask the model to summarize each tool result before you ask the next question.

Tool calling quality

Not every local model is good at calling tools. If a model describes a tool call instead of making it, switch to a model LM Studio marks as tool-capable, or use a hosted client such as Cursor for the tool-heavy steps. The Ollama page discusses the same trade-off for LocalASO's built-in AI step.

First test

Ask: "Call board_get with no arguments and list the apps." If the model answers without calling the tool, the answer is a guess; look for the tool-call block in the chat. If the tool returns a license message, activate LocalASO on this Mac first.

The server cannot upload to App Store Connect. Apply any suggestion yourself, for example after checking it with the keyword field checker.

Next step

Continue with Goose and Warp, or compare all clients.

Questions

Which LM Studio version do I need?
LM Studio's documentation says it acts as an MCP host starting with version 0.3.17.
Does this keep my data on my Mac?
LocalASO's server and a local model both run on your Mac. The only network traffic the MCP server creates is the public Apple search requests that rank checks make.

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.