composio
OpenClaw Composio Plugin
Give every user in a shared channel their own authenticated tools (Gmail, Outlook, Notion, GitHub, Sentry, …) through Composio's Tool Router — with per-user OAuth handled entirely in chat.
Each trusted message sender gets a dedicated Composio Tool Router session, delivered to the agent as a requester-scoped MCP server. One user's connected accounts are never reachable from another user's turns; runs without a verified sender (cron, subagents, heartbeats) get no Composio tools at all.
Community plugin — not an official
@openclaw/*package. Published to ClawHub under theobviyusowner scope.
Install (workspace admin, one time)
openclaw plugins install clawhub:@obviyus/composioFor local development, side-load instead: point plugins.load.paths at a clone
of this repo and enable composio.
Then provide your org-level Composio API key (from the
Composio dashboard) either as the
COMPOSIO_API_KEY environment variable or in config:
{
"plugins": {
"entries": {
"composio": { "enabled": true, "config": { "apiKey": "ak_..." } }
}
},
"mcp": {
"servers": {
// Identity declaration; the connection is resolved per user at run time.
"composio": { "transport": "streamable-http", "url": "https://composio.invalid/unresolved" }
}
}
}Related MCP server: Google Workspace MCP Server
Usage (end users, zero config)
Ask the agent for anything Composio can reach: "check my Gmail", "what's in my Sentry queue?". On first use the agent replies with a personal OAuth link; after connecting, the tools work — bound to that user only. Disconnecting an account (Composio dashboard or in chat) takes effect within about five minutes.
Files returned by Composio are downloaded through OpenClaw's guarded media
store before their signed URLs expire or are redacted. The agent receives a
managed MEDIA: reference it can attach to the reply.
Notes
The org API key never reaches end users or chat; per-user credentials live in Composio and never touch OpenClaw config, logs, or transcripts.
Requires an OpenClaw release with requester-scoped MCP connections (
registerMcpServerConnectionResolver).Per-user sessions persist across restarts only when the host grants the plugin keyed store (bundled or trusted-official install). Side-loaded, it falls back to an in-memory cache — sessions re-mint on restart, users never re-auth.
Development & release
Source lives in index.ts + src/. Tests are colocated (*.test.ts).
dist/ is build output — gitignored; the npm files whitelist ships it in the
published artifact. ClawHub requires that compiled output (raw .ts is
rejected) with openclaw/* imports left external (the host provides the plugin
SDK at runtime).
Releasing is a tag push. Bump the version, tag, push — GitHub Actions
(.github/workflows/publish.yml) builds dist/ and publishes to ClawHub:
# bump "version" in package.json, commit
git tag v0.1.2 && git push origin v0.1.2One-time setup: add a CLAWHUB_TOKEN repo secret (a ClawHub API token —
generate one in ClawHub settings, or clawhub token prints your current one):
gh secret set CLAWHUB_TOKEN --repo obviyus/openclaw-composioTo publish by hand instead (also builds locally):
bun build ./index.ts --outdir ./dist --target node --format esm --external 'openclaw/*'
clawhub package publish . --source-repo obviyus/openclaw-composio --source-commit "$(git rev-parse HEAD)" --dry-run
clawhub package publish . --source-repo obviyus/openclaw-composio --source-commit "$(git rev-parse HEAD)"Notes for maintainers:
openclaw.compat.pluginApigates the minimum host version — keep it at the first OpenClaw release that shippedregisterMcpServerConnectionResolver.openclaw.build.openclawVersionand the compileddist/are required by ClawHub publish validation.The Composio Tool Router API is versioned (
/api/v3.1/...); watch for breaking changes insrc/tool-router.tswhen Composio bumps it.
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect AI agents to 1000+ apps with managed authentication and tool-calling.
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
OAuth 2.1 short-link tools for AI agents with scoped tokens, approvals, audit logs, and revocation.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides 84 specialized tools for comprehensive Google Workspace automation including Gmail, Calendar, and Drive operations. Features persistent background service with centralized OAuth authentication through Composio for secure enterprise integration.3-
- AlicenseBqualityDmaintenanceProvides comprehensive natural language control over Google Workspace services including Gmail, Drive, Calendar, Docs, Sheets, Slides, Forms, Tasks, and Chat. Features multi-user OAuth 2.1 support, flexible tool tiers, and seamless integration with AI assistants.843MIT
- AlicenseAqualityDmaintenanceIntegrates AI assistants with Slack workspaces using OAuth 2.0 authenticated user tokens for secure, multi-functional interaction. It enables comprehensive operations including channel management, message searching, file handling, and reaction management through natural language.20169 npmMIT
- AlicenseBqualityDmaintenanceConnects AI assistants to Google Workspace (Gmail, Drive, Docs, Sheets, Slides, Calendar, Tasks, Forms, Chat, Contacts) through your own OAuth app, providing around 120 tools for managing email, files, calendar, and more.100MIT