# Auggie Mcp

> Run Augment Code as a coding agent via the Auggie CLI

- **Type:** MCP server
- **Install:** `agentstack add mcp-saharmor-auggie-mcp`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [saharmor](https://agentstack.voostack.com/s/saharmor)
- **Installs:** 0
- **Category:** [Integrations](https://agentstack.voostack.com/c/integrations)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [saharmor](https://github.com/saharmor)
- **Source:** https://github.com/saharmor/auggie-mcp

## Install

```sh
agentstack add mcp-saharmor-auggie-mcp
```

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

## About

# Auggie MCP Server

Minimal MCP server exposing Auggie CLI as tools for Q&A and code implementation.

## Tools

- ask_question: Repository Q&A via Auggie’s context engine.
- implement: Implement a change in the repo; dry-run by default.

## Requirements

- Node.js 18+
- Python 3.10+ available on the system (used internally; no manual setup needed)
- Auggie CLI installed (check by running `auggie --version`) - _see [installation guide](https://docs.augmentcode.com/cli/overview)_

## Authentication (AUGMENT_API_TOKEN)

Retrieve your token via the Auggie CLI:

```bash
# Ensure Auggie CLI is installed and on PATH
auggie --version

# Sign in (opens browser flow)
auggie login

# Print your token
auggie --print-augment-token
```

Provide the token in either of these ways:

- Cursor/Claude config (recommended): set it under `env` for the server

```json
{
  "mcpServers": {
    "auggie-mcp": {
      "command": "npx",
      "args": ["-y", "auggie-mcp@latest"],
      "env": { "AUGMENT_API_TOKEN": "YOUR_TOKEN" }
    }
  }
}
```

- Shell environment (macOS/Linux)

One-off for a single command:

```bash
AUGMENT_API_TOKEN=YOUR_TOKEN npx -y auggie-mcp --setup-only
```

Persist for future shells (zsh):

```bash
echo 'export AUGMENT_API_TOKEN=YOUR_TOKEN' >> ~/.zshrc
source ~/.zshrc
```

Security tip: never commit tokens to source control. Prefer per-machine environment variables or your client's secure config store.

## Configure Clients

### Cursor via npx

Use this MCP config in Cursor (global or per-project):

```json
{
  "mcpServers": {
    "auggie-mcp": {
      "command": "npx",
      "args": ["-y", "auggie-mcp@latest"],
      "env": { "AUGMENT_API_TOKEN": "YOUR_TOKEN" }
    }
  }
}
```

This will:
- download the wrapper package,
- create a local Python venv inside the package,
- install `requirements.txt`, and
- launch the Python server in `stdio` mode.

### Quick test via npx (terminal)

```bash
# Install deps into the package's local venv (no global installs)
npx -y auggie-mcp --setup-only

# Run the server (stdio). Useful for quick smoke-tests.
npx -y auggie-mcp

# Optional: start HTTP mode for manual debugging
npx -y auggie-mcp -- --http
```

### Claude Desktop (macOS)

Edit `~/Library/Application Support/Claude/claude_desktop_config.json` and add:

```json
{
  "mcpServers": {
    "auggie-mcp": {
      "command": "npx",
      "args": ["-y", "auggie-mcp@latest"],
      "env": { "AUGMENT_API_TOKEN": "YOUR_TOKEN" }
    }
  }
}
```

## Security and permissions

- Default: `implement` runs in dry‑run mode. No files are written, no shell runs; you get a proposed diff.
- Enable writes: set `dry_run: false`.
- Recommendation: use a feature branch and review the diff before merging.

## Source & license

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

- **Author:** [saharmor](https://github.com/saharmor)
- **Source:** [saharmor/auggie-mcp](https://github.com/saharmor/auggie-mcp)
- **License:** MIT

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-saharmor-auggie-mcp
- Seller: https://agentstack.voostack.com/s/saharmor
- 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%.
