---
title: "How to use NexusDocs with AI"
icon: lucide/bot
description: "Connect AI clients like Claude Code, Codex, or Cursor to the public NexusDocs MCP server and search the guides directly."
---

# How to use NexusDocs with AI

NexusDocs runs a public, read-only MCP (Model Context Protocol) server at
`https://docs.nexuscloud.id/mcp`. AI coding assistants that support MCP can
search and read the guides directly, so answers about NexusCloud come from
the official documentation instead of guesses.

- No account and no API key: the server is public and read-only.
- Two tools: `search_docs` (search by question, optional locale filter) and
  `get_doc` (fetch one guide by its URL).
- The corpus is bilingual: Indonesian at the root, English under `/en/`.
- Server identity: `id.nexuscloud.docs/nexusdocs` version 1.1.0 (title
  "NexusDocs"). Tool names and the endpoint are unchanged; only this display
  metadata was added.

## Connect with Claude Code

Run once in your terminal (not inside a Claude session):

```bash
claude mcp add --transport http nexusdocs https://docs.nexuscloud.id/mcp
```

Check `/mcp` inside a session to confirm the server is connected.

## Connect with Codex CLI

Add the server once:

```bash
codex mcp add nexusdocs --url https://docs.nexuscloud.id/mcp
```

Or merge this block into your `~/.codex/config.toml` (keep your existing
`[mcp_servers.*]` entries; do not overwrite them):

```toml
[mcp_servers.nexusdocs]
url = "https://docs.nexuscloud.id/mcp"
```

## Connect with Cursor

Merge this into `.cursor/mcp.json` in your project (or `~/.cursor/mcp.json`
for all projects). Keep any existing entries under `mcpServers`:

```json
{
  "mcpServers": {
    "nexusdocs": {
      "url": "https://docs.nexuscloud.id/mcp"
    }
  }
}
```

Then enable the server in Cursor's MCP settings if it is not active yet, and
approve the tools when the client asks.

## Any other MCP client

Use the generic streamable-HTTP endpoint:

- URL: `https://docs.nexuscloud.id/mcp`
- Transport: streamable HTTP (POST). A browser `GET` on `/mcp` returns 405;
  that is expected, not an error.
- No `Authorization` header is needed.

## What you can ask

Example questions, Indonesian or English:

- "How do I restore a panel backup?" / "Bagaimana cara restore backup panel?"
- "Which Java version does my Forge server need?" / "Versi Java berapa yang
  dibutuhkan server Forge saya?"

Answers cite the source guide, for example `[1]`, so you can open the
original page and verify.

## If something does not work

1. Reconnect or re-enable the server in your client and approve the tool
   permissions when prompted.
2. If you get HTTP 429, wait for the number of seconds in the `Retry-After`
   response header, then retry.
3. Make sure the URL is exactly `https://docs.nexuscloud.id/mcp`.

## Browser agents (experimental)

Supporting browsers can expose the same two read-only tools to on-page AI
agents through the experimental WebMCP API. This page registers them
automatically where the browser supports it; unsupported browsers simply do
nothing. The remote MCP server above is the stable, recommended way to
connect.

---

!!! tip "Help us out"
    If you found this tutorial useful, please leave a review on [Trustpilot](https://www.trustpilot.com/evaluate/nexuscloud.id)! Your rating helps us make more useful guides :sparkles:

**Cheers, Team NexusCloud**

---
