Augment-MCP-Proxy
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Augment-MCP-ProxySwitch to claude-3-opus and analyze my current project structure."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ Augment MCP Proxy Server | Augment MCP Proxy
Use Third-Party Anthropic API in Augment โ Save Your Credits
A lightweight MCP proxy server that connects Augment (Anthropic's official VS Code extension) to third-party Anthropic APIs, so Augment credits are not consumed โ only third-party API quota is used. It runs fully locally, with code analysis done on your machine, keeping your privacy safe and secure.
A lightweight MCP proxy server that connects Augment (Anthropic's official VS Code extension) to third-party Anthropic APIs, saving Augment credits. Runs fully locally with code analysis done on your machine for privacy.
โจ Key Features
Feature | Description |
๐ฐ Save Credits | No Augment credits consumed; only third-party API quota used |
๐ Seamless Integration | Augment's experience stays exactly the same; all features supported |
๐ Runs Locally | Code analysis happens locally, source code is never uploaded, privacy-safe |
๐ค Multi-Model Support | Switch freely among three models: Haiku / Sonnet / Opus |
โก Lightweight | Only 2 dependencies (axios + dotenv), starts in seconds |
๐ช Cross-Platform | Runs on Windows / macOS / Linux |
Related MCP server: roblox-mcp-bridge
๐๏ธ How It Works
โโโโโโโโโโโโโโโโ HTTP โโโโโโโโโโโโโโโโโโโโ HTTPS โโโโโโโโโโโโโโโโโโโโ
โ Augment โ โโโโโโโโโโโโโ โ MCP Proxy โ โโโโโโโโโโโโโโ โ Third-Party โ
โ (VS Code) โ โโโโโโโโโโโโโ โ (localhost:3000)โ โโโโโโโโโโโโโโ โ Anthropic API โ
โโโโโโโโโโโโโโโโ ๅๅบ โโโโโโโโโโโโโโโโโโโโ ๅๅบ โโโโโโโโโโโโโโโโโโโโ
โ
โโ /v1/models โ ๆจกๅๅ่กจ
โโ /v1/messages โ ๆถๆฏ่ฝฌๅ
โโ /health โ ๅฅๅบทๆฃๆฅThe Augment plugin connects to the local proxy server via the MCP protocol. The proxy forwards requests to the third-party Anthropic API and returns responses to Augment. The entire process is completely transparent to Augment.
๐ Quick Start
Prerequisites
Node.js >= 14.0
npm >= 6.0Installation Steps
# 1. ๅ
้้กน็ฎ
git clone https://github.com/Windyhhh/Augment-MCP-Proxy.git
cd Augment-MCP-Proxy
# 2. ๅฎ่ฃ
ไพ่ต
npm install
# 3. ้
็ฝฎ็ฏๅขๅ้
cp .env.example .env
# ็ผ่พ .env๏ผๅกซๅ
ฅไฝ ็็ฌฌไธๆน API KeyConfigure .env
# ็ฌฌไธๆน API ๅฐๅ๏ผๅ
ผๅฎน Anthropic ๆ ผๅผ็ API๏ผ
THIRD_PARTY_API=https://your-api-endpoint.com/anthropic
# ไฝ ็ API Key
API_KEY=sk-your-api-key-here
# MCP ๆๅกๅจ็ซฏๅฃ๏ผ้ป่ฎค 3000๏ผ
MCP_PORT=3000Start the Server
# ๆนๅผไธ๏ผnpm
npm start
# ๆนๅผไบ๏ผ็ดๆฅ่ฟ่ก
node index.js
# ๆนๅผไธ๏ผWindows๏ผ๏ผPowerShell ่ๆฌ
.\start-server.ps1 startOnce it starts successfully, you will see:
========================================
MCP ไปฃ็ๆๅกๅจๅฏๅจๆๅ๏ผ
========================================
ๆๅกๅจๅฐๅ๏ผhttp://localhost:3000
็ฌฌไธๆน API๏ผhttps://your-api-endpoint.com/anthropic
ๆฏๆ็ๆจกๅ๏ผ
- claude-3-haiku-20240229 (Claude 3 Haiku)
- claude-3-sonnet-20240229 (Claude 3 Sonnet)
- claude-3-opus-20240229 (Claude 3 Opus)
========================================โ๏ธ Configuring Augment
1. Locate the MCP config file
Windows:
%APPDATA%\Code\User\globalStorage\anthropic.augment\mcp-servers.jsonmacOS:
~/Library/Application Support/Code/User/globalStorage/anthropic.augment/mcp-servers.jsonLinux:
~/.config/Code/User/globalStorage/anthropic.augment/mcp-servers.json2. Write the Configuration
Copy the contents of mcp-servers.json to the file above:
{
"mcpServers": {
"augment-proxy": {
"command": "node",
"args": ["path/to/index.js"],
"env": {
"MCP_PORT": "3000"
}
}
}
}3. Restart VS Code
Completely close VS Code and reopen it, then wait 5โ10 seconds for the MCP server to load.
4. Get Started
Enter the following in Augment's chat:
use claude-3-haiku-20240229, ไฝ ๅฅฝ๏ผ่ฏท็ปๆไธไธช Python Hello World ็คบไพ๐งช Testing & Verification
Health Check
curl http://localhost:3000/healthExpected output:
{"status":"ok","timestamp":"2025-01-01T00:00:00.000Z"}Fetch the Model List
curl http://localhost:3000/v1/modelsRun the Test Script (Windows)
.\test-api.ps1Confirm the Credit Savings
Compare Augment's credit balance before and after using the MCP proxy; it should not decrease.
๐ Project Structure
Augment-MCP-Proxy/
โโโ README.md # ๆฌๆไปถ
โโโ package.json # ้กน็ฎ้
็ฝฎ
โโโ package-lock.json # ไพ่ต้ๅฎ
โโโ .env.example # ็ฏๅขๅ้ๆจกๆฟ
โโโ .gitignore # Git ๅฟฝ็ฅ่งๅ
โโโ index.js # MCP ไปฃ็ๆๅกๅจไธปๆไปถ
โโโ start-server.ps1 # Windows ๅฏๅจ/ๅๆญข/้ๅฏ่ๆฌ
โโโ test-api.ps1 # API ๆต่ฏ่ๆฌ
โโโ mcp-servers.json # Augment MCP ้
็ฝฎ็คบไพ
โโโ AUGMENT_CONFIG_GUIDE.md # Augment ่ฏฆ็ป้
็ฝฎๆๅ๐ง API Endpoints
GET /health
Health check endpoint.
Response:
{
"status": "ok",
"timestamp": "2025-01-01T00:00:00.000Z"
}GET /v1/models
Retrieves the list of supported models.
Response:
{
"object": "list",
"data": [
{
"id": "claude-3-haiku-20240229",
"object": "model",
"created": 1735689600,
"owned_by": "anthropic"
}
]
}POST /v1/messages
Forwards message requests to third-party APIs.
Request body:
{
"model": "claude-3-sonnet-20240229",
"max_tokens": 4096,
"messages": [
{"role": "user", "content": "Hello!"}
],
"temperature": 0.7
}๐ฏ Supported Models
Model | Speed | Quality | Cost | Best Use Cases |
Haiku | โกโกโก | โญโญ | Lowest | Simple questions, code completion, everyday chat |
Sonnet | โกโก | โญโญโญโญ | Medium | General tasks, code review, recommended default |
Opus | โก | โญโญโญโญโญ | Higher | Complex problems, architecture design, deep analysis |
To switch models in Augment:
use claude-3-haiku-20240229, ...
use claude-3-sonnet-20240229, ...
use claude-3-opus-20240229, ...๐ ๏ธ PowerShell Script Usage
# ๅฏๅจๆๅกๅจ
.\start-server.ps1 start
# ๅๆญขๆๅกๅจ
.\start-server.ps1 stop
# ้ๅฏๆๅกๅจ
.\start-server.ps1 restart
# ๆต่ฏ่ฟๆฅ
.\start-server.ps1 testThis server cannot be deployed
Maintenance
Related MCP Connectors
Build and supervise fleets of agents from Claude Code, Codex or Cursor. Connects over OAuth.
- QuallaaOAuthcom.quallaa
Talk to your public-facing AI from any MCP client โ Claude, ChatGPT, Cursor, Cline, Windsurf.
The OpenRouter MCP server plugs OpenRouter into the AI tools you already use. Once connected, your assistant can pull live OpenRouter data (models, prices, your credits, rankings, and docs) and send quick test messages, all without leaving your editor.
Connect your agent to branchly: manage content, prompts, actions, learn from analytics and insights
Related MCP Servers
- AlicenseBqualityCmaintenanceConnects Antigravity to a LiteLLM instance, enabling chat completions, model listing, health checks, and more via the Model Context Protocol.11236MIT
- AlicenseNot gradedqualityBmaintenanceConnects Roblox Studio to local AI agents via HTTP, allowing them to control Studio tools.MIT
- AlicenseNot gradedqualityCmaintenanceConnects AnythingLLM to Coolify for natural language management of self-hosted infrastructure, including diagnostics, log fetching, and deployment automation.MIT
- AlicenseAqualityCmaintenanceConnects Claude Code to a local EverOS instance for searching and storing long-term memory, keeping data entirely on your machine.4Apache 2.0