Extract text using txtai, docling, docker. Service available via Model Context Protocol (MCP).
/tmp/config/config.yml
# Enable MCP server
mcp: True
# Enable file uploads
upload: True
# Textractor pipeline
textractor:
Run via Docker
docker run -it -p 8000:8000 -v /tmp/config:/config -e CONFIG=/config/config.yml
--entrypoint uvicorn neuml/txtai-cpu --host 0.0.0.0 txtai.api:app
Test the service.
npx @modelcontextprotocol/inspector node build/index.js
Enter http://localhost:8000 and now you have a text extraction service via MCP.