Smart Reader MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Smart Reader MCPRead the PDF at ~/Downloads/invoice.pdf"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ง Smart Reader MCP
Your agent found a file. Did it pick the right reader?
One MCP call reads PDF, image, or video. Smart Reader sniffs format, delegates to the matching Sylphx Reader sibling, and returns a provenance envelope you can trust โ no manual format routing required.
Local-first ยท One smart read_media call ยท Delegation provenance envelope ยท 33 tests
SOTA family roadmap: docs/roadmap/sota-family-roadmap.md.
โญ Star this repo if agents should read any media file without you wiring format switches. ยท Quick start ยท See it work ยท Why not manual format routing?
The problem
Agents receive files with misleading extensions, mixed portfolios, and formats that need different parsers. PDF needs evidence twins. Images need metadata and OCR geometry. Videos need ffprobe timelines โ not one-size-fits-all text dumps.
Most stacks force the agent or the human to branch on extension, install the right tool, and hope delegation still returns citeable provenance. Wrong reader, wrong schema, silent partial reads. Then citations break โ quietly.
Smart Reader MCP is built for the moment your agent needs one read tool that sniffs format and delegates with proof.
Related MCP server: Docalyze
Why not manual format routing?
Typical routing path | Smart Reader MCP |
Agent guesses format from extension | Magic-byte sniffing with extension fallback |
Separate MCP configs per format | One |
Opaque passthrough results | Normalized envelope: |
Re-implemented parsers in one repo | Delegates to |
Cloud routing services | Local-first stdio delegation to sibling packages |
Ship and pray | 33 tests on sniffing, mislabeled routing, doctor, release gate, and delegation |
See it work
Install once. Call once.
claude mcp add smart-reader -- npx @sylphx/smart-reader-mcp{
"path": "/absolute/path/to/report.pdf"
}read_media sniffs the file, spawns the matching sibling MCP server, and
returns a provenance envelope:
{
"source_path": "/absolute/path/to/report.pdf",
"detected_format": "pdf",
"delegated_tool": "read_pdf",
"raw_result": {
"page_count": 12,
"title": "Q3 Report",
"trust_report": { "warnings": [] }
}
}The raw_result field is the passthrough payload from the delegated reader
(read_pdf, read_image, or read_video). Install the siblings you need:
npm install @sylphx/pdf-reader-mcp @sylphx/image-reader-mcp @sylphx/video-reader-mcpSupported formats:
PDF:
.pdfImage:
.png,.jpg,.jpeg,.gif,.webp,.tif,.tiffVideo:
.mp4,.m4v,.mkv,.mov,.webm
Sylphx Reader portfolio
Portfolio architecture lives here โ this repo owns dispatch and the unified read tool. Format-specific repos own their own parsers and boundary ADRs.
Repository | Package | Role |
| PDF (production; independent project) | |
| Image read | |
| Video read | |
smart-reader-mcp (this repo) |
| Sniff + delegate + unified |
Full decision record: ADR-0002: Reader Portfolio Architecture.
Read vs interpret
Read: metadata, OCR, subtitles, scenes, transcripts โ deterministic, no generative LLM default.
Interpret: summarization / VQA โ agent or optional remote provider; out of scope for Reader MCP packages.
MCP Tool Surface
Tool | Use it when the agent needs to... |
| Read a local PDF, image, or video by sniffing format and delegating to the matching Sylphx Reader sibling. |
Quick Start
Claude Code
claude mcp add smart-reader -- npx @sylphx/smart-reader-mcpClaude Desktop
Add this to claude_desktop_config.json:
{
"mcpServers": {
"smart-reader": {
"command": "npx",
"args": ["-y", "@sylphx/smart-reader-mcp"]
}
}
}Any MCP Client
npx @sylphx/smart-reader-mcpNode.js >=22.13 is required. Delegation resolves locally installed sibling
packages first, then falls back to npx -y @sylphx/<reader>-mcp.
Security model
Local paths only โ
read_mediaresolves files on disk; no remote fetch by default.Magic-byte sniffing โ format detection uses file content, not extension alone.
Sibling delegation โ spawns known Sylphx Reader packages (
@sylphx/pdf-reader-mcp, etc.) vianpx -y; no arbitrary executables.Provenance envelope โ
detected_format,delegated_tool, andsource_pathare always returned for audit.
Release proof
Claims are backed by CI benchmark:release-gate and the shipped-path matrix (Rust sniff/policy route).
bun run benchmark:release-gateArtifact: benchmark-artifacts/smart_reader_release_gate.json โ must report status: passed before release.
Development
git clone https://github.com/SylphxAI/smart-reader-mcp.git
cd smart-reader-mcp
bun install
bun run build
bun test
bun run doctor
bun run benchmark:release-gateUseful checks:
bun run check
bun run typecheck
bun run validate
bun run benchmark:release-gateExample read_media requests live in examples/.
Support
Portfolio ADR: ADR-0002
Help this reach more builders
If manual format routing has wasted your MCP configs, your agent prompts, or your trust in mixed-media workflows, you are exactly who this project is for.
โญ Star the repo โ it is the fastest way to help more agent builders find one-call media reading. Share it in your MCP client setup, team wiki, or agent stack README.
Discovery (in progress)
Channel | Status |
Listed โ claim server for full discoverability | |
Listed โ | |
Open โ multimedia/document processing listing | |
Open โ community server highlight | |
Open โ directory submission request | |
Not listed yet โ free web-form submission |
Know another MCP directory? Open an issue with the link.
License
MIT ยฉ SylphxAI
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SylphxAI/smart-reader-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server