Skip to content
MCP server

AgentRaaS wrap

Wraps any MCP server so repeated write calls run once and every call is logged

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, self-hosted, API
Runs
Locally
Version
0.16.0
Listing updated
3 days ago

About AgentRaaS wrap

AgentRaaS wrap is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Put this in front of another MCP server and an identical call to one of its write tools inside a 10-minute window returns the first result instead of running again. That stops a looping agent from opening the same issue or sending the same email twice. Read-only tools always run, and every tool call lands in a local audit log. In a client config you replace the command with uvx agentraas wrap -- followed by the original server command.

It belongs to the wider AgentRaaS project, a self-hosted reliability layer that can also add policies, spend caps, Slack approval for risky calls and a Postgres audit trail when you run its server. The Python package adds an @exactly_once decorator backed by SQLite or Redis, protect_tool for LangChain and CrewAI, agentraas scan to list tools that can move money, delete data, run code or message people without calling them, and agentraas-chaos to find calls that double up under retries.

The website says about 2 ms is added per call. It is open source and free to self-host.

Install

Run in a terminal

claude mcp add agentraas -- uvx agentraas

Add to claude_desktop_config.json

{
  "mcpServers": {
    "agentraas": {
      "command": "uvx",
      "args": [
        "agentraas"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "agentraas": {
      "command": "uvx",
      "args": [
        "agentraas"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "agentraas": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agentraas"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "agentraas": {
      "command": "uvx",
      "args": [
        "agentraas"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "agentraas": {
      "command": "uvx",
      "args": [
        "agentraas"
      ]
    }
  }
}

What it does

Exactly-once writes
Identical write calls within a 10-minute window return the first result.
Local audit log
Every tool call through the wrapper is recorded.
Safety scan
agentraas scan lists risky tools in your MCP config without calling them.
Chaos tester
agentraas-chaos finds calls that would duplicate under retries and exits non-zero for CI.
Library decorators
@exactly_once and protect_tool cover plain functions, LangChain and CrewAI.
Optional server
Adds approvals, spend caps, circuit breaking and a dashboard when you want them.

Good for

  • Stop an agent loop from creating duplicate GitHub issues
  • Audit every tool call an agent makes
  • Find which MCP tools can move money or delete data
  • Prevent double charges when a workflow retries

Pricing

Open source

Free and self-hosted; AgentRaaS Cloud also exists

Prices change. Check agentraas.io before you buy.

AgentRaaS wrap FAQ

How do I install it?

pip install agentraas, then wrap an MCP server with agentraas wrap in your client config.

Do read tools get cached?

No. Read-only tools always run.

Does it need a server or account?

No. The wrapper, scan and chaos tools work locally; the server is optional.

What state store does it use?

SQLite by default or your own Redis.

Is AgentRaaS wrap free?

Yes. AgentRaaS wrap is open source, so you can use and self-host it for free.

How do I add AgentRaaS wrap to Claude Code?

Run this command in your terminal: claude mcp add agentraas -- uvx agentraas

What are the best alternatives to AgentRaaS wrap?

The closest alternatives to AgentRaaS wrap are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to AgentRaaS wrap

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools