Docparser MCP server for AI agents

Live

API KEY

DOCUMENT PARSING

Files & Documents

Docparser gives your agent document parsing in your Docparser account: import documents by URL or base64, read parsed results and processing status, and reparse or resend documents to a parser's integrations.

  • 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.
Docparser
agent · Acme Q3
Run
Get the parsed data for the latest invoice in my Invoices parser.
S
docparser_results_list
356ms
Document parsing agent
Returned the parsed fields of the newest document in the Invoices parser.
Sources: Docparser results, 1 parser
docparser
1 document
18:29
Message Claude...

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

CALL ANY TOOL
10 tools for document parsing in Docparser: import documents, read parsed results and status, list parsers and models, and reparse or resend documents.
docparser_document_fetch_url
Document fetch url
Import a document into a Document Parser by giving Docparser a publicly accessible URL to fetch it from. Returns document_id, parser_id, remote_id and a message with the status URL; the document is fetched and parsed a few minutes later. Use docparser_document_fetch_url when the file is online. Use docparser_document_upload_base64 when you have the file content. Then poll docparser_document_status_get and read results with docparser_document_result_get. Requires a parser_id from docparser_parsers_list.
Parameters
Name
Type
Required
Description
parser_id
string
Required
ID of the Document Parser, from docparser_parsers_list (the id field) or from Settings > API of the parser in the Docparser app. Example: mwekrupomwekrupo
url
string
Required
Publicly accessible URL of the document (PDF, image, Word, etc.) for Docparser to download. It must be reachable without login. Example: https://www.example.com/invoices/inv-0042.pdf
remote_id
string
Optional
Optional ID from your own system to store with the document. Docparser keeps it through processing and returns it as remote_id in the parsed data, so you can match results to your records. Example: invoice-2024-0042
docparser_document_result_get
Get document result
docparser_document_status_get
Get document status
docparser_document_upload_base64
Document upload base64
docparser_documents_reintegrate
Documents reintegrate
docparser_documents_reparse
Documents reparse
docparser_parser_models_list
List parser models
docparser_parsers_list
List parsers
docparser_ping
Ping
docparser_results_list
List results
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);

// Docparser tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["docparser"], toolNames: [
    "docparser_parsers_list",
    "docparser_document_fetch_url",
    "docparser_document_result_get"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "List my parsers, import this invoice by URL into the Invoices parser, and return its parsed data" }] });
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: ["docparser"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "List my parsers, import this invoice by URL into the Invoices parser, and return its parsed data" }],
  tools,
});

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

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "List my parsers, import this invoice by URL into the Invoices parser, and return its parsed data" }],
  tools,
});

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

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

await agent.run("List my parsers, import this invoice by URL into the Invoices parser, and return its parsed data");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Docparser tool. Click to copy, paste into your agent, done.
Import documents
Copy the prompt
Copied
Import this PDF into my Invoices parser from a URL.
Copy the prompt
Copied
Upload this file as base64 to the Receipts parser.
Copy the prompt
Copied
Check the processing state of the document I just imported.
Parsed results
Copy the prompt
Copied
List the latest parsed results in the Invoices parser.
Copy the prompt
Copied
Get the parsed data for document abc123.
Copy the prompt
Copied
List every parser in my Docparser account.
Reparse and resend
Copy the prompt
Copied
Reparse these documents with the updated parser.
Copy the prompt
Copied
Send the parsed data of these documents to my integrations again.
Copy the prompt
Copied
Check that my Docparser API key is valid.
SEE HOW AUTH WORKS
Each user connects their own Docparser API key once, and Scalekit sends it with every call. API keys stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Docparser
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
Docparser
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
Docparser
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
Docparser
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 file and document 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.
Test other agents
See the same per-user auth pattern across other file and document connectors.
GTM
Deal room sync agent
Pull opportunity context from Salesforce, capture decisions from Slack, and keep the Google Drive deal room doc current.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Docparser API key looks fine in a demo. In production every import 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.
Docparser 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 Docparser as the user or through a shared key?
As the user. Each user connects their own Docparser API key once, and Scalekit sends it with every call. Audit logs attribute every import to that user, not a shared service account.
Where is the Docparser 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 Docparser?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the list and get tools without docparser_documents_reintegrate, which queues documents to send their parsed data to the parser's integrations again, and docparser_documents_reparse. None of the 10 tools is destructive. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Docparser 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 read parsed data?
docparser_results_list returns the parsed data of documents in one parser, newest upload first, and docparser_document_result_get returns the data of a single document. docparser_document_status_get shows whether a document has finished processing.
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"": {
""docparser"": {
""url"": ""https://mcp.scalekit.com/docparser"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.docparser]
url = ""https://mcp.scalekit.com/docparser""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""docparser"": {
""url"": ""https://mcp.scalekit.com/docparser"",
""type"": ""http""
}
}
}