mdfi
v0.1.1Read PDFs, scans and Office files page by page, with quality flags and CSV table export.
Values you need
| Variable | What it is | |
|---|---|---|
MDFI_API_KEY | required secret | Your mdfi API key, from the Connect page of the dashboard (app.mdfi.ai) |
MDFI_API_URL | optional | mdfi API address Default: https://api.mdfi.ai |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add mdfi-connect -e 'MDFI_API_KEY=<MDFI_API_KEY>' -- uvx mdfi-connect==0.1.1Add to
claude_desktop_config.json{
"mcpServers": {
"mdfi-connect": {
"args": [
"mdfi-connect==0.1.1"
],
"command": "uvx",
"env": {
"MDFI_API_KEY": "<MDFI_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mdfi-connect": {
"args": [
"mdfi-connect==0.1.1"
],
"command": "uvx",
"env": {
"MDFI_API_KEY": "<MDFI_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "MDFI_API_KEY",
"id": "mdfi-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"mdfi-connect": {
"args": [
"mdfi-connect==0.1.1"
],
"command": "uvx",
"env": {
"MDFI_API_KEY": "${input:mdfi-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mdfi-connect]
command = "uvx"
args = ["mdfi-connect==0.1.1"]
env = { "MDFI_API_KEY" = "<MDFI_API_KEY>" }For AI agents
- Ask the user for: MDFI_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: read_document, read_pages, export_table.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json