openclaw-task-mcp
MCP server for OpenClaw task lifecycle management, enabling starting, listing, and checking status of tasks via a Gateway API.
README
openclaw-task-mcp
Simple Node stdio MCP server for OpenClaw task lifecycle.
Tools:
start_task→sessions_spawnlist_tasks→sessions_list(subagent-filtered)get_task_status→sessions_history(+resultwhen available)
Requirements
- Node.js >= 18.19.1
- Reachable OpenClaw Gateway
- Gateway token with permission to invoke tools
Install
git clone https://github.com/EnviableAmaretto/openclaw-task-mcp.git
cd openclaw-task-mcp
npm install
npm run hooks:install
MCP config (Claude-code style / SillyTavern-style)
Put base URL and token directly in the MCP server env block:
{
"mcpServers": {
"openclaw": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/openclaw-task-mcp/src/index.js"],
"env": {
"OPENCLAW_BASE_URL": "http://127.0.0.1:18789",
"OPENCLAW_API_TOKEN": "your-gateway-token",
"OPENCLAW_TIMEOUT_MS": "30000"
}
}
}
}
args[0] must be the absolute path where you cloned this repository on your host.
Examples:
/home/sillytavern/SillyTavern/repositories/openclaw-task-mcp/src/index.js/opt/openclaw-task-mcp/src/index.js/srv/mcp/openclaw-task-mcp/src/index.js
No separate HTTP MCP endpoint is needed in this mode; the app launches this process over stdio.
Local run (manual)
OPENCLAW_BASE_URL="http://127.0.0.1:18789" \
OPENCLAW_API_TOKEN="YOUR_TOKEN" \
node src/index.js
Tests
npm test
Quality gates
- Local pre-push hook (
.githooks/pre-push) runsnpm test. - CI (
.github/workflows/ci.yml) runsnpm ci && npm teston push/PR. - Mandatory before commit: launch MCP server (
npm start) and execute at least one real E2E MCP call successfully. Tests alone are not sufficient.
Security notes
- Keep token private; do not commit it.
- Prefer private host networking for the OpenClaw URL.
- Rotate token regularly.
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.