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

# MCP

> Connect your editor assistant once. Same NEUS account in every editor.

OAuth once. Your assistant loads your profile and what it may do in Cursor, Claude Code, Codex, and VS Code. Your backend can read the same saved results through the API.

**First run:** [Install NEUS](../install). Access keys: [MCP setup](./setup). OAuth details: [MCP OAuth](./oauth).

## How it works

Assistants load your signed-in profile once, then reuse saved results when they can.

* Look up a saved result before a sensitive action
* Guide any missing step
* Confirm agent identity and authority before tools run
* Store or revoke secrets when signed in

You see **Passed**, **Action needed**, or **Blocked** in chat. Not raw tool output.

Journeys: [MCP journeys](./journeys) · Tools: [MCP tools](./tools)

## Agent setup

1. Call `neus_agent_link`.
2. If linked, reuse the results.
3. If missing, call `neus_agent_create` and finish the hosted steps.
4. Call `neus_agent_link` again until `linked: true`.

Details: [Agent verification flow](../agents/agent-verification-flow) · [Connect agent context](../agents/runtime-mount)

## Connect an agent to a project

```bash theme={"dark"}
neus mount <agentId> --apply cursor
```

Writes project config your editor reads on startup. Run again after permission changes.

## Reference

<CardGroup cols={4}>
  <Card title="Install NEUS" icon="plug" href="../install">
    Cursor, Claude Code, Codex, VS Code.
  </Card>

  <Card title="OAuth" icon="shield-check" href="./oauth">
    Sign-in flow and tokens.
  </Card>

  <Card title="Setup" icon="code" href="./setup">
    Install and sign in.
  </Card>

  <Card title="Pay per call" icon="coins" href="../platform/x402">
    Metered API calls without an account.
  </Card>
</CardGroup>
