> AI agents: this is one page of nextanalytica's docs. The full index for agents: https://nextanalytica.app/llms.txt

# Zed

> Add nextanalytica's web analytics MCP server to Zed's agent as a context server, or bridge to it with mcp-remote when your Zed runs only local servers.

Updated: 2026-11-17

Zed's agent connects to nextanalytica as a context server. It takes a few lines in your settings and a sign-in.

## Setup

1. Open the Agent Panel's settings and click **Add Custom Server**, or open Zed's `settings.json`.
2. Add the server:

```json title="settings.json"
{
  "context_servers": {
    "nextanalytica": {
      "url": "https://mcp.nextanalytica.app/mcp"
    }
  }
}
```

3. Save. The first time the client connects, it opens your browser to sign in to nextanalytica. Sign in as yourself; your agent then sees what you can see.

If your Zed version only runs local servers, bridge to the remote one with `mcp-remote`:

```json title="settings.json"
{
  "context_servers": {
    "nextanalytica": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.nextanalytica.app/mcp"]
    }
  }
}
```

> **Note:** We test Claude Code and the Claude app ourselves, and no other client. This setup follows the client's own way of adding a remote MCP server. Clients change often: if a step differs in your version, the server address and the header stay the same.

## Check it works

Ask Zed's agent "Which projects do I have in nextanalytica?".

> **Warning:** Text on web pages, in issues or in data can try to steer an agent (prompt injection). Read what it proposes before you approve a change.

## What's next

- [Use cases](/docs/model-context-protocol/use-cases): questions that work, by task.
- [MCP tools](/docs/model-context-protocol/tools): every tool your agent can call.
- [FAQ](/docs/model-context-protocol/faq): keys, projects, data and safety.

Canonical address: https://nextanalytica.app/docs/model-context-protocol/zed
