> ## Documentation Index
> Fetch the complete documentation index at: https://docs.octen.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Desktop AI Assistants

There are two ways to give a desktop AI assistant access to Octen:

* **MCP** — Model Context Protocol. The app runs a small local server via `npx`, so it needs Node.js on your machine.
* **Octen skills** — Agent Skills standard. The app runs it directly; when the app executes skills in a hosted sandbox, that's ideal if you don't have Node.

This guide uses Claude Desktop as the example. Any other desktop assistant that supports MCP or Skills standard connects in a similar ways.

## MCP

### Before you start

* An **Octen API key** ([API Platform](https://octen.ai/platform/api-keys)).
* Claude Desktop
* Node.js 18+ — the server runs via `npx`.

<Steps>
  <Step title="Open the MCP config">
    In Claude Desktop, open **Settings → Developer**, then click **Edit Config** to open `claude_desktop_config.json`.

    <Frame caption="Claude Desktop → Settings → Developer → Edit Config">
      <img src="https://mintcdn.com/api-86570701/RcJ9C48ad44hPW2W/images/desktop-apps/claude-developer-edit-config.jpeg?fit=max&auto=format&n=RcJ9C48ad44hPW2W&q=85&s=9bf9ccd49f5071fb01fddbf3e66c60bf" alt="Settings → Developer tab with Edit Config" width="1896" height="1390" data-path="images/desktop-apps/claude-developer-edit-config.jpeg" />
    </Frame>
  </Step>

  <Step title="Add Octen MCP">
    Add `octen` under `mcpServers`, with your key in `env`:

    ```json theme={null}
    {
      "mcpServers": {
        "octen": {
          "command": "npx",
          "args": ["-y", "octen-mcp"],
          "env": {
            "OCTEN_API_KEY": "your-key-here"
          }
        }
      }
    }
    ```

    <Note>
      Merge this into the file — don't replace it. `mcpServers` may already exist (often empty: `"mcpServers": {}`), and the file may hold other settings. Keep them all — just put the `octen` block inside the existing `mcpServers`.
    </Note>
  </Step>

  <Step title="Restart Claude Desktop">
    Save the file, then fully quit and reopen Claude Desktop.
  </Step>

  <Step title="Confirm it's connected">
    Check either place:

    * Settings → Developer → Local MCP servers — `octen` shows a running badge.
    * In a chat, click the **+** button → Connectors and make sure **octen** is toggled on.

    <Frame caption="Settings → Developer → Local MCP servers — octen running">
      <img src="https://mintcdn.com/api-86570701/HBpaitmmIu_B8bl3/images/desktop-apps/claude-developer-octen-running.jpeg?fit=max&auto=format&n=HBpaitmmIu_B8bl3&q=85&s=5a1896652adc46ff9382ccdfbc72ae0f" alt="Local MCP servers list showing octen with a running badge" width="1894" height="1404" data-path="images/desktop-apps/claude-developer-octen-running.jpeg" />
    </Frame>
  </Step>
</Steps>

## Octen skills

Octen offers several skills — this guide installs `octen-search` as an example. You add any other Octen skill the same way.

### Before you start

* An **Octen API key** ([API Platform](https://octen.ai/platform/api-keys)).
* Code execution enabled in Settings → Capabilities (available on Free, Pro, and Max; in an organization, an admin enables it in org settings).

<Steps>
  <Step title="Enable code execution and allow Octen's domain">
    Open Settings → Capabilities and turn on Code execution and file creation, then turn on Allow network egress.

    Network egress defaults to package managers only, so the calls to Octen stay blocked until you allow its domain — add `*.octen.ai` to the allowed domains.

    <Note>
      Who can add the domain depends on your plan. On Pro / Max you add it yourself. On Team / Enterprise an admin adds it in Organization settings → Capabilities. Free plans can't add custom domains — use MCP instead.
    </Note>
  </Step>

  <Step title="Add the skill">
    Download `octen-search.zip` from the [octen-skills repo](https://github.com/Octen-Team/octen-skills) and unzip it. Open Customize → Skills, click the **+** at the top of the list, then choose Create skill → Upload a skill and select `skills/octen-search/SKILL.md`.

    <Frame caption="Customize → Skills → Create skill → Upload a skill">
      <img src="https://mintcdn.com/api-86570701/HBpaitmmIu_B8bl3/images/desktop-apps/claude-customize-skills-upload.jpeg?fit=max&auto=format&n=HBpaitmmIu_B8bl3&q=85&s=3ea408955fabc977a91f70d1a043783d" alt="Customize Skills panel with the Create skill / Upload a skill control" width="2082" height="900" data-path="images/desktop-apps/claude-customize-skills-upload.jpeg" />
    </Frame>

    <Frame caption="Selecting skills/octen-search/SKILL.md">
      <img src="https://mintcdn.com/api-86570701/HBpaitmmIu_B8bl3/images/desktop-apps/claude-customize-skills-select-file.jpeg?fit=max&auto=format&n=HBpaitmmIu_B8bl3&q=85&s=a3a604a42a5b0771e8a4257954344e41" alt="File picker with skills/octen-search/SKILL.md selected" width="1120" height="314" data-path="images/desktop-apps/claude-customize-skills-select-file.jpeg" />
    </Frame>
  </Step>

  <Step title="Turn on the skill in a chat">
    In a new chat, click the **+**, choose Skills, and select octen-search to turn it on for the conversation.

    <Frame caption="Chat + menu → Skills → octen-search">
      <img src="https://mintcdn.com/api-86570701/HBpaitmmIu_B8bl3/images/desktop-apps/claude-chat-skills-menu.jpeg?fit=max&auto=format&n=HBpaitmmIu_B8bl3&q=85&s=62e8e318edec523d183a768fee3f02db" alt="Chat plus-menu Skills submenu listing octen-search" width="1720" height="816" data-path="images/desktop-apps/claude-chat-skills-menu.jpeg" />
    </Frame>
  </Step>

  <Step title="Set your API key (first run)">
    This skill reads your key from OCTEN\_API\_KEY — add it as an environment variable, or provide your Octen API key when the skill asks for one.
  </Step>
</Steps>

## Try it

Ask the assistant something that needs the live web:

* *Search the web for daily news and summarize the top three.*

## Troubleshooting

| Symptom                 | Fix                                                                                                             |
| ----------------------- | --------------------------------------------------------------------------------------------------------------- |
| MCP tools don't appear  | Fully quit and reopen the app; confirm the MCP config is valid JSON.                                            |
| `spawn npx ENOENT`      | Node isn't installed or isn't on the app's PATH — install Node, or put the absolute path to `npx` in `command`. |
| Skill can't reach Octen | Network is blocked. Check Enable code execution and allow Octen's domain part or use MCP instead                |
