

How to Use OpenClaw with the 2Slides MCP Server (2026 Guide)
Quick answer (≤60 words): OpenClaw can generate real PowerPoint files by adding the 2Slides MCP server under the
key inmcp.servers. Get a key at 2slides.com/api, add a stdio server (~/.openclaw/openclaw.json,command: "npx",args: ["2slides-mcp"]) or a remote one (env.API_KEY+url), then ask your OpenClaw agent to build a deck.transport: "streamable-http"
OpenClaw is an open-source AI agent framework, and it is a full Model Context Protocol (MCP) client. Wire in the 2Slides MCP server and any OpenClaw agent gains the ability to turn a brief — or a document it can read — into a finished, editable
.pptxThis guide covers the exact
openclaw.jsonopenclaw mcpWhy give OpenClaw the 2Slides server?
OpenClaw agents reason, plan, and read your files. They don't render binary slide files — that's a job for a dedicated generator. With 2Slides attached:
- OpenClaw decides the slide structure, copy, and narrative from your source material.
- The 2Slides MCP server produces the actual PowerPoint — theme-based Fast PPT, or image-designed slides with optional AI voice narration and an exportable asset bundle.
What you need first
- OpenClaw installed (on your PATH).
openclaw - A 2Slides API key from 2slides.com/api.
- Node.js for the stdio transport (). The HTTP transport needs nothing local.
npx 2slides-mcp
Stdio vs Streamable HTTP: which transport?
The 2Slides MCP server supports both. In OpenClaw, the two are distinguished simply by which fields you set — there is no type
| Stdio (local) | Streamable HTTP (remote) | |
|---|---|---|
| Identifying field | command | url |
| Transport field | n/a | transport: "streamable-http" |
| Local Node.js | Required | Not required |
| Best for | Local agents, full control | Remote/hosted agents, CI |
Method 1: stdio in openclaw.json
OpenClaw's config lives at
~/.openclaw/openclaw.jsonmcpservers{ "mcp": { "servers": { "2slides": { "command": "npx", "args": ["2slides-mcp"], "env": { "API_KEY": "YOUR_2SLIDES_API_KEY" } } } } }
That's it — the presence of
commandMethod 2: Streamable HTTP in openclaw.json
For the hosted endpoint, set
urltransport{ "mcp": { "servers": { "2slides": { "url": "https://2slides.com/api/mcp?apikey=YOUR_2SLIDES_API_KEY", "transport": "streamable-http" } } } }
Note: OpenClaw's canonical transport value is
(a legacy"streamable-http"alias is accepted but normalized away — writetype: "http"). If your key belongs in a header rather than the URL, usetransportinstead of the"headers": { "Authorization": "Bearer YOUR_2SLIDES_API_KEY" }query.?apikey=
Or use the openclaw mcp CLI
openclaw mcpThese write to the same
mcp.servers# stdio openclaw mcp add 2slides --command npx --arg 2slides-mcp --env API_KEY=YOUR_2SLIDES_API_KEY # remote (set the full server object as JSON) openclaw mcp set 2slides '{"url":"https://2slides.com/api/mcp?apikey=YOUR_2SLIDES_API_KEY","transport":"streamable-http"}'
Verify the connection
OpenClaw ships dedicated MCP diagnostics:
openclaw mcp status --verbose # resolved transport/auth/timeouts (static, no connection) openclaw mcp doctor 2slides --probe # static checks, then a live connection test openclaw mcp probe 2slides --json # connect live and list the exposed tools openclaw mcp reload # drop cached in-process MCP runtimes
A successful
probeslides_generatethemes_searchHow the tools reach your agent
Configured MCP tools are exposed automatically in OpenClaw's codingmessaging
- The profile hides MCP tools; switch profiles if you don't see them.
minimal - To disable MCP tools explicitly, add to
"bundle-mcp".tools.deny - To expose only some 2Slides tools, use per-server /
toolFilter.include(exact names ortoolFilter.excludeglobs):*
{ "mcp": { "servers": { "2slides": { "command": "npx", "args": ["2slides-mcp"], "env": { "API_KEY": "YOUR_2SLIDES_API_KEY" }, "toolFilter": { "include": ["themes_search", "slides_generate", "jobs_get"] } } } } }
To keep a server defined but inactive, set
"enabled": falseGenerate your first deck
Ask your OpenClaw agent in plain language:
Read PROJECT_BRIEF.md and generate an 8-slide overview deck. Find a clean "minimal" theme from 2slides first, then create the PowerPoint and give me the download link.
OpenClaw calls
themes_searchslides_generatedownloadUrlslides_create_pdf_slidesjobs_getThe 2Slides MCP tool surface
| Tool | What it does | Credits |
|---|---|---|
themes_search | Find a themeId | Free |
slides_generate | Theme-based PowerPoint (Fast PPT), sync/async | 10 / page |
slides_create_pdf_slides | Custom image-designed slides from text (Nano Banana) | 100 / page (1K/2K), 200 (4K) |
slides_create_like_this | Slides matching a reference image's style | 100 / page (1K/2K), 200 (4K) |
slides_generate_narration | Add AI voice narration to a Nano Banana job | 210 / page |
slides_download_pages_voices | Export pages + audio as a ZIP | Free |
jobs_get | Poll an async job to completion | Free |
Common mistakes and troubleshooting
- Used instead of
mcpServers. In OpenClaw config, the key ismcp.servers. (mcp.serversis a different, external-client concept — running OpenClaw as a server.)mcpServers - Wrote instead of
type.transportis a legacy alias; the canonical field istype.transport: "streamable-http" - Tools don't appear. You're likely on the profile, or
minimalcontainstools.deny. Switch tobundle-mcp/codingand runmessaging.openclaw mcp reload - stdio server won't start. Confirm Node.js is installed and is set in
API_KEY.env - Polling async jobs. Let the agent poll every ~20s; Nano Banana and narration jobs are async by default.
jobs_get
Frequently asked questions
Does OpenClaw support custom MCP servers?
Yes. OpenClaw is a native MCP client. Add servers under the
mcp.servers~/.openclaw/openclaw.jsonopenclaw mcp addopenclaw mcp setWhat's the config key for MCP servers in OpenClaw?
mcp.serversmcpcommandargsenvurltransport: "streamable-http"How do I confirm 2Slides is connected?
Run
openclaw mcp probe 2slides --jsonopenclaw mcp doctor 2slides --probeDoes it generate a real PowerPoint?
Yes.
slides_generate.pptxWhere do I get the key and config?
At 2slides.com/api?tab=mcp — your key, a copy-paste config, and the Streamable HTTP endpoint.
The takeaway
One
entry inmcp.serversgives every OpenClaw agent a slide generator. Stdio for local,openclaw.jsonfor remote — thentransport: "streamable-http"to prove it works.openclaw mcp probe
For the wider context, see how MCP is changing presentation workflows and the PowerPoint MCP server ecosystem map. Comparing agents? See how to use Claude Code and OpenAI Codex with the same server.
Get your key and config at 2slides.com/api?tab=mcp and give your OpenClaw agent a one-sentence path to a finished deck.
Sources:
About 2Slides
Create stunning AI-powered presentations in seconds. Transform your ideas into professional slides with 2slides AI Agent.
Try For Free