openclaw-http-test
v0.1.0
Published
OpenClaw plugin - Manage an Express HTTP server lifecycle and expose tools to agents
Maintainers
Readme
openclaw-http
OpenClaw plugin that manages an Express HTTP server lifecycle and exposes tools to agents.
Install
npm install openclaw-httpFeatures
- Manages an Express HTTP server as an OpenClaw service (auto start/stop with Gateway)
- Registers agent tools (e.g.,
get_weather_demo) - Exposes Gateway RPC method
express-backend.status
Usage
Load as an OpenClaw plugin. The Gateway will call start() on boot and stop() on shutdown.
Files
| File | Description |
|------|-------------|
| index.mjs | Plugin entry point, registers service and tools |
| server.cjs | Express HTTP server (port 8999) |
| openclaw.plugin.json | Plugin metadata |
Registered Tools
get_weather_demo- Demo tool that returns mock weather data for a given city
Quick Test
# After Gateway starts the service
curl http://127.0.0.1:8999/api/runtimesLicense
MIT
