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

> ## Agent Instructions
> Setting OneCLI up for your person? Follow https://onecli.sh/docs/quickstart.md. Never ask for or accept a key, token or password in the chat: OneCLI needs none.
> No OneCLI credential? Run `onecli connect`, or follow https://onecli.sh/auth.md. A person approves every new agent in their browser.
> Already connected? `onecli status`, `onecli items` and `onecli check <METHOD> <URL>` tell you what you can use. Full guide: https://onecli.sh/skill.md
> Search these docs over MCP at https://onecli.sh/docs/mcp. Report a wrong or unclear page with its `submit_feedback` tool.

# OneCLI docs MCP server

> Connect Claude Code, Codex, Cursor or VS Code to the OneCLI docs MCP server at https://onecli.sh/docs/mcp, or read the docs as llms.txt and Markdown pages.

The OneCLI docs MCP server lets your AI tool search and read these docs while it works. It is a remote MCP server over HTTP, with no sign-in:

```text theme={null}
https://onecli.sh/docs/mcp
```

It reads the docs only. It cannot reach your vaults, agents or keys. To give an agent access to APIs, connect it to a vault. See the [Quickstart](https://onecli.sh/docs/quickstart.md).

## Tools

| Tool | What it does |
| - | - |
| `search_one_cli` | Searches the docs and returns matching passages, with links to their pages |
| `query_docs_filesystem_one_cli` | Runs read-only commands, such as `rg`, `ls`, `tree` and `cat`, over the docs pages and the OpenAPI spec. A page at `/guides/rules` is `/guides/rules.mdx` |
| `submit_feedback` | Sends feedback about a docs page |

List them yourself:

```bash theme={null}
curl -s -X POST https://onecli.sh/docs/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
```

## Add it to your tool

> [tab] Claude Code
>
> ```bash theme={null}
> claude mcp add --transport http onecli-docs https://onecli.sh/docs/mcp
> ```
>
> Add `--scope user` to use it in every project.

> [tab] Codex
>
> ```bash theme={null}
> codex mcp add onecli-docs --url https://onecli.sh/docs/mcp
> ```

> [tab] Cursor
>
> Add it to `~/.cursor/mcp.json`, or to `.cursor/mcp.json` in a project:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "onecli-docs": {
>       "url": "https://onecli.sh/docs/mcp"
>     }
>   }
> }
> ```

> [tab] VS Code
>
> Add it to `.vscode/mcp.json` in your workspace:
>
> ```json theme={null}
> {
>   "servers": {
>     "onecli-docs": {
>       "type": "http",
>       "url": "https://onecli.sh/docs/mcp"
>     }
>   }
> }
> ```

Then ask your tool a OneCLI question, such as "How do I connect an E2B sandbox to OneCLI?". It answers from the docs.

## Other ways to read the docs

| Address | What it is |
| - | - |
| `https://onecli.sh/docs/llms.txt` | An index of every page, with a short description and a link to its Markdown |
| `https://onecli.sh/docs/llms-full.txt` | The full text of the docs in one file |
| Any page plus `.md` | That page as Markdown, such as `https://onecli.sh/docs/quickstart.md` |
| `https://onecli.sh/docs/skill.md` | The [agent skill](https://onecli.sh/docs/tools/agent-skill.md) |

```bash theme={null}
curl -s https://onecli.sh/docs/quickstart.md
```

## Next steps

* [Agent skill](https://onecli.sh/docs/tools/agent-skill.md)
* [Sign up as an agent](https://onecli.sh/docs/guides/agent-signup.md)
* [CLI reference](https://onecli.sh/docs/cli/onecli-cli.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.