# Infracodebase Mcp

> Connect your IDE's AI agent to Infracodebase — coding guidelines, rulesets, and CI compliance findings over MCP.

- **Type:** MCP server
- **Install:** `agentstack add mcp-onwardplatforms-infracodebase-mcp`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [onwardplatforms](https://agentstack.voostack.com/s/onwardplatforms)
- **Installs:** 0
- **Category:** [Cloud & Infrastructure](https://agentstack.voostack.com/c/cloud-infrastructure)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [onwardplatforms](https://github.com/onwardplatforms)
- **Source:** https://github.com/onwardplatforms/infracodebase-mcp
- **Website:** https://infracodebase.com

## Install

```sh
agentstack add mcp-onwardplatforms-infracodebase-mcp
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# @infracodebase/mcp

MCP server bringing [infracodebase](https://infracodebase.com)'s compliance, rulesets, and governance to your AI agent. Works with Claude Code/Desktop, Cursor, or any of your favorite MCP client.

## Quickstart

Get a token from [infracodebase.com/settings/tokens](https://infracodebase.com/settings/tokens), then add the server to your MCP client with the token in its `env`.

For Claude Code:

```bash
claude mcp add infracodebase --env INFRACODEBASE_TOKEN=icb_pat_xxx -- npx -y @infracodebase/mcp@latest
```

For Claude Desktop / Cursor and other clients, add to your `mcp.json`:

```json
{
  "mcpServers": {
    "infracodebase": {
      "command": "npx",
      "args": ["-y", "@infracodebase/mcp@latest"],
      "env": { "INFRACODEBASE_TOKEN": "icb_pat_xxx" }
    }
  }
}
```

## Self-hosted

Add `INFRACODEBASE_API_URL` to the same `env` block (or pass `--api-url`)

```json
"env": {
  "INFRACODEBASE_TOKEN": "icb_pat_xxx",
  "INFRACODEBASE_API_URL": "https://infra.your-company.com/api/v1"
}
```

No public npm access? Run from a clone instead - same server. Build it, then point your client at `node /abs/path/to/mcp/dist/index.js` with the same `env`:

```bash
git clone https://github.com/onwardplatforms/infracodebase-mcp.git
cd infracodebase-mcp && npm install && npm run build
```

## Configuration

Token and API URL resolve from flag → env var → default. There is no stored
config file: the MCP client owns the configuration and passes it in via `env`.

| Flag              | Env var                 | Default                            |
| ----------------- | ----------------------- | ---------------------------------- |
| `--token=` | `INFRACODEBASE_TOKEN`   | required                           |
| `--api-url=` | `INFRACODEBASE_API_URL` | `https://infracodebase.com/api/v1` |

## CLI

You rarely run this directly - your MCP client spawns it. When you do, use the
`npx` form (or `infracodebase` / `infracodebase-mcp` if installed globally):

```bash
npx -y @infracodebase/mcp@latest          # Start the server (stdio) - default
npx -y @infracodebase/mcp@latest help     # Full usage
```

## Development

```bash
npm install
npm run build
npm run test:run   # unit tests (Vitest)
npm run smoke      # offline test of the MCP protocol layer
```

See [CONTRIBUTING.md](https://github.com/onwardplatforms/infracodebase-mcp/blob/main/CONTRIBUTING.md)
for the full guide. MIT licensed.

## Releases

Versions are published to npm automatically. Each release is tagged `vX.Y.Z`
with notes generated from the changes in that release - browse the full
changelog on the
[GitHub Releases page](https://github.com/onwardplatforms/infracodebase-mcp/releases).

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [onwardplatforms](https://github.com/onwardplatforms)
- **Source:** [onwardplatforms/infracodebase-mcp](https://github.com/onwardplatforms/infracodebase-mcp)
- **License:** MIT
- **Homepage:** https://infracodebase.com

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-onwardplatforms-infracodebase-mcp
- Seller: https://agentstack.voostack.com/s/onwardplatforms
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
