# Credit Optimizer v5 for Manus AI

Routes Manus AI prompts between Standard, Max, and free Chat modes to cut credit waste by 30–75% without degrading output quality.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 52
- Author: rafsilva85
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/rafsilva85/credit-optimizer-v5
- Updated: 2026-05-25
- HTML: https://affpapa.org/en/nevibecode/mcp/credit-optimizer-v5-for-manus-ai

## What it does

The MCP server parses prompts before execution and determines intent across 12 distinct categories. Simple questions get redirected to Chat Mode at zero cost. Routine tasks drop to Standard instead of burning credits on the heavy Max tier.

A strict Quality Veto rule cancels adjustments whenever a prompt might lose precision. Routine work stays on Standard. In addition, the server compresses context between iterative steps and clusters related commands to prevent token counts from growing exponentially.

The standalone MCP distribution only includes model routing logic. It excludes the fast browser toolkit bundled with the commercial Manus Skill. The editor also requires explicit tool calls, while the paid skill runs in the background automatically.

## Requirements
- Needs: Python and uv (commands run via uvx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add credit-optimizer -- uvx mcp-credit-optimizer
```
uvx runs the command named after the package; if the README names another one, use uvx --from mcp-credit-optimizer <command>

### Codex

**Platform CLI**
```bash
codex mcp add credit-optimizer-v5-for-manus-ai -- uvx mcp-credit-optimizer
```
uvx runs the command named after the package; if the README names another one, use uvx --from mcp-credit-optimizer <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "credit-optimizer-v5-for-manus-ai": {
            "command": "uvx",
            "args": [
                "mcp-credit-optimizer"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from mcp-credit-optimizer <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "credit-optimizer-v5-for-manus-ai": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "mcp-credit-optimizer"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from mcp-credit-optimizer <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add credit-optimizer-v5-for-manus-ai uvx mcp-credit-optimizer
```
uvx runs the command named after the package; if the README names another one, use uvx --from mcp-credit-optimizer <command>

## When to use it
- route tasks to Standard when Max tier is unnecessary
- redirect simple queries to zero-cost Chat Mode
- compress conversation context between agent iterations
- batch related actions to minimize execution overhead

## Example prompts
- Route this prompt through Credit Optimizer before sending it to Manus AI
- Check if this code generation task requires Max mode or Standard
- Compress the current task context to minimize credit usage

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
