formfill
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
formfill
Hand BaseStation a PDF form and a sentence about what goes in it. formfill creates a BaseStation autofill job: you describe in plain language how the form should be filled, attach the form itself as base64, and BaseStation returns a job ID, an upload page URL, and its parsed summary of your instructions.
This package is a small API-key REST client for that one operation, exposed both as an MCP tool and as a CLI command behind a single bin.
Configuration
BASESTATION_API_KEY(required) — your BaseStation API key. Without it every call fails with an error naming the variable; no request is made and no job is invented.BASESTATION_API_URL(optional) — API base URL. Defaults tohttps://app.hellobasestation.com.MAX_PDF_MB(optional) — maximum decoded PDF size, in megabytes. Defaults to15. AformFiledecoding to more than the limit is refused locally, before any request.REQUEST_TIMEOUT_MS(optional) — outbound request timeout in milliseconds. Defaults to15000.
Related MCP server: PDF Manipulation MCP Server
Tool
basestation.create_autofill_job— creates a BaseStation autofill job for PDF form filling.instructions(string, required): natural language instructions for how to fill the form.formFile(string, required): base64-encoded PDF file to fill.callbackUrl(string, optional): callback URL for job completion notification.On success the result is the upstream JSON as JSON text, carrying
job_id,upload_page_url, andinstructions_summary.
How a call flows
Arguments are checked locally: required strings present,
formFilevalid base64, decoded size withinMAX_PDF_MB, andBASESTATION_API_KEYset. Any failure is an error result and nothing is sent.A POST goes to the autofill jobs endpoint with a JSON body of
{instructions, formFile, callbackUrl}(the callback only when given) and the API key as a bearer credential.An upstream HTTP error surfaces as
formfill error: HTTP <status>, plus the upstream error text when the body carries one. A 2xx reply that is missingjob_id,upload_page_url, orinstructions_summaryis reported as an error rather than dressed up as a job.
Provenance
The tool name, parameters, return fields, and configuration
above come from the upstream package's published README.
The endpoint path (/api/autofill/jobs) and the
Authorization: Bearer <key> header form are a labelled
reconstruction — the README pins the tool surface but not
the API's endpoint path or payload envelope.
CLI
npx @reneturcios/formfill basestation.create_autofill_job '{"instructions":"Fill in the applicant name as Ada Lovelace","formFile":"<base64-pdf>"}'
npx @reneturcios/formfill --versionOutput is the tool's result text (the upstream JSON on
success). Exit codes: 0 on success, 1 on an error
result, 2 on a usage error.
MCP server
npx -y @reneturcios/formfill mcpMCP client config:
{
"mcpServers": {
"formfill": {
"command": "npx",
"args": ["-y", "@reneturcios/formfill", "mcp"],
"env": {
"BASESTATION_API_KEY": "<your key>"
}
}
}
}Docker
docker run -i -e BASESTATION_API_KEY=<your key> ghcr.io/cloudcorprecords/formfill
docker run --rm -e BASESTATION_API_KEY=<your key> ghcr.io/cloudcorprecords/formfill basestation.create_autofill_job '{"instructions":"...","formFile":"..."}'Development
npm install
npm run build # tsc -> dist/
npm test # tsx --test test/*.test.ts (fake fetch only, no network)
npm run dev # run the CLI from sourceLicense
MIT — Copyright (c) 2026 Rene Turcios
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Turn PDFs and photos into typed JSON with your own schema. Missing values come back null.
Turn documents into structured data: parse, extract, classify, split, and fill PDF forms.
Turn PDFs, documents, podcasts and drone photos into Markdown, structured JSON, summaries, reports.
Convert docs to agent-readable specs with criteria and constraints. $0.10/convert.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents and users to process documents through natural language, supporting PDF operations like text extraction, redaction, splitting, form filling, annotations, and content search.43 npm62MIT
- AlicenseBqualityDmaintenanceEnables PDF manipulation including text, images, annotations, form fields, page operations, and metadata through natural language.16MIT
- AlicenseAqualityDmaintenanceConvert PDFs to structured JSON. Extract invoices, bank statements, contracts, and more. Pay per call via x402 USDC.58MIT
- AlicenseAqualityCmaintenanceEnables creating PDF documents (invoices, certificates, reports, etc.) from natural language descriptions, returning a shareable link to preview and edit the document.187 npm1MIT