{"_id":"@aerostack/openclaw-bridge","_rev":"8-3ced258c3690467a309fe96d5138552e","name":"@aerostack/openclaw-bridge","dist-tags":{"latest":"0.12.2"},"versions":{"0.1.0":{"name":"@aerostack/openclaw-bridge","version":"0.1.0","keywords":["aerostack","openclaw","mcp","model-context-protocol","bridge","stdio"],"author":{"name":"Aerostack"},"license":"MIT","_id":"@aerostack/openclaw-bridge@0.1.0","maintainers":[{"name":"aerostack","email":"navin10sharma@gmail.com"}],"bin":{"aerostack-openclaw-bridge":"dist/index.js"},"dist":{"shasum":"25f054a36209c2cb636bb271ea0a4bf049b7d10f","tarball":"https://registry.npmjs.org/@aerostack/openclaw-bridge/-/openclaw-bridge-0.1.0.tgz","fileCount":5,"integrity":"sha512-6TIpPBIYVK0k4ZP1G6uGjJsth1DqaW5BvkwtKt+b9DbbarMQFdGus9Mnsm3J0lp0Ba0qmBVvNF66HuJczcCuag==","signatures":[{"sig":"MEYCIQCcsJ/Y5W0+M8WdTUEc+ob5XbmHOe6vyC/c7GwDh94cggIhANcsDT6CHe3eNaoyZIIfDu2D69uvkI3ItV+G68nKqAUn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27351},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"dc8ce5b79614915714698fdea3447500a11b7590","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"aerostack","email":"navin10sharma@gmail.com"},"_npmVersion":"11.6.2","description":"stdio-to-HTTP bridge connecting OpenClaw to Aerostack Workspaces via MCP","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@modelcontextprotocol/sdk":"^1.25.3"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"~5.8.3","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-bridge_0.1.0_1775006298661_0.39008184721161765","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@aerostack/openclaw-bridge","version":"0.1.1","keywords":["aerostack","openclaw","mcp","model-context-protocol","bridge","stdio"],"author":{"name":"Aerostack"},"license":"MIT","_id":"@aerostack/openclaw-bridge@0.1.1","maintainers":[{"name":"aerostack","email":"navin10sharma@gmail.com"}],"bin":{"aerostack-openclaw-bridge":"dist/index.js"},"dist":{"shasum":"49b7867353d4b0bb2732a3fe35dfd832d387379f","tarball":"https://registry.npmjs.org/@aerostack/openclaw-bridge/-/openclaw-bridge-0.1.1.tgz","fileCount":5,"integrity":"sha512-l/qJw0aKX+XwwpB1p+KuJxX8bkPfW56Zxa1JOhn6iWXf/nIviV2BCiW45CAPfoeDFXZjMTsByX1g0KrL8u9hSQ==","signatures":[{"sig":"MEYCIQCKrnGzxkOSpbzK5gYlhBXWjI1/2UOJ0wdk82mBDgAxOQIhAOH4a5a9iWr3hblmNRpyPe+7Zuz1ziHDVDm51/tQ1S9K","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27368},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"dc8ce5b79614915714698fdea3447500a11b7590","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"aerostack","email":"navin10sharma@gmail.com"},"_npmVersion":"11.6.2","description":"stdio-to-HTTP bridge connecting OpenClaw to Aerostack Workspaces via MCP","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@modelcontextprotocol/sdk":"^1.25.3"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"~5.8.3","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-bridge_0.1.1_1775006978246_0.8030186358890552","host":"s3://npm-registry-packages-npm-production"}},"0.10.1":{"name":"@aerostack/openclaw-bridge","version":"0.10.1","keywords":["aerostack","openclaw","mcp","model-context-protocol","bridge","stdio"],"author":{"name":"Aerostack"},"license":"MIT","_id":"@aerostack/openclaw-bridge@0.10.1","maintainers":[{"name":"aerostack","email":"navin10sharma@gmail.com"}],"bin":{"aerostack-openclaw-bridge":"dist/index.js"},"dist":{"shasum":"decd4cc4ce83c95a5175a3e8df26b11e50d83e36","tarball":"https://registry.npmjs.org/@aerostack/openclaw-bridge/-/openclaw-bridge-0.10.1.tgz","fileCount":5,"integrity":"sha512-K1VoOcNEK+P1WhLG3gWQ4fHyywYVR2e599hYG/mYtGvLRtaJjlD2slRLHEoghFGyebTqU4HfS2olsiCPWHh0yQ==","signatures":[{"sig":"MEUCIQDiMI/nbEh+HMSPTf+xr3thUX7/eQXqVynxFRiPsUwFnAIgQb2PlaUjjC/yKT43Q6heR1mI/Ly8ehbVVokOcbHfvvI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28925},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"ba27d9303f21513b54a9c5f80fb0d51a0f081abf","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"aerostack","email":"navin10sharma@gmail.com"},"_npmVersion":"10.8.2","description":"stdio-to-HTTP bridge connecting OpenClaw to Aerostack Workspaces via MCP","directories":{},"_nodeVersion":"20.20.1","dependencies":{"@modelcontextprotocol/sdk":"^1.25.3"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"~5.8.3","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-bridge_0.10.1_1775010755577_0.08022188113676432","host":"s3://npm-registry-packages-npm-production"}},"0.11.0":{"name":"@aerostack/openclaw-bridge","version":"0.11.0","keywords":["aerostack","openclaw","mcp","model-context-protocol","bridge","stdio"],"author":{"name":"Aerostack"},"license":"MIT","_id":"@aerostack/openclaw-bridge@0.11.0","maintainers":[{"name":"aerostack","email":"navin10sharma@gmail.com"}],"bin":{"aerostack-openclaw-bridge":"dist/index.js"},"dist":{"shasum":"a594be8ebde7d4e7d9bf337fd91936c9b5324c07","tarball":"https://registry.npmjs.org/@aerostack/openclaw-bridge/-/openclaw-bridge-0.11.0.tgz","fileCount":11,"integrity":"sha512-+DvOFulbEQQaz9uO8dOxb5ViWFZ1hZNa/AgllxeFNWfRHILcrZLGoqROn8N20WgPJfOlGVouUoM5Okg2Kr1VfA==","signatures":[{"sig":"MEQCIGyI24OEmGFsjyKDbOuejJgnw7PCvTrrHmC0QnnuwoDhAiBPKo2K6Na9wol3TcgIxsQ/negSke/uN80kf093I5gJ5Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46165},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"194ea5b91f8f14ce1a333c3229d8742015ef45d3","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"aerostack","email":"navin10sharma@gmail.com"},"_npmVersion":"10.8.2","description":"stdio-to-HTTP bridge connecting OpenClaw to Aerostack Workspaces via MCP","directories":{},"_nodeVersion":"20.20.1","dependencies":{"ws":"^8.18.0","@modelcontextprotocol/sdk":"^1.25.3"},"_hasShrinkwrap":false,"devDependencies":{"@types/ws":"^8.5.13","typescript":"~5.8.3","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-bridge_0.11.0_1775033415687_0.9445566912092773","host":"s3://npm-registry-packages-npm-production"}},"0.11.1":{"name":"@aerostack/openclaw-bridge","version":"0.11.1","keywords":["aerostack","openclaw","mcp","model-context-protocol","bridge","stdio"],"author":{"name":"Aerostack"},"license":"MIT","_id":"@aerostack/openclaw-bridge@0.11.1","maintainers":[{"name":"aerostack","email":"navin10sharma@gmail.com"}],"bin":{"aerostack-openclaw-bridge":"dist/index.js"},"dist":{"shasum":"a083f2e4b19f5ad62bbf3698b8f5b1eb7f7b0425","tarball":"https://registry.npmjs.org/@aerostack/openclaw-bridge/-/openclaw-bridge-0.11.1.tgz","fileCount":11,"integrity":"sha512-Ub+zbvjlKKPf3FnruqnwmAcqWBCacApsTbU3K6gn8f1PaW2vXtM0dbN/JwtQz357FAWqrPq7C6RptbPv6KCh8g==","signatures":[{"sig":"MEQCICxgE61Axg6MLw+AAHaj/gosLccGJwqXOp44mRK1Z7pKAiBze+T4stJHsIak0j/VwLjb3cnz1deN+mShDVy1/Nwsrg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48581},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"7140681534048f7657ad2cee2ddd3d100ec5384c","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"aerostack","email":"navin10sharma@gmail.com"},"_npmVersion":"10.8.2","description":"stdio-to-HTTP bridge connecting OpenClaw to Aerostack Workspaces via MCP","directories":{},"_nodeVersion":"20.20.1","dependencies":{"ws":"^8.18.0","@modelcontextprotocol/sdk":"^1.25.3"},"_hasShrinkwrap":false,"devDependencies":{"@types/ws":"^8.5.13","typescript":"~5.8.3","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-bridge_0.11.1_1775036398460_0.22015228510024953","host":"s3://npm-registry-packages-npm-production"}},"0.12.0":{"name":"@aerostack/openclaw-bridge","version":"0.12.0","keywords":["aerostack","openclaw","mcp","model-context-protocol","bridge","stdio"],"author":{"name":"Aerostack"},"license":"MIT","_id":"@aerostack/openclaw-bridge@0.12.0","maintainers":[{"name":"aerostack","email":"navin10sharma@gmail.com"}],"bin":{"aerostack-openclaw-bridge":"dist/index.js"},"dist":{"shasum":"8108040f5832b3b57611c8be839e79df8a4118cd","tarball":"https://registry.npmjs.org/@aerostack/openclaw-bridge/-/openclaw-bridge-0.12.0.tgz","fileCount":14,"integrity":"sha512-efMip2GdUn1OxAmiVzOyQgmgalJJ1gTpFYxmQFvtAJckZg5AF5+Slq6VZmkez8oSBGo5JsSVjrXTntVSQs/Qdw==","signatures":[{"sig":"MEYCIQDR13OcDSa/x+TcLaUfx2iKR22+00dSaQT/XDOLjl5ELQIhALWQXV14SDzm/J69BsUFhIyF+NiZtfrN97i1eNpIgSwt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70392},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"d741fa3a22cda2f29cb4763c4163c929049a7067","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"aerostack","email":"navin10sharma@gmail.com"},"_npmVersion":"11.6.2","description":"stdio-to-HTTP bridge connecting OpenClaw to Aerostack Workspaces via MCP","directories":{},"_nodeVersion":"24.13.0","dependencies":{"ws":"^8.18.0","@modelcontextprotocol/sdk":"^1.25.3"},"_hasShrinkwrap":false,"devDependencies":{"@types/ws":"^8.5.13","typescript":"~5.8.3","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-bridge_0.12.0_1775041899191_0.14855256686259644","host":"s3://npm-registry-packages-npm-production"}},"0.12.1":{"name":"@aerostack/openclaw-bridge","version":"0.12.1","keywords":["aerostack","openclaw","mcp","model-context-protocol","bridge","stdio"],"author":{"name":"Aerostack"},"license":"MIT","_id":"@aerostack/openclaw-bridge@0.12.1","maintainers":[{"name":"aerostack","email":"navin10sharma@gmail.com"}],"bin":{"aerostack-openclaw-bridge":"dist/index.js"},"dist":{"shasum":"9dcc87baa6f02f08d5991d7d249c50e8a009f35b","tarball":"https://registry.npmjs.org/@aerostack/openclaw-bridge/-/openclaw-bridge-0.12.1.tgz","fileCount":11,"integrity":"sha512-3IfYPMfAE5VSZ5o4JV/uYkeWCeeIOaqAqPz4L5km4cM3P2B7YYKBzyWpMlJLmOI8rVozWW7vVyG/AlY8xjWIMw==","signatures":[{"sig":"MEUCIEfZ+MDE+4e87t19CmXOmawj3OkIykZI9fvA2pMTiU/JAiEAkrceLn46VXqI4gHNS8xbkQh/88SxP6lA4WhXaFypUHA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51591},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"50d536626ed4b1148f7e9ac450f9474930b88b7f","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"aerostack","email":"navin10sharma@gmail.com"},"_npmVersion":"11.6.2","description":"stdio-to-HTTP bridge connecting OpenClaw to Aerostack Workspaces via MCP","directories":{},"_nodeVersion":"24.13.0","dependencies":{"ws":"^8.18.0","@modelcontextprotocol/sdk":"^1.25.3"},"_hasShrinkwrap":false,"devDependencies":{"@types/ws":"^8.5.13","typescript":"~5.8.3","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/openclaw-bridge_0.12.1_1775047140975_0.8190338746302872","host":"s3://npm-registry-packages-npm-production"}},"0.12.2":{"name":"@aerostack/openclaw-bridge","version":"0.12.2","description":"stdio-to-HTTP bridge connecting OpenClaw to Aerostack Workspaces via MCP","author":{"name":"Aerostack"},"license":"MIT","type":"module","main":"dist/index.js","types":"dist/index.d.ts","bin":{"aerostack-openclaw-bridge":"dist/index.js"},"scripts":{"build":"node scripts/build.mjs","prepublishOnly":"npm run build"},"dependencies":{"@modelcontextprotocol/sdk":"^1.25.3","ws":"^8.18.0"},"devDependencies":{"@types/node":"^22.0.0","@types/ws":"^8.5.13","esbuild":"^0.21.5","typescript":"~5.8.3"},"engines":{"node":">=18"},"keywords":["aerostack","openclaw","mcp","model-context-protocol","bridge","stdio"],"gitHead":"5307a213b4caba83e818915b820afed93a16235c","_id":"@aerostack/openclaw-bridge@0.12.2","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-q5PyQWq8QEvZfoVeZljS7dGWpp9tsHWmsVY2WQBg8mVk71KbWYRBhrMtEaTdrAXUReP4zl9y08CRuDLZVFoeVw==","shasum":"b4f12d7b2b015f043588b9aa3d1dadbe319fbe6e","tarball":"https://registry.npmjs.org/@aerostack/openclaw-bridge/-/openclaw-bridge-0.12.2.tgz","fileCount":5,"unpackedSize":18419,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD58BSkr0HacwKlKH3qRtcRoBBOvZvlG/3+N2H3oTsA5gIgCEQwuDtqPBsz6yfDj3V3rPAy4mu3IXGckacXaJuUbyw="}]},"_npmUser":{"name":"aerostack","email":"navin10sharma@gmail.com"},"directories":{},"maintainers":[{"name":"aerostack","email":"navin10sharma@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/openclaw-bridge_0.12.2_1775049731725_0.9825817930746399"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-01T01:18:18.556Z","modified":"2026-04-01T13:22:11.981Z","0.1.0":"2026-04-01T01:18:18.837Z","0.1.1":"2026-04-01T01:29:38.460Z","0.10.1":"2026-04-01T02:32:35.770Z","0.11.0":"2026-04-01T08:50:15.806Z","0.11.1":"2026-04-01T09:39:58.603Z","0.12.0":"2026-04-01T11:11:39.368Z","0.12.1":"2026-04-01T12:39:01.128Z","0.12.2":"2026-04-01T13:22:11.869Z"},"author":{"name":"Aerostack"},"license":"MIT","keywords":["aerostack","openclaw","mcp","model-context-protocol","bridge","stdio"],"description":"stdio-to-HTTP bridge connecting OpenClaw to Aerostack Workspaces via MCP","maintainers":[{"name":"aerostack","email":"navin10sharma@gmail.com"}],"readme":"# @aerostack/openclaw-bridge\n\nConnect [OpenClaw](https://openclaw.ai) to any [Aerostack Workspace](https://aerostack.dev) — one URL, all your MCP tools, with built-in security.\n\n[![License: MIT](https://img.shields.io/badge/LICENSE_//_MIT-3b5bdb?style=for-the-badge&labelColor=eff6ff)](https://opensource.org/licenses/MIT)\n[![npm](https://img.shields.io/npm/v/@aerostack/openclaw-bridge?style=for-the-badge&color=3b5bdb&labelColor=eff6ff)](https://www.npmjs.com/package/@aerostack/openclaw-bridge)\n\n## Why?\n\nOpenClaw only supports **stdio** MCP servers. Aerostack Workspaces use **HTTP**. This bridge connects them — no code required.\n\nInstead of configuring 50 separate MCP servers in OpenClaw, point at one Aerostack Workspace and get:\n\n- **All tools in one place** — composed from multiple MCP servers\n- **Centralized OAuth** — 27+ providers managed by Aerostack, not your agent\n- **Human approval gates** — sensitive tools require workspace owner approval before executing\n- **Local Guardian** — approval gates for local operations (file delete, shell, git push, deploy)\n- **Per-tool permissions** — workspace tokens scope exactly which tools are accessible\n- **Usage tracking & audit** — every tool call logged and metered\n- **Rate limiting** — per-token, plan-tiered\n\n## Quick Start\n\n### 1. Get a workspace token\n\nIn your [Aerostack Admin Dashboard](https://app.aerostack.dev), go to your workspace settings and generate a token (`mwt_...`).\n\n### 2. Configure OpenClaw\n\nAdd to your OpenClaw config (`openclaw.json` or via `openclaw mcp set`):\n\n```json\n{\n  \"mcp\": {\n    \"servers\": {\n      \"my-workspace\": {\n        \"command\": \"npx\",\n        \"args\": [\"-y\", \"@aerostack/openclaw-bridge\"],\n        \"env\": {\n          \"AEROSTACK_WORKSPACE_URL\": \"https://api.aerostack.dev/api/gateway/ws/my-workspace\",\n          \"AEROSTACK_TOKEN\": \"mwt_your_token_here\"\n        }\n      }\n    }\n  }\n}\n```\n\nOr via CLI:\n\n```bash\nopenclaw mcp set my-workspace '{\n  \"command\": \"npx\",\n  \"args\": [\"-y\", \"@aerostack/openclaw-bridge\"],\n  \"env\": {\n    \"AEROSTACK_WORKSPACE_URL\": \"https://api.aerostack.dev/api/gateway/ws/my-workspace\",\n    \"AEROSTACK_TOKEN\": \"mwt_your_token_here\"\n  }\n}'\n```\n\n### 3. Use it\n\n```\nYou: Search GitHub for open issues in my repo\nOpenClaw: [calls github__search_issues via Aerostack workspace]\n```\n\nTools are namespaced as `{server}__{tool}` (e.g., `github__create_issue`, `slack__send_message`).\n\n## How It Works\n\n```\nOpenClaw (stdio) → Bridge (this package) → HTTPS → Aerostack Workspace Gateway\n                                                         ↓\n                                            ┌─────────────────────────┐\n                                            │  Fan-out to MCP servers │\n                                            │  GitHub, Slack, Gmail,  │\n                                            │  custom Workers, etc.   │\n                                            └─────────────────────────┘\n```\n\nThe bridge:\n\n1. Starts as a stdio MCP server (what OpenClaw expects)\n2. Forwards all JSON-RPC requests to your workspace over HTTPS\n3. Handles SSE streaming responses transparently\n4. Manages the approval gate flow automatically\n\n## Approval Gates\n\nWhen a workspace owner configures approval requirements on sensitive tools, the bridge handles it transparently:\n\n```\nOpenClaw calls dangerous_tool\n  → Bridge forwards to workspace\n  → Workspace returns \"needs approval\" (-32050)\n  → Bridge waits via WebSocket (instant) or polls as fallback\n  → Workspace owner approves/rejects in dashboard or mobile\n  → Bridge retries on approval, returns error on rejection\n```\n\nYour OpenClaw agent sees either a successful result or a clear error — no special handling needed.\n\n## Local Guardian\n\nApproval gates for **local operations** — file deletion, destructive shell commands, git push, deploys, and more. The agent asks for approval before acting on your machine.\n\n### How it works\n\nThe bridge injects an `aerostack__local_guardian` tool alongside your workspace tools. When the LLM is about to perform a risky local operation, it calls this tool first. The bridge sends an approval request to your workspace — you get a push notification and can approve or reject from the dashboard or your phone.\n\n```\nAgent wants to: rm -rf ./old-config/\n  → Agent calls aerostack__local_guardian (action: \"delete old-config directory\")\n  → Bridge sends approval request to workspace\n  → You get push notification: \"[LOCAL] delete old-config directory\"\n  → You tap Approve or Reject\n  → Agent proceeds or stops\n```\n\n### Default rules\n\nThe guardian covers these categories out of the box:\n\n| Category | What it covers |\n|----------|---------------|\n| `file_delete` | Deleting, removing, or overwriting files |\n| `shell_destructive` | `rm -rf`, `DROP TABLE`, `TRUNCATE`, etc. |\n| `git_push` | `git push`, force push, `git reset --hard` |\n| `config_modify` | `.env`, credentials, secrets, production configs |\n| `deploy` | Deploy, publish, release to any environment |\n| `database` | Direct database mutations outside of migrations |\n\n### Custom rules (from your dashboard)\n\nConfigure custom rules in your workspace settings via the Aerostack Admin Dashboard or API:\n\n```bash\n# Example: add a custom \"email\" rule via API\ncurl -X PATCH \"https://api.aerostack.dev/api/community/workspaces/{id}\" \\\n  -H \"Authorization: Bearer YOUR_JWT\" \\\n  -d '{\n    \"settings\": {\n      \"local_guardian_rules\": [\n        { \"category\": \"email\", \"description\": \"Sending any email\", \"examples\": [\"send email\", \"compose\", \"reply\"] },\n        { \"category\": \"payments\", \"description\": \"Any payment or billing operation\", \"examples\": [\"charge\", \"refund\", \"invoice\"] },\n        { \"category\": \"file_delete\", \"description\": \"Deleting files\", \"examples\": [\"rm\", \"unlink\"] }\n      ]\n    }\n  }'\n```\n\nWhen workspace rules are configured, they **replace** the defaults. The bridge fetches rules automatically during initialization — no env vars needed.\n\n### Disable Local Guardian\n\n**From the dashboard:** Set `local_guardian_enabled: false` in workspace settings.\n\n**From the agent side:** Set `AEROSTACK_LOCAL_GUARDIAN=false` in env to force-disable regardless of workspace config.\n\n### Requires workspace approval rules\n\nLocal Guardian uses your workspace's approval system. You need at least one approval rule configured in your workspace settings. If no rules are configured, the guardian allows all actions with a warning.\n\n## Configuration\n\nAll configuration is via environment variables:\n\n| Variable | Required | Default | Description |\n|----------|----------|---------|-------------|\n| `AEROSTACK_WORKSPACE_URL` | Yes | — | Full workspace endpoint URL |\n| `AEROSTACK_TOKEN` | Yes | — | Workspace token (`mwt_...`) |\n| `AEROSTACK_APPROVAL_POLL_MS` | No | `3000` | Approval polling interval (ms) |\n| `AEROSTACK_APPROVAL_TIMEOUT_MS` | No | `300000` | Max approval wait time (5 min) |\n| `AEROSTACK_REQUEST_TIMEOUT_MS` | No | `30000` | HTTP request timeout (30s) |\n| `AEROSTACK_LOCAL_GUARDIAN` | No | `true` | Force-disable Local Guardian (`false` to disable) |\n| `AEROSTACK_LOG_LEVEL` | No | `info` | Log level (debug, info, warn, error) |\n\n## Supported MCP Methods\n\n| Method | Description |\n|--------|-------------|\n| `tools/list` | List all tools from all workspace servers |\n| `tools/call` | Call a namespaced tool (with approval handling) |\n| `resources/list` | List resources from all workspace servers |\n| `resources/read` | Read a specific resource |\n| `prompts/list` | List prompts from all workspace servers |\n| `prompts/get` | Get a prompt with arguments |\n\n## Works With Any stdio MCP Client\n\nWhile built for OpenClaw, this bridge works with **any MCP client that supports stdio transport** — Claude Desktop, Cursor, Windsurf, or custom integrations.\n\n## Requirements\n\n- Node.js 18+\n- An Aerostack account with a configured workspace\n- A workspace token with appropriate tool permissions\n\n## Links\n\n- [Aerostack Docs](https://docs.aerostack.dev)\n- [Aerostack Admin](https://app.aerostack.dev)\n- [OpenClaw](https://openclaw.ai)\n- [MCP Specification](https://modelcontextprotocol.io)\n\n## License\n\nMIT\n","readmeFilename":"README.md"}