openclaw-cli
Allows sending messages to Telegram, such as rain reports or other notifications.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@openclaw-cliIs there anything on my calendar for today?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
openclaw-cli
Talk to OpenClaw from your terminal with openclaw-cli, or run it as an MCP server with openclaw-cli mcp.
Install CLI
curl -fsSL https://raw.githubusercontent.com/TimoBechtel/openclaw-cli/main/install.sh | bashSkill
This repo ships a skill at skills/openclaw-cli/SKILL.md so agents can call the CLI directly.
Install it with:
npx skills add TimoBechtel/openclaw-cli --skill openclaw-cliCLI usage
openclaw-cli ask "Is there anything on my calendar for today?" # one-off question
openclaw-cli ask "Let's cancel this appointment and block 1h this afternoon for a coding session." --session-key "<session-key>" # continue same conversation
openclaw-cli ask "Send me a rain report for tomorrow on Telegram." --json # script-friendly JSON object: { response, sessionKey }
openclaw-cli ask "What should I do next?" --context=none # opt out of auto context injection
cat prompt.txt | openclaw-cli ask "Create a skill from this" # combine message argument + piped content
cat prompt.txt | openclaw-cli ask # stdin-only input also works
openclaw-cli mcp # run as an MCP server over stdioWhen omitted, --session-key is auto-generated.
MCP setup
Example MCP config for Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"openclaw": {
"command": "openclaw-cli",
"args": ["mcp"],
"env": {
"OPENCLAW_GATEWAY_TOKEN": "your-token-here"
}
}
}
}Configuration
Variable | Description | Default |
| OpenClaw Gateway URL |
|
| Bearer token for auth | - |
| Target agent ID |
|
| Prefix for generated session keys | - |
| Alias in MCP tool description |
|
Requirements
Enable OpenResponses in your OpenClaw config:
{ gateway: { http: { endpoints: { responses: { enabled: true } } } } }Do not expose your OpenClaw Gateway to the public internet. Use Tailscale for remote access.
Build from source
You need Bun.
bun install
bun run build:allThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TimoBechtel/openclaw-cli'
If you have feedback or need assistance with the MCP directory API, please join our Discord server