# Knocklog MCP server

> Analyze how websites interact with AI agents and verify the authenticity of visits from ChatGPT, Claude, or Perplexity.

- Repository: https://github.com/knocklog/api
- Page: https://hostedmcp.org/servers/knocklog/api
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 1.0.1

## Install

### Claude Code

```sh
claude mcp add --transport http api https://api.knocklog.ai/mcp/directory
```

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

```json
{
  "mcpServers": {
    "api": {
      "url": "https://api.knocklog.ai/mcp/directory"
    }
  }
}
```

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

```json
{
  "servers": {
    "api": {
      "type": "http",
      "url": "https://api.knocklog.ai/mcp/directory"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"api","type":"http","url":"https://api.knocklog.ai/mcp/directory"}'
```

### Codex

```sh
codex mcp add api --url https://api.knocklog.ai/mcp/directory
```

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

```toml
[mcp_servers.api]
url = "https://api.knocklog.ai/mcp/directory"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http api https://api.knocklog.ai/mcp/directory
```

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

```json
{
  "mcpServers": {
    "api": {
      "url": "https://api.knocklog.ai/mcp/directory",
      "type": "http"
    }
  }
}
```

## FAQ

### How can I check how a website treats AI agents?

You can use the scan endpoint without an API key to check a specific domain.

### What is the difference between an ingest key and an admin key?

The ingest key is used to send traffic data and is safe for use in site collectors, while the admin key is used to read reports and must be kept private.

### Can I identify if a specific request is from a real AI agent?

Yes, you can use the classify endpoint to identify and verify a request using a user agent and IP address.
