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

# Using Linkly AI in OpenClaw

> Integrate your Linkly AI local knowledge base with the OpenClaw open-source AI Agent platform

## What You Can Do

<AccordionGroup>
  <Accordion title="Retrieve private local documents during autonomous Agent decision-making">
    OpenClaw's Agent will autonomously call Linkly AI's `search` tool to search
    your computer for relevant knowledge based on the task at hand — no need to
    manually specify where the materials are. The entire workflow runs truly
    autonomously.
  </Accordion>

  <Accordion title="Use three tools to go deeper layer by layer and efficiently complete complex tasks">
    From `search` to find relevant documents, `outline` to quickly grasp the
    structure, to `read` for careful reading of key chapters — OpenClaw's Agent
    pipeline can fully leverage all three Linkly AI tools to efficiently
    complete research and analysis tasks.
  </Accordion>

  <Accordion title="Let OpenClaw handle the installation">
    Run `clawhub install linkly-ai` to install the Skills, and the Skills will
    guide you through the setup.
  </Accordion>
</AccordionGroup>

## Prerequisites

* [OpenClaw](https://openclaw.org) installed
* Linkly AI Desktop running with the MCP service active

## Configuration Steps

<Tabs>
  <Tab title="CLI (Recommended)" icon="square-terminal">
    First [install Linkly AI CLI](/docs/en/use-cli) in OpenClaw. Once installed, OpenClaw can directly call CLI commands to search and read your documents:

    ```bash theme={null}
    linkly search "keyword"
    linkly read <document-id>
    ```

    You can also install Skills with one command via ClawHub and let the Skills guide you through the setup — simpler and easier:

    ```bash theme={null}
    clawhub install linkly-ai
    ```

    After installation, OpenClaw will automatically configure the Linkly AI connection. You can start using `linkly search`, `linkly read`, and other commands to search and read your documents.
  </Tab>

  <Tab title="MCP HTTP" icon="globe">
    Manually add the MCP server in OpenClaw:

    **Local use:**

    * URL: `http://127.0.0.1:60606/mcp`
    * No additional authentication required

    **LAN use:**

    * URL: `http://192.168.x.x:60606/mcp` (use your actual LAN IP)
    * Header: `Authorization: Bearer <your access token>`
    * Requires enabling "LAN Access" in Linkly AI Desktop

    **Cloud use:**

    * URL: `https://mcp.linkly.ai/mcp`
    * Header: `Authorization: Bearer <your API Key>`
    * Requires completing [remote access configuration](/docs/en/use-in-remote)
  </Tab>
</Tabs>

<Tip>
  We recommend also installing [Linkly AI Skills](/docs/en/use-skills) to teach the
  AI assistant how to efficiently use Linkly AI's tools, improving search and
  reading efficiency.
</Tip>

## FAQ

<AccordionGroup>
  <Accordion title="clawhub install fails">
    Make sure the ClawHub CLI is correctly installed and your network can reach
    openclaw\.org. You can also choose the MCP HTTP method for manual
    configuration.
  </Accordion>

  <Accordion title="Cannot connect to Linkly AI">
    Please check: - Whether Linkly AI Desktop is running - Whether the MCP
    service is active - If using LAN or cloud mode, confirm the authentication
    information is correct
  </Accordion>
</AccordionGroup>
