Algodocs MCP server for AI agents

Live

API KEY

DOCUMENT EXTRACTION

Files & Documents

Algodocs gives your agent document data extraction in your Algodocs account: upload PDFs and images from base64 content or a public URL, and read the extracted fields for each document, along with your extractors and folders.

  • 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.
Algodocs
agent · Acme Q3
Run
Get the extracted fields from the invoice I uploaded.
S
algodocs_extracted_data_get
154ms
Document extraction agent
The invoice has 1 page. The vendor, invoice number, and total are extracted, with download links in JSON and CSV.
Sources: Algodocs extraction, 1 document
algodocs
1 document
18:29
Message Claude...

Tools your document extraction agent reaches for on Algodocs, scoped per user.

CALL ANY TOOL
7 tools for document extraction in Algodocs: upload PDFs and images from base64 or a public URL, read extraction results for one document or all of them, and list extractors and folders.
algodocs_document_upload_base64
Document upload base64
Upload a PDF or image as base64-encoded content and extract data from it with the given extractor. Returns the new document's id, fileSize, fileMD5CheckSum and uploadedAt. Use algodocs_document_upload_url when the file is at a public URL. Poll algodocs_extracted_data_get with the id. Uses page credits.
Parameters
Name
Type
Required
Description
extractor_id
string
Required
ID of the extractor that should process the document, from algodocs_extractors_list. Example: 6d86215bf9cb4fc6ac1f6967.
file_base64
string
Required
The file's content, base64-encoded, without a data: prefix. Example: JVBERi0xLjcKJeLjz9MK...
filename
string
Required
Name to store the document under, with its extension. Example: invoice.pdf.
folder_id
string
Required
ID of the folder to store the document in, from algodocs_folders_list. Example: c40daa5550d9.
algodocs_document_upload_url
Document upload url
algodocs_extracted_data_get
Get extracted data
algodocs_extracted_data_list
List extracted data
algodocs_extractors_list
List extractors
algodocs_folders_list
List folders
algodocs_me_get
Get me
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);

// Algodocs tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["algodocs"], toolNames: [
    "algodocs_extractors_list",
    "algodocs_document_upload_url",
    "algodocs_extracted_data_get"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Find my invoice extractor, upload the invoice at this URL, and read the extracted 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: ["algodocs"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Find my invoice extractor, upload the invoice at this URL, and read the extracted fields" }],
  tools,
});

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

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Find my invoice extractor, upload the invoice at this URL, and read the extracted fields" }],
  tools,
});

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

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

await agent.run("Find my invoice extractor, upload the invoice at this URL, and read the extracted fields");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Algodocs tool. Click to copy, paste into your agent, done.
Upload documents
Copy the prompt
Copied
Extract data from the invoice at this URL with my invoice extractor.
Copy the prompt
Copied
Upload this PDF as base64 and extract it with the bank statement extractor.
Copy the prompt
Copied
Upload this receipt image into the Expenses folder.
Read results
Copy the prompt
Copied
Get the extraction result for the document I just uploaded.
Copy the prompt
Copied
List all extraction results from my invoice extractor this month.
Copy the prompt
Copied
Show the download links for this document's extracted data.
Extractors and folders
Copy the prompt
Copied
List my extractors and the document types they handle.
Copy the prompt
Copied
Show the folder tree for my uploaded documents.
Copy the prompt
Copied
Confirm which Algodocs account this connection belongs to.
SEE HOW AUTH WORKS
Each user connects their own Algodocs 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
Algodocs
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
Algodocs
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
Algodocs
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
Algodocs
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.
People Ops and HR teams
Offer letter routing agent
Drafts the offer in PandaDoc, blocks on the hiring manager's approval in Slack, then emails the candidate their e-signature link. Every call runs as the recruiter who triggered it, never a shared HR bot.
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 files and documents connectors.
PEOPLE OPS
Offer letter routing agent
Draft the offer in PandaDoc, gate it on hiring manager approval in Slack, then email the candidate their signature link.
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 key for Algodocs looks fine in a demo. In production every document upload 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.
Algodocs 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 Algodocs as the user or through a shared key?
As the user. Each user connects their own Algodocs API key once, and Scalekit sends it with every call. Audit logs attribute every upload and extraction to that user, not a shared service account.
Where is the Algodocs 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 Algodocs?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the read tools without algodocs_document_upload_url or algodocs_document_upload_base64, which use page credits. None of the 7 tools is destructive. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Algodocs 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.
Is extraction instant after an upload?
No. Processing is asynchronous. After algodocs_document_upload_url or algodocs_document_upload_base64, poll algodocs_extracted_data_get with the document id until data is filled. The result sets data.error if the document was not recognized.
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"": {
""algodocs"": {
""url"": ""https://mcp.scalekit.com/algodocs"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.algodocs]
url = ""https://mcp.scalekit.com/algodocs""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""algodocs"": {
""url"": ""https://mcp.scalekit.com/algodocs"",
""type"": ""http""
}
}
}