clawpanel-mcp
MCP server exposing a ClawPanel workspace's knowledge base, memory, agents, and activity to MCP clients over OAuth 2.1, with strict tenant isolation.
README
clawpanel-mcp
Your ClawPanel workspace, as an MCP server. Clients connect from ChatGPT (deep-research compatible), Claude, or any MCP client over OAuth 2.1 — and see only their own workspace: knowledge base, memory, agents, and activity.
This is the client-facing sibling of zme-mcp and the alpha ring of ClawPanel's public API surface.
Tools
| Tool | What it does | Scope |
|---|---|---|
search / fetch |
ChatGPT-compatible pair over the tenant KB — {results: [{id, title, url}]}, fetch(id) → full text |
kb |
memory_search |
Semantic search over workspace memory | memory |
remember |
Add a memory item (note, decision, fact) | memory |
agents |
The workspace's agents (name, model, gateway) | brain |
workspace_status |
Agents + recent workflow runs + tool activity | brain |
chat_history |
Recent workspace chat messages | brain |
Every tool is tenant-scoped by the OAuth token. The client never passes a tenant id; the server resolves it from the authenticated profile and filters every query server-side.
How auth works (alpha)
Full OAuth 2.1: DCR, PKCE, authorization codes, refresh, revocation.
- ChatGPT/Claude discovers metadata, registers itself (DCR), opens
/authorize. - The client signs in with their ClawPanel email + passphrase.
- The server resolves email →
profilesrow →tenant_idand issues a token whose scopes come from server-side profile config — never from the request. - Scopes mirror the
mcp_tokensvocabulary:brain,memory,kb,drive.
Rings: alpha (passphrases in env, in-memory sessions) → beta (Supabase
auth sessions, persistent grants) → prod (per-profile labels, RLS-enforced
direct connections). Token contract is frozen from alpha.
Configuration
| Variable | Purpose |
|---|---|
CLAWPANEL_DB_URL |
Supabase project URL (defaults to the clawpanel_db project) |
CLAWPANEL_DB_KEY |
service-role JWT. Server-only — it bypasses RLS, so tenant isolation is enforced in code on every query. Auto-resolves from NoxKey zeuglab/clawpanel/CLAWPANEL_DB_SERVICE_ROLE_JWT on macOS. |
CLAWPANEL_OAUTH_PROFILES |
JSON: {"client@co.com": {"secret": "…", "scopes": ["brain","memory","kb"]}} |
CLAWPANEL_BASE_URL |
Public URL (for OAuth metadata/redirects) |
CLAWPANEL_RING |
alpha (default) / beta / prod |
NVIDIA_API_KEY |
Optional — enables vector arm of hybrid KB search and semantic memory search |
Run
uvicorn-grade Docker deploy: see Dockerfile + fly.toml → flyctl deploy
# local:
CLAWPANEL_OAUTH_PROFILES='{...}' clawpanel-mcp --http --port 8080
# → POST /mcp · GET /healthz · OAuth at /.well-known/*
Connect from ChatGPT
Settings → Security and login → Developer mode → on, then
chatgpt.com/plugins → + → https://clawpanel-mcp.fly.dev/mcp → sign in
with your ClawPanel email + passphrase. Works in deep research (search/fetch
make your KB citable).
Verification
scripts/verify_clawpanel.py runs the full OAuth dance for two tenants and
asserts tenant isolation (each sees only their own agents/chat, cross-tenant
fetch returns nothing), scope gating, and every tool against live data.
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.
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.
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.
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
E2B
Using MCP to run code via e2b.
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.