# Context Forge MCP server

> Manages complex AI-driven development projects by maintaining hierarchical state, methodology phases, and structured context for AI agents.

- Repository: https://github.com/ecorkran/context-forge
- Page: https://hostedmcp.org/servers/ecorkran/context-forge
- Transport: stdio
- Stars: 5
- License: MIT

## Install

### Claude Code

```sh
claude mcp add context-forge -- npx -y @context-forge/context-forge
```

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

```json
{
  "mcpServers": {
    "context-forge": {
      "command": "npx",
      "args": [
        "-y",
        "@context-forge/context-forge"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "context-forge": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@context-forge/context-forge"
      ]
    }
  }
}
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "context-forge": {
      "command": "npx",
      "args": [
        "-y",
        "@context-forge/context-forge"
      ]
    }
  }
}
```

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

```toml
[mcp_servers.context-forge]
command = "npx"
args = ["-y", "@context-forge/context-forge"]
```

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

```json
{
  "mcpServers": {
    "context-forge": {
      "command": "npx",
      "args": [
        "-y",
        "@context-forge/context-forge"
      ]
    }
  }
}
```

## FAQ

### How does Context Forge help AI agents?

It provides structured JSON output, an agent_quickstart via MCP, and maintains a traceable project state so agents have full awareness of the project's progress.
