> ## 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.

# Connect agent context

> Load a verified agent's identity, permissions, skills, and context in one step.

The `neus mount` command loads a verified agent's current context into one bundle:

* verified identity
* granted permissions
* current settings
* skills and tools
* trust receipt links

Use it when an assistant or worker should act as a specific profile agent. One command replaces several separate lookups.

## Quick start

```bash theme={"dark"}
neus setup
neus mount my-agent --apply cursor
```

This writes:

* `.neus/mount.json`: machine-readable agent context
* `.cursor/rules/neus-agent-my-agent.mdc`: agent instructions and trust workflow

Start a **new** Agent chat in Cursor so the project rules load.

## Assistant tool

When signed in, call **`neus_agent_mount`** with `agentId`. You can also use `agentWallet` or the identity receipt ID in `identityQHash`.

The tool returns the same bundle as the command-line interface and is available on every plan.

Suggested order:

1. `neus_context`
2. `neus_agent_mount` when acting as a specific agent
3. `neus_proofs_check` / `neus_verify_or_guide` before sensitive actions

## SDK

```javascript theme={"dark"}
import { resolveRuntimeBundleFromMcp } from '@neus/sdk/runtime-mount';
import { applyRuntimeBundle } from '@neus/sdk/runtime-adapters';
```

Use `resolveRuntimeBundleFromMcp` with your MCP transport, then `applyRuntimeBundle('cursor', bundle, cwd)` for project files. The same bundle shape is returned by the `neus_agent_mount` MCP tool and the `neus mount` CLI.

## Where permissions are enforced

| Surface                      | What NEUS provides                                                       |
| ---------------------------- | ------------------------------------------------------------------------ |
| **NEUS agent tab**           | Enforces permissions, tool access, and receipt checks                    |
| **Cursor and other editors** | Loads project rules and trust context; start a new chat after connecting |
| **Workers and backends**     | Returns the bundle for your application to enforce in its own tool loop  |

Cursor controls third-party tools inside the editor. NEUS supplies verified context and permissions; your host remains responsible for enforcement.

## Profile UI

**Connect in Cursor** on the agent card downloads the project files and copies:

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

Run that command in your project repo for the full write path.

## Related

* [Agent identity](./agent-identity)
* [Agent delegation](./agent-delegation)
* [Install NEUS MCP](../mcp/ide-plugin)
