cloudlayer.io MCP server for AI agents

Live

API KEY

DOCUMENT GENERATION

Files & Documents

cloudlayer.io gives your agent document generation in your cloudlayer.io account: render HTML, web pages, and templates to PDF or images, follow generation jobs, and read stored files, storage settings, and usage.

  • Per-user credentials: each call uses the actual user's API key, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
cloudlayer.io
agent · Acme Q3
Run
Capture the pricing page at example.com/pricing as a PDF.
S
cloudlayer_url_to_pdf
1320ms
Document agent
Started a PDF job for example.com/pricing. It returned a job id with the status pending, and the file is ready once the job succeeds.
Sources: cloudlayer.io PDF job, 1 page
cloudlayer
1 job
18:29
Message Claude...

Tools your document generation agent reaches for on cloudlayer.io, scoped per user.

CALL ANY TOOL
14 tools for document generation in cloudlayer.io: render HTML, web pages, and templates to PDF or images, follow generation jobs, and read stored files, storage configurations, and account usage.
cloudlayer_account_get
Get account
Get your cloudlayer.io account usage and limits. Returns the subscription, calls used and limit, remaining credit, bytes, compute time, storage and job counts. Use it to check quota before large batches.
Parameters
Name
Type
Required
Description
—
No parameters required
cloudlayer_asset_get
Get asset
cloudlayer_assets_list
List assets
cloudlayer_html_to_image
Html to image
cloudlayer_html_to_pdf
Html to pdf
cloudlayer_job_get
Get job
cloudlayer_jobs_list
List jobs
cloudlayer_storage_delete
Delete storage
cloudlayer_storage_get
Get storage
cloudlayer_storage_list
List storage
cloudlayer_template_to_image
Template to image
cloudlayer_template_to_pdf
Template to pdf
cloudlayer_url_to_image
Url to image
cloudlayer_url_to_pdf
Url to pdf
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// cloudlayer.io tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["cloudlayer"], toolNames: [
    "cloudlayer_url_to_pdf",
    "cloudlayer_job_get",
    "cloudlayer_asset_get"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Capture the pricing page as a PDF, check the job status, and fetch the stored file" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["cloudlayer"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Capture the pricing page as a PDF, check the job status, and fetch the stored file" }],
  tools,
});

// Execute the tool call with the user's vaulted cloudlayer.io API key
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["cloudlayer"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Capture the pricing page as a PDF, check the job status, and fetch the stored file" }],
  tools,
});

// Tool call runs with the user's vaulted cloudlayer.io API key
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["cloudlayer"] }, pageSize: 100,
});

const agent = new Agent({
  name: "document_agent",
  model: "gemini-2.5-pro",
  instruction: "cloudlayer.io tools scoped to this user",
  tools,
});

await agent.run("Capture the pricing page as a PDF, check the job status, and fetch the stored file");
Try these prompts
Copy any prompt into your agent. Each maps directly to a cloudlayer.io tool. Click to copy, paste into your agent, done.
Render to PDF
Copy the prompt
Copied
Capture this URL as a PDF.
Copy the prompt
Copied
Render this HTML to a PDF.
Copy the prompt
Copied
Generate a PDF from a gallery template filled with this data.
Render to image
Copy the prompt
Copied
Take a screenshot of this page as a PNG.
Copy the prompt
Copied
Render this HTML to a WebP image.
Copy the prompt
Copied
Generate an image from my template with this order data.
Jobs, files, and usage
Copy the prompt
Copied
Show the status of my latest generation job.
Copy the prompt
Copied
List my stored generated files, newest first.
Copy the prompt
Copied
How many calls have I used this period?
SEE HOW AUTH WORKS
Each user connects their own cloudlayer.io API key once, and Scalekit sends it with every call. Keys stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
cloudlayer.io
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
cloudlayer.io
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
cloudlayer.io
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
cloudlayer.io
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other files and documents connectors.
Engineering Teams
Auto release notes agent
Reads merged GitHub PRs, groups them into structured release notes, publishes the page to Notion, and announces the release in Slack. Every call runs on the engineer's own delegated OAuth.
Test other agents
See the same per-user auth pattern across other files and documents connectors.
ENGINEERING
Auto-release notes agent
Group merged GitHub PRs into structured release notes, publish the page to Notion, and announce the release in Slack.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared cloudlayer.io API key looks fine in a demo. In production every generation job looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
cloudlayer.io today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access cloudlayer.io as the user or through a shared key?
As the user. Each user connects their own cloudlayer.io API key once, and Scalekit sends it with every call. Audit logs attribute every generation job to that user, not a shared service account.
Where is the cloudlayer.io API key stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new API key. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in cloudlayer.io?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the render tools and the job and asset reads without cloudlayer_storage_delete, which deletes an S3-compatible storage configuration. Scalekit also enforces scope checks before every API call.
What happens when a user revokes cloudlayer.io access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
How does the agent get the finished file?
The render tools return a job id and status at once, because processing is asynchronous. cloudlayer_job_get returns the job's status, and cloudlayer_asset_get and cloudlayer_assets_list return the stored generated files.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""cloudlayer"": {
""url"": ""https://mcp.scalekit.com/cloudlayer"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.cloudlayer]
url = ""https://mcp.scalekit.com/cloudlayer""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""cloudlayer"": {
""url"": ""https://mcp.scalekit.com/cloudlayer"",
""type"": ""http""
}
}
}