# Gemina MCP MCP Server

> **Gemina MCP MCP Server** is a hosted, multitenant Model Context Protocol (MCP) server run by **MewCP** (https://mewcp.com), giving AI agents managed access to Gemina MCP.
>
> MewCP takes care of all MCP infrastructure for you — credential storage, OAuth flows,
> token refresh, and production-grade auto-scaling — so your AI agents can connect to
> third-party services and run freely without you managing any MCP server yourself.
>
> Server page:  https://mewcp.com/mcp/gemina-mcp
> MewCP docs:   https://docs.mewcp.com
> All servers:  https://mewcp.com/servers (JSON: https://mewcp.com/api/servers)
> About MewCP:  https://mewcp.com/llms.txt

---

## About

Gemina automates business document processing with AI-powered OCR, structured data extraction, and document search. Extract invoice headers and line items, define custom extraction templates for contracts and forms, tag files with metadata, and query indexed documents to calculate totals and aggregate records by vendor, currency, or date.

---

## Details

- Server ID: `gemina-mcp`
- Version: 2.1.0
- Tools: 13
- Authentication: OAuth, managed by MewCP
- Transport: http

---

## Access

The gateway URL below serves your **entire MewCP toolset**, not this server on its
own. Pasting a config snippet is not enough — Gemina MCP has to be in the toolset
first. In order:

1. Add Gemina MCP to your toolset at https://mewcp.com/mcp/gemina-mcp
2. Connect your Gemina MCP account (OAuth); MewCP stores the credential and attaches it to each call
3. Add the gateway URL to your client (see Connect below). It signs in with OAuth
   the first time it connects, so there is no key to copy.

Once connected, an agent does **not** see this server's tools as top-level tools.
It sees four meta-tools and reaches everything through them:

- `search(query)` — find tools by keyword across the toolset
- `get_schema(tools)` — full description and arguments for the tools you picked
- `manage_connections(requests?)` — connection status and account aliases, plus
  links the user opens to add an app or connect an account
- `call_tool(app_maskedId, tool_name, args, alias?)` — execute

If Gemina MCP isn't in the toolset or connected yet, `manage_connections` with
app_maskedId `gemina-mcp` returns a link that adds it and connects an account.

So the list below is what `search` can return for this server, not a set of
callable tool names on their own.

---

## Tools (13)

Descriptions are truncated to 160 characters; call `get_schema`
for the full text and the argument schema. Where a tool is annotated, its type
is shown — treat `destructive` as irreversible.

- `files_create_upload` _(write)_ — Reserve a pre-signed PUT slot for a forthcoming file upload. Returns the upload URL, an ``upload.headers`` dict (the agent MUST echo every header in this dict…
- `tag_file` _(write)_ — Run the FileTag pipeline against a previously uploaded slot. The ``file_id`` comes from a prior ``files_create_upload`` call. The server validates the uploaded…
- `tag_url` _(write)_ — Fetch a remote URL server-side and run the FileTag pipeline. The bytes never traverse the LLM context -- the agent supplies the URL, the server fetches under…
- `query_documents` _(read)_ — Search your indexed documents; no per-query or per-page charge (included with a Document Intelligence plan, fair-use rate-limited). Ask across the whole…
- `aggregate_documents` _(read)_ — Spend analytics over your indexed documents; no per-query or per-page charge (included with a Document Intelligence plan, fair-use rate-limited). Answer money…
- `index_document` _(write)_ — (Re)index one of the tenant's documents into the searchable index — use after corrections, or to backfill a document processed before indexing was enabled.…
- `extract_document` _(write)_ — Run Core-OCR extraction on a previously uploaded file slot. The ``file_id`` comes from a prior ``files_create_upload`` call (``purpose='extract'`` yields the…
- `get_extraction_result` _(read)_ — Poll for the result of an asynchronous ``extract_document`` call. Pass the ``meta.correlationId`` from the extract response. Returns the completed extraction…
- `list_extractions` _(read)_ — List the tenant's past document extractions, newest first. Filter by ``external_id`` (the idempotency key passed to extract_document), ``end_user_id``, and/or…
- `get_extraction` _(read)_ — Fetch one extraction by its id (from list_extractions or a completed extract_document result), including the full extracted data. Only extractions created by…
- `get_document` _(read)_ — Fetch one document by its id, including all of its extractions. Only documents created by the calling API key are visible.
- `add_document_extractions` _(write)_ — Run additional extraction types on a document Gemina already stores — no re-upload — either to read the extracted values now or to make the document searchable…
- `submit_extraction_feedback` _(write)_ — Submit verified/corrected field values for a completed extraction — the extraction-quality feedback loop. ``data`` keys use the ``label:<human…

---

## Connect

- URL: https://gateway.mewcp.com/personal/mcp
- Transport: Streamable HTTP (remote). Nothing to install.
- Sign-in: OAuth. On first connect the client opens a browser window to sign in
  to MewCP and approve access. No API key.
- Headless clients (SDKs, servers without a browser) send an API key instead:
  `Authorization: Bearer <API_KEY>`, key from https://mewcp.com/dashboard/api-keys

Agents setting themselves up: follow https://mewcp.com/SKILL.md

Step-by-step guide per client:

- Claude Desktop: https://mewcp.com/mcp/gemina-mcp/connect/claude
- ChatGPT: https://mewcp.com/mcp/gemina-mcp/connect/chatgpt
- Grok: https://mewcp.com/mcp/gemina-mcp/connect/grok
- DeepSeek Harness: https://mewcp.com/mcp/gemina-mcp/connect/dsh
- Mistral Vibe: https://mewcp.com/mcp/gemina-mcp/connect/mistral-vibe
- VS Code: https://mewcp.com/mcp/gemina-mcp/connect/vscode
- Cursor: https://mewcp.com/mcp/gemina-mcp/connect/cursor
- Codex: https://mewcp.com/mcp/gemina-mcp/connect/codex
- Claude Code: https://mewcp.com/mcp/gemina-mcp/connect/claude-code
- OpenCode: https://mewcp.com/mcp/gemina-mcp/connect/opencode
- OpenClaw: https://mewcp.com/mcp/gemina-mcp/connect/openclaw
- Antigravity: https://mewcp.com/mcp/gemina-mcp/connect/antigravity
- Hermes: https://mewcp.com/mcp/gemina-mcp/connect/hermes
- Kimi Code: https://mewcp.com/mcp/gemina-mcp/connect/kimi-code
- Grok Build: https://mewcp.com/mcp/gemina-mcp/connect/grok-build
- Devin Desktop: https://mewcp.com/mcp/gemina-mcp/connect/devin-desktop
- Zed: https://mewcp.com/mcp/gemina-mcp/connect/zed
- Muse Code: https://mewcp.com/mcp/gemina-mcp/connect/muse-code
- Cline: https://mewcp.com/mcp/gemina-mcp/connect/cline
- Kilo Code: https://mewcp.com/mcp/gemina-mcp/connect/kilo-code
- Kiro: https://mewcp.com/mcp/gemina-mcp/connect/kiro
- Junie: https://mewcp.com/mcp/gemina-mcp/connect/junie
- Amp: https://mewcp.com/mcp/gemina-mcp/connect/amp
- Qwen Code: https://mewcp.com/mcp/gemina-mcp/connect/qwen-code
- Goose: https://mewcp.com/mcp/gemina-mcp/connect/goose
- Python: https://mewcp.com/mcp/gemina-mcp/connect/python
- TypeScript: https://mewcp.com/mcp/gemina-mcp/connect/typescript