# InsForge MCP server

> Enables AI coding agents to build full-stack applications by managing databases, file storage, serverless functions, and authentication.

- Repository: https://github.com/InsForge/insforge-mcp
- Page: https://hostedmcp.org/servers/insforge/insforge-mcp
- Transport: stdio, remote
- Stars: 38
- License: Apache-2.0
- Latest version: 1.2.6

## Install

### Claude Code

```sh
claude mcp add --env 'API_KEY=<YOUR_API_KEY>' --env 'API_BASE_URL=<API_BASE_URL>' insforge-mcp -- npx -y @insforge/mcp
```

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

```json
{
  "mcpServers": {
    "insforge-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@insforge/mcp"
      ],
      "env": {
        "API_KEY": "<YOUR_API_KEY>",
        "API_BASE_URL": "<API_BASE_URL>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "insforge-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@insforge/mcp"
      ],
      "env": {
        "API_KEY": "<YOUR_API_KEY>",
        "API_BASE_URL": "<API_BASE_URL>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"insforge-mcp","type":"stdio","command":"npx","args":["-y","@insforge/mcp"],"env":{"API_KEY":"<YOUR_API_KEY>","API_BASE_URL":"<API_BASE_URL>"}}'
```

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

```json
{
  "mcpServers": {
    "insforge-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@insforge/mcp"
      ],
      "env": {
        "API_KEY": "<YOUR_API_KEY>",
        "API_BASE_URL": "<API_BASE_URL>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add insforge-mcp --env 'API_KEY=<YOUR_API_KEY>' --env 'API_BASE_URL=<API_BASE_URL>' -- npx -y @insforge/mcp
```

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

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

[mcp_servers.insforge-mcp.env]
API_KEY = "<YOUR_API_KEY>"
API_BASE_URL = "<API_BASE_URL>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'API_KEY=<YOUR_API_KEY>' -e 'API_BASE_URL=<API_BASE_URL>' insforge-mcp npx -- -y @insforge/mcp
```

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

```json
{
  "mcpServers": {
    "insforge-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@insforge/mcp"
      ],
      "env": {
        "API_KEY": "<YOUR_API_KEY>",
        "API_BASE_URL": "<API_BASE_URL>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `API_KEY` | yes | yes | InsForge project API key |
| `API_BASE_URL` | yes | no | InsForge backend URL (e.g. https://your-app.us-east.insforge.app) |

## FAQ

### What can InsForge do for my coding agents?

It allows coding agents to act as full-stack builders by adding backend features like authentication, databases, file storage, and serverless functions.

### Can I manually configure the MCP settings?

Yes, you can manually add the server configuration to your MCP settings file using npx and the @insforge/mcp package.
