Augment-MCP-Proxy
Click on "Install 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: LiteLLM MCP Server 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceConnects Claude to Portkey's API for managing AI configurations, workspaces, analytics, and user access, providing comprehensive control over API usage and settings.93MIT
- AlicenseBqualityCmaintenanceConnects Antigravity to a LiteLLM instance, enabling chat completions, model listing, health checks, and more via the Model Context Protocol.11455MIT
- 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
Related MCP Connectors
Connect AI agents to Replynodes over the Model Context Protocol.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors โ no code.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Windyhhh/Augment-MCP-Proxy'
If you have feedback or need assistance with the MCP directory API, please join our Discord server