composio
Provides each user in a shared channel with their own authenticated tools (e.g., Gmail, Outlook, GitHub) via Composio's Tool Router, handling per-user OAuth entirely within the chat.
README
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/composio
For 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" }
}
}
}
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.
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.2
One-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-composio
To 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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
E2B
Using MCP to run code via e2b.