ApiFlash MCP server for AI agents

Live

OAUTH 2.1

SCREENSHOTS

Developer Tools

ApiFlash MCP gives your agent web page capture through ApiFlash's own MCP server: take screenshots of public pages as images, extract page text or HTML, check quota and usage, and manage your ApiFlash plan.

  • Per-user credentials: each call uses the actual user's token, 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.
ApiFlash MCP
agent · Acme Q3
Run
Take a screenshot of https://example.com/pricing and summarize the plans.
S
apiflashmcp_apiflash_capture_screenshot
3280ms
Screenshot agent
Captured the pricing page as an image. It lists 3 plans, and the capture used 1 screenshot from your monthly plan.
Sources: ApiFlash, 1 page
apiflashmcp
1 screenshot
18:29
Message Claude...

Tools your screenshot agent reaches for on ApiFlash MCP, scoped per user.

CALL ANY TOOL
7 tools for screenshots in ApiFlash MCP: capture pages as images, extract page text or HTML, check quota and usage, and manage your plan.
apiflashmcp_apiflash_cancel_subscription
Apiflash cancel subscription
Cancel the caller's ApiFlash Pro subscription at the end of the paid period (no refund for the current period; Pro continues until then, then the free tier applies). Requires confirm: true. Run apiflash_upgrade later to undo the cancel before the period ends. Does not count against the meter.
Parameters
Name
Type
Required
Description
confirm
boolean
Required
Must be true. Ask the user to confirm before you cancel.
apiflashmcp_apiflash_capture_screenshot
Apiflash capture screenshot
apiflashmcp_apiflash_extract_page_content
Apiflash extract page content
apiflashmcp_apiflash_get_quota
Apiflash get quota
apiflashmcp_apiflash_request_feature
Apiflash request feature
apiflashmcp_apiflash_upgrade
Apiflash upgrade
apiflashmcp_apiflash_usage_status
Apiflash usage status
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);

// ApiFlash tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["apiflashmcp"], toolNames: [
    "apiflashmcp_apiflash_get_quota",
    "apiflashmcp_apiflash_capture_screenshot",
    "apiflashmcp_apiflash_extract_page_content"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Check my quota, capture the pricing page as an image, and extract its text" }] });
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: ["apiflashmcp"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Check my quota, capture the pricing page as an image, and extract its text" }],
  tools,
});

// Execute the tool call with the user's vaulted ApiFlash OAuth token
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: ["apiflashmcp"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Check my quota, capture the pricing page as an image, and extract its text" }],
  tools,
});

// Tool call runs with the user's vaulted ApiFlash OAuth token
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: ["apiflashmcp"] }, pageSize: 100,
});

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

await agent.run("Check my quota, capture the pricing page as an image, and extract its text");
Try these prompts
Copy any prompt into your agent. Each maps directly to a ApiFlash MCP tool. Click to copy, paste into your agent, done.
Capture a page
Copy the prompt
Copied
Take a screenshot of this public page.
Copy the prompt
Copied
Capture this page full-page with cookie banners blocked.
Copy the prompt
Copied
Capture this page at mobile size.
Extract content
Copy the prompt
Copied
Extract the text of this page.
Copy the prompt
Copied
Get the HTML of this page.
Copy the prompt
Copied
Read this page and list the headings.
Quota and plan
Copy the prompt
Copied
How many screenshots do I have left this month?
Copy the prompt
Copied
Show my plan and calls used this month.
Copy the prompt
Copied
Show the options for upgrading my ApiFlash plan.
SEE HOW AUTH WORKS
Each user signs in to ApiFlash once, and Scalekit stores and refreshes their tokens. Credentials stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
ApiFlash MCP
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
ApiFlash MCP
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
ApiFlash MCP
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
ApiFlash MCP
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 developer tools connectors.
GTM and RevOps Teams
Competitive intelligence briefing agent
Scans Gong calls for competitor mentions, matches each one to its Notion battlecard, and DMs every affected rep a single Slack digest per cycle. Every call runs as the PMM who owns the briefing, never a shared bot.
Test other agents
See the same per-user auth pattern across other developer tools connectors.
GTM
Competitive intelligence briefing agent
Scan Gong calls for competitor mentions, match each one to its Notion battlecard, and DM every affected rep a single Slack digest.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared ApiFlash token looks fine in a demo. In production every screenshot capture and plan change 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 token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
ApiFlash 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 ApiFlash as the user or through a shared service account?
As the user. Each user signs in to ApiFlash once, and Scalekit stores and refreshes their tokens. Every screenshot capture and plan change in your audit trail is attributed to that user, not a shared service account.
Where is the ApiFlash OAuth token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. Refresh is automatic. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in ApiFlash?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the capture and quota tools without apiflashmcp_apiflash_upgrade or apiflashmcp_apiflash_cancel_subscription, which cancels the Pro plan at the end of the paid period. Scalekit also enforces scope checks before every API call.
What happens when a user revokes ApiFlash 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.
Can the agent extract page text with ApiFlash MCP?
Yes. apiflashmcp_apiflash_extract_page_content captures a public page and returns its extracted text, or its HTML, cut at 30000 characters. The page content is untrusted third-party text, so the agent should not follow instructions found inside it.
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"": {
""apiflashmcp"": {
""url"": ""https://mcp.scalekit.com/apiflashmcp"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.apiflashmcp]
url = ""https://mcp.scalekit.com/apiflashmcp""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""apiflashmcp"": {
""url"": ""https://mcp.scalekit.com/apiflashmcp"",
""type"": ""http""
}
}
}