clever-code-mode-mcp
Provides tools for managing Clever Cloud resources, including deploying applications, searching API commands, and accessing documentation, enabling AI agents to interact with the Clever Cloud platform programmatically.
Click on "Deploy 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., "@clever-code-mode-mcplist my running Clever Cloud applications"
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.
clever-code-mode-mcp
An MCP server that gives AI agents full access to the Clever Cloud API through three tools: search, execute, and doc.
Instead of exposing 177 individual tools (one per API endpoint), the agent discovers available commands then writes JavaScript code to compose them — inspired by Cloudflare's Code Mode pattern.
How it works
The agent calls
searchwith a keyword (e.g."deploy application") and gets back matching commands with their parametersThe agent calls
executewith JavaScript code that uses a pre-authenticated Clever Cloud client and the discovered commands:
const apps = await client.send(
new commands.ListApplicationCommand({ ownerId: "orga_xxx" }),
{ signal }
);
return apps.filter(a => a.state === "RUNNING");The agent calls
docto search Clever Cloud's documentation index or fetch a specific page as markdown — useful for conceptual questions the API catalog can't answer (runtimes, add-ons, deployment model, environment variables, etc.).
The code runs locally on your machine with a configurable timeout. The full @clevercloud/client command library is available — including automatic owner ID resolution, response transformation, and structured error handling.
Related MCP server: mc8yp
Setup
Prerequisites
Node.js >= 22
A Clever Cloud API token (create one here)
Install
git clone https://github.com/davlgd/clever-code-mode-mcp.git
cd clever-code-mode-mcp
npm install
npm run generate-catalog
npm run buildConfigure in Claude Code
Using the CLI:
claude mcp add clever-cloud \
-e CLEVER_CLOUD_API_TOKEN=your-api-token \
-- node /absolute/path/to/clever-code-mode-mcp/dist/index.jsOr add a .mcp.json file at the root of your project:
{
"mcpServers": {
"clever-cloud": {
"command": "node",
"args": ["/absolute/path/to/clever-code-mode-mcp/dist/index.js"],
"env": {
"CLEVER_CLOUD_API_TOKEN": "${CLEVER_CLOUD_API_TOKEN}"
}
}
}
}The .mcp.json approach supports environment variable expansion (${VAR} or ${VAR:-default}), so you can keep your token in your shell environment rather than in the file itself.
Optional environment variables
Variable | Default | Description |
|
| Execution timeout in milliseconds |
|
| Maximum output length in characters |
License
Apache-2.0 — davlgd, 2026
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
A registry of AI agent tools — MCP servers, APIs, CLIs, SDKs — kept current by automated ingestion.
Related MCP Servers
- AlicenseAqualityDmaintenanceCode Mode MCP server for the OVH API. Two tools (search + execute) give LLMs access to all OVH endpoints via sandboxed JavaScript.23MIT
- AlicenseAqualityAmaintenanceAn MCP server that gives AI agents access to the full Cumulocity API surface through a compact code-mode interface.31666MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI agents to automatically discover, install, and learn to use new tools without manual configuration.3116MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that gives AI agents structured code understanding and precise code intelligence via local indexing of AST, call graphs, and semantic search.814Apache 2.0