# ExactGround MCP server

> Prevents AI coding agents from installing non-existent or malicious npm and PyPI packages by validating registry existence and package versions.

- Repository: https://github.com/alidaram99/exactground
- Page: https://hostedmcp.org/servers/alidaram99/exactground
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 0.1.5

## Install

### Claude Code

```sh
claude mcp add --transport http exactground https://dropin-apis--exactground-api.apify.actor/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "exactground": {
      "url": "https://dropin-apis--exactground-api.apify.actor/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "exactground": {
      "type": "http",
      "url": "https://dropin-apis--exactground-api.apify.actor/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"exactground","type":"http","url":"https://dropin-apis--exactground-api.apify.actor/mcp"}'
```

### Codex

```sh
codex mcp add exactground --url https://dropin-apis--exactground-api.apify.actor/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.exactground]
url = "https://dropin-apis--exactground-api.apify.actor/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http exactground https://dropin-apis--exactground-api.apify.actor/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "exactground": {
      "url": "https://dropin-apis--exactground-api.apify.actor/mcp",
      "type": "http"
    }
  }
}
```

## FAQ

### How do I stop Claude Code from installing hallucinated npm or PyPI packages?

Install the ExactGround Claude Code plugin using the provided marketplace commands to register a PreToolUse hook.

### Is ExactGround a sandbox?

No, it is a cooperative guardrail. An agent that deliberately tries to evade it by writing its own scripts or editing files the hooks do not see can get around it.

### What happens if the registry is unreachable?

The hook denies the installation by default to ensure safety.
