LlamaParse MCP server for AI agents

Live

BEARER TOKEN

DOCUMENT PARSING

AI

LlamaParse gives your agent document parsing in your LlamaCloud projects: start parse, classify, and extract jobs, read their results, and draft extraction schemas from a description or a sample file.

  • Per-user credentials: each call uses the actual user's access 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.
LlamaParse
agent · Acme Q3
Run
What did my invoice extraction job pull out?
S
llamaparse_extract_job_get
210ms
Document parsing agent
The job finished and returned the invoice number, issue date, vendor name, and a total of 4,280.00 USD.
Sources: LlamaParse extract job, 1 job
llamaparse
1 job
18:29
Message Claude...

Tools your document parsing agent reaches for on LlamaParse, scoped per user.

CALL ANY TOOL
22 tools for document parsing in LlamaParse: start, read, and cancel parse, classify, and extract jobs, validate and generate extraction schemas, and list projects and organizations.
llamaparse_classify_job_cancel
Cancel classify job
Cancel a pending or running classify job. Returns the job with its updated status. Use this to stop a classification you no longer need.
Parameters
Name
Type
Required
Description
job_id
string
Required
Classify job ID returned by llamaparse_classify_job_create or listed by llamaparse_classify_jobs_list. Example: clj-5b8e2f9c3a1d
llamaparse_classify_job_create
Create classify job
llamaparse_classify_job_delete
Delete classify job
llamaparse_classify_job_get
Get classify job
llamaparse_classify_jobs_list
List classify jobs
llamaparse_extract_job_cancel
Cancel extract job
llamaparse_extract_job_create
Create extract job
llamaparse_extract_job_delete
Delete extract job
llamaparse_extract_job_get
Get extract job
llamaparse_extract_jobs_list
List extract jobs
llamaparse_extract_schema_generate
Generate extract schema
llamaparse_extract_schema_validate
Validate extract schema
llamaparse_organizations_list
List organizations
llamaparse_parse_job_cancel
Cancel parse job
llamaparse_parse_job_create
Create parse job
llamaparse_parse_job_delete
Delete parse job
llamaparse_parse_job_get
Get parse job
llamaparse_parse_jobs_list
List parse jobs
llamaparse_parse_versions_list
List parse versions
llamaparse_project_get
Get project
llamaparse_projects_list
List projects
llamaparse_supported_extensions_list
List supported extensions
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);

// LlamaParse tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["llamaparse"], toolNames: [
    "llamaparse_parse_job_create",
    "llamaparse_parse_job_get",
    "llamaparse_extract_job_create"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Parse the PDF at this URL, then start an extract job for the invoice fields" }] });
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: ["llamaparse"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Parse the PDF at this URL, then start an extract job for the invoice fields" }],
  tools,
});

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

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Parse the PDF at this URL, then start an extract job for the invoice fields" }],
  tools,
});

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

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

await agent.run("Parse the PDF at this URL, then start an extract job for the invoice fields");
Try these prompts
Copy any prompt into your agent. Each maps directly to a LlamaParse tool. Click to copy, paste into your agent, done.
Parse documents
Copy the prompt
Copied
Parse the PDF at this URL into markdown.
Copy the prompt
Copied
Show the status of my latest parse job.
Copy the prompt
Copied
Which file extensions can LlamaParse parse?
Classify and extract
Copy the prompt
Copied
Classify this file as an invoice, contract, or receipt.
Copy the prompt
Copied
Draft an extraction schema from this description of an invoice.
Copy the prompt
Copied
Start an extract job with this schema.
Jobs and projects
Copy the prompt
Copied
List my failed parse jobs from this week.
Copy the prompt
Copied
Cancel the running extract job.
Copy the prompt
Copied
List my LlamaCloud projects.
SEE HOW AUTH WORKS
Each user connects their own LlamaParse access token once, and Scalekit sends it with every call. Tokens stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
LlamaParse
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
LlamaParse
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
LlamaParse
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
LlamaParse
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 AI connectors.
GTM and RevOps Teams
Deal room sync
Pulls opportunity context from Salesforce, captures key decisions from Slack, and syncs a running summary to the deal room doc in Google Drive, but only when the deal actually changed.
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 AI connectors.
GTM
Deal room sync agent
Pull opportunity context from Salesforce, capture decisions from Slack, and keep the Google Drive deal room doc current.
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 LlamaParse access token looks fine in a demo. In production every parse and extract 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 token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
LlamaParse 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 LlamaParse as the user or through a shared token?
As the user. Each user connects their own LlamaParse access token once, and Scalekit sends it with every call. Every parse, classify, and extract job in your audit trail is attributed to that user, not a shared service account.
Where is the LlamaParse access token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new access token. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in LlamaParse?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the job get and list tools without llamaparse_parse_job_delete, llamaparse_extract_job_delete, or llamaparse_classify_job_delete, which remove a job and its results. Scalekit also enforces scope checks before every API call.
What happens when a user revokes LlamaParse 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.
Where do parse jobs get their documents?
llamaparse_parse_job_create downloads a document from a public URL and parses it. llamaparse_parse_job_get reports the job's status and, with expand, its parsed output.
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"": {
""llamaparse"": {
""url"": ""https://mcp.scalekit.com/llamaparse"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.llamaparse]
url = ""https://mcp.scalekit.com/llamaparse""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""llamaparse"": {
""url"": ""https://mcp.scalekit.com/llamaparse"",
""type"": ""http""
}
}
}