# The Agent Forge MCP server

> Allows AI agents to scan skills, tools, and packages for security risks, prompt injection, and vulnerabilities before installation.

- Repository: https://github.com/theagentforge/forge-mcp
- Page: https://hostedmcp.org/servers/theagentforge/forge-mcp
- Transport: remote
- Stars: 0
- License: MIT
- Latest version: 0.5.2

## Install

### Claude Code

```sh
claude mcp add --transport http forge-mcp https://theagentforge.io/mcp/public
```

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

```json
{
  "mcpServers": {
    "forge-mcp": {
      "url": "https://theagentforge.io/mcp/public"
    }
  }
}
```

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

```json
{
  "servers": {
    "forge-mcp": {
      "type": "http",
      "url": "https://theagentforge.io/mcp/public"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"forge-mcp","type":"http","url":"https://theagentforge.io/mcp/public"}'
```

### Codex

```sh
codex mcp add forge-mcp --url https://theagentforge.io/mcp/public
```

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

```toml
[mcp_servers.forge-mcp]
url = "https://theagentforge.io/mcp/public"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http forge-mcp https://theagentforge.io/mcp/public
```

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

```json
{
  "mcpServers": {
    "forge-mcp": {
      "url": "https://theagentforge.io/mcp/public",
      "type": "http"
    }
  }
}
```

## Tools (6)

- `forge_check`
- `forge_scan`
- `forge_watch`
- `forge_exposure`
- `forge_traps`
- `arena_results`

## FAQ

### Does using The Agent Forge require an API key?

No, the server is read-only and requires no API key or account.

### What can the skill scanner detect?

It scans for prompt injection, hidden instructions, shell-piped downloads, credential/key-file reads, and data exfiltration to unknown endpoints.

### How does the server handle package vulnerability checks?

It matches installed npm and PyPI versions against published OSV advisories and CISA's known-exploited list.
