# LM Studio | User Guide | Shotomatic

> Add Shotomatic to LM Studio as a local MCP server, check that it works, and fix common setup problems.

- Type: Public web page
- Canonical page: [https://www.shotomatic.com/guide/ai-agents/clients/lm-studio](https://www.shotomatic.com/guide/ai-agents/clients/lm-studio)
- Markdown page: [https://www.shotomatic.com/guide/ai-agents/clients/lm-studio.md](https://www.shotomatic.com/guide/ai-agents/clients/lm-studio.md)

Browse the user guide

On this page

1.  [Before you start](#before-you-start)
2.  [Add Shotomatic to LM Studio](#add-shotomatic-to-lm-studio)
3.  [Approve it once](#approve-it-once)
4.  [Check that it works](#check-that-it-works)
5.  [If the tool is unavailable](#if-the-tool-is-unavailable)

LM Studio can use Shotomatic through Shotomatic's local MCP server. These steps follow LM Studio's own documentation ([Use MCP servers in LM Studio](https://lmstudio.ai/docs/app/mcp)); Shotomatic is tested with Claude Code and Codex, not with LM Studio. If a menu or file no longer matches, check LM Studio's docs.

## Before you start

-   In Shotomatic, open **Settings > AI agents** and turn on **Let AI agents use Shotomatic**.
-   Install Node 18.3 or later. The client starts a small bridge package named `shotomatic` with `npx`; there is no API key.
-   On a Mac, grant **Screen Recording** and, for key presses, **Accessibility**. See [macOS permissions](https://www.shotomatic.com/guide/get-started/macos-permissions).

## Add Shotomatic to LM Studio

LM Studio supports local MCP servers and follows Cursor's `mcp.json` notation. Open the **Program** tab in the right sidebar and select **Install > Edit mcp.json**. Add:

```json
{
  "mcpServers": {
    "shotomatic": {
      "command": "npx",
      "args": ["-y", "shotomatic", "mcp"]
    }
  }
}
```

LM Studio's docs advise against installing MCP servers from sources you do not trust and warn that some servers use many tokens, which can overflow a local model's context.

On Windows, if the client cannot start `npx`, use `cmd` as the command and `/c`, `npx`, `-y`, `shotomatic`, `mcp` as the arguments.

## Approve it once

The first time LM Studio connects, Shotomatic shows an approval card with the name LM Studio reports for itself. Select **Allow**. Until you do, the agent can only read Shotomatic's status. See [Approvals and confirmations](https://www.shotomatic.com/guide/ai-agents/approvals-and-confirmations).

## Check that it works

Open the **Program** tab and look for Shotomatic. Then ask:

> "Check Shotomatic's status and tell me what you can do with it."

A working setup answers with the Shotomatic version, whether **Screen Recording** and **Accessibility** are granted on a Mac, your plan and the free screenshots left today, whether the website browser is installed, and any capture already running.

Shotomatic returns previews as images inside tool results. LM Studio's docs do not say whether those images reach the model, so the agent may receive only text for them.

## If the tool is unavailable

-   **The model stops partway through.** Shotomatic's tool list and images take context. Use a model with a larger context window.
-   **"MCP access is turned off."** Turn on **Let AI agents use Shotomatic** in **Settings > AI agents**, then restart the client.
-   **No approval card appears.** Open Shotomatic and look for the card; on a Mac, its Dock icon bounces when the card appears.
-   **The client cannot find `npx` or Node.** See [the troubleshooting list for all clients](https://www.shotomatic.com/guide/ai-agents/other-agents#troubleshooting).

Next, try a request from [What agents can do](https://www.shotomatic.com/guide/ai-agents/what-agents-can-do), or see every tool in the [Tools reference](https://www.shotomatic.com/guide/ai-agents/tools).

## On this page

1.  [Before you start](#before-you-start)
2.  [Add Shotomatic to LM Studio](#add-shotomatic-to-lm-studio)
3.  [Approve it once](#approve-it-once)
4.  [Check that it works](#check-that-it-works)
5.  [If the tool is unavailable](#if-the-tool-is-unavailable)

## About this version

This Markdown page is generated from the server-rendered public page on Shotomatic. Interactive controls and site navigation are omitted. Use the canonical page when citing or sharing it with people.
