flexorch-mcp
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
**MCP server for FlexOrch — SDK for machines.**
Connect Claude and other MCP-compatible agents to the FlexOrch document intelligence pipeline. Process documents, extract structured data, detect PII, and export LLM-ready datasets — all through natural language tool calls.
---
What this is
flexorch-mcp is a thin proxy that exposes the FlexOrch API as MCP tools. All processing happens on FlexOrch's managed infrastructure. A FlexOrch account and API key are required.
**For humans writing code:** use flexorch-sdk (Python) or flexorch-sdk-js (TypeScript).
**For agents:** use this package.
---
Tools
| Tool | Description |
|------|-------------|
| document.process | Upload and process a document (PDF, DOCX, TXT, XLSX, HTML, XML, EML, JPG, PNG, TIFF) |
| document.reprocess | Re-queue an already-uploaded document through the pipeline |
| job.status | Poll a processing job until completed or failed |
| job.result | Get structured extracted fields from a completed job |
| dataset.build | Build a structured dataset from a completed execution |
| dataset.search | Semantic search across indexed datasets (Pro+) |
| dataset.export | Export a dataset as JSONL, CSV, JSON, XML, MD, or RAG (LangChain/LlamaIndex chunks) |
| dataset.index | Trigger semantic vector indexing for a dataset (Pro+) |
| dataset.chunks | Retrieve paginated RAG-ready text chunks from an indexed dataset (Pro+) |
---
Installation
Requires Python 3.10+.
---
Configuration
Claude Desktop
Add to your Claude Desktop config file (create it if it doesn't exist):
- macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
- Windows: %APPDATA%\Claude\claude_desktop_config.json
Cursor
Add to your Cursor MCP config:
OpenAI Codex
Add to ~/.codex/config.toml:
Get your API key from app.flexorch.com/settings.
---
Verify connection
---
Example agent workflow
---
Plan limits
All FlexOrch plan limits apply to MCP tool calls. Credits are consumed per document processed.
| Plan | Credits/mo | Semantic search |
|------|-----------|----------------|
| Trial | 1,200 (30 days) | — |
| Starter | 1,200 | — |
| Pro | 6,000 | ✓ |
| Enterprise | Custom | ✓ |
---
Security
- API key is read from the FLEXORCH_API_KEY environment variable — never passed as a tool argument
- No data is stored or cached by this server — stateless proxy