File AI MCP server
io.github.flyfish-dev/file-ai·v0.1.1·3 starsAgent-ready local document context with stable anchors.
3 stars38 downloads/wk
Reviews
Write oneNobody has reviewed File AI yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
File AI tools (5)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
doc_analyzeParse a local document into a read-only profile, anchors, outline, blocks, and chunks for agent context.
doc_contextReturn nearby blocks around an anchor or the first anchors matching a query.
doc_list_formatsList File Viewer core registry formats, supported extensions, renderer capabilities, and File AI extractor coverage.
doc_readRead blocks, chunks, or anchors from a cached index without inspecting source document internals.
doc_searchSearch document blocks and return excerpts tied to stable anchors.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan35 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 94 days ago8/15
- Maintainer identityregistry namespace matches repository owner7/10
How File AI compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 80/100
- higher than 60% of 4,460 AI and agents servers
- Tools
- 5
- the typical AI and agents server has 6
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 3
- more than 75% of 2,711 AI and agents servers
- Downloads a week
- 38
- more than 30% of 1,538 AI and agents servers with a package
What its tools let an agent do: 5 read
Install File AI in Claude Code, Cursor or VS Code
Runs npx -y @flyfish-dev/file-ai on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add file-ai -- npx -y @flyfish-dev/file-ai
What the publisher says
From the File AI repository's README, as published. We do not edit it. Read it on GitHub
File AI
Read-only document awareness MCP server for agents. File AI uses Flyfish File Viewer core as the source of truth for format recognition, then turns local files into a stable profile, anchors, blocks, chunks, outline, search results, and contextual snippets so an agent can understand document content without reverse-engineering PDF, OOXML, spreadsheet, email, or archive internals.
MCP Registry name: io.github.flyfish-dev/file-ai
Install
Use it directly with npx:
npx -y @flyfish-dev/file-aiOr install it globally:
npm install -g @flyfish-dev/file-ai
file-ai --transport stdioMCP Client Config
Stdio:
{
"mcpServers": {
"file-ai": {
"command": "npx",
"args": ["-y", "@flyfish-dev/file-ai"]
}
}
}Streamable HTTP:
npx -y @flyfish-dev/file-ai --transport http --host 127.0.0.1 --port 8765Endpoint:
http://127.0.0.1:8765/mcpTools
- doc_analyze: parse a local file and cache a document index.
- doc_read: read blocks, chunks, or anchors from an existing index or path.
- doc_search: search cached content with source anchors.
- doc_context: retrieve nearby blocks around an anchor or query.
- doclistformats: list File Viewer core registry formats, all supported extensions, renderer capabilities, and File AI extractor coverage.
Resources
- doc://{indexId}/profile
- doc://{indexId}/outline
- doc://{indexId}/chunks
Supported Files
File AI recognizes formats through @file-viewer/core/headless, currently covering 206 registered extensions. profile.format is therefore aligned with the same renderer selection used by Flyfish File Viewer.
Content extraction is a separate layer. File AI provides structured awareness for text/code/Markdown/JSON, PDF text, DOCX, XLSX/CSV, PPTX, EML, and archive manifests. Other File Viewer renderer-only formats such as CAD, 3D, media, image, geospatial, drawing, ebook, and data assets are still recognized in profile.format; when no structured text extractor exists yet, File AI returns a profile plus best-effort metadata/text and explicit warnings in profile.warnings and profile.extraction.
Every content block carries an anchor such as a page, slide, worksheet, row range, nested path, or byte/text location. Agents should cite returned anchorId values when making document-grounded claims.
Development
pnpm install
pnpm build
pnpm test
pnpm validate:skillRun locally:
pnpm dev -- --transport stdio
pnpm dev -- --transport http --port 8765Publishing
The package includes:
- npm metadata for @flyfish-dev/file-ai
- MCP Registry metadata in server.json
- GitHub Actions workflow .github/workflows/publish-mcp.yml
Release flow:
git tag v0.1.0
git push origin v0.1.0The workflow publishes the npm package first, then publishes io.github.flyfish-dev/file-ai to the official MCP Registry through GitHub OIDC. The repository must have an NPM_TOKEN secret that can publish @flyfish-dev/file-ai.
The server is read-only. It does not mutate source documents.
Nothing above is checked by us. What we check is on the safety report.
File AI: common questions
- Is File AI MCP server safe?
- Mostly: it is graded B (80/100). Read the File AI safety report
- How do I install File AI?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does File AI need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is File AI maintained?
- The last commit was 133 days ago (2026-06-24). The latest release is v0.1.1.
- What can I use instead of File AI?
- Servers from other publishers that do the same job: Basic Memory MCP server, Openflowkit MCP server and ctxlint MCP server.
- How does File AI compare with other AI and agents MCP servers?
- safety score 80/100 (higher than 60% of 4,460 AI and agents servers); tools 5 (the typical AI and agents server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to File AI
Same job from other publishers: the closest match first, then the best rated.
- Basic MemoryLocal-first knowledge management with bi-directional LLM sync via Markdown files.not reviewedWidely usedB
- OpenflowkitArchitecture diagrams for your agent: draw on the live OpenFlowKit canvas or edit diagram files.not reviewedEstablishedA
- ctxlintLint AI agent context files (CLAUDE.md, AGENTS.md, etc.) against your actual codebasenot reviewedEstablishedA