mcp-server
v0.5.2MCP server exposing Linnk document translation to agents
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
linnk_translate Translate a document
Translate a document with layout preserved, returning the original format. Uploads + submits and returns a job_id immediately; poll with linnk_get_status.
| Parameter | Type | Description |
|---|---|---|
to * | string | Target language (BCP-47/ISO). e.g. en, ja, fr, de, es. Chinese: zh-Hans-CN=简体, zh-Hant-TW=繁体(台湾), zh-Hant-HK=繁体(香港). NOTE: bare 'zh' = Simplified — for Traditional Chinese pass z… |
additional_requirement | string | Free-text tone/terminology hint. |
file_base64 | string | Base64-encoded file bytes (alternative to file_path; <= ~100MB). |
file_path | string | Absolute path to the file (used when the server shares the agent's filesystem). |
filename | string | Filename — required with file_base64; used for format/job_type detection. |
from | string | Source language code; defaults to auto-detect. |
glossary | string | Glossary term pairs, one per line. |
job_type | string | Explicit backend job_type override (advanced). |
method | string | Optional method override; otherwise auto by file type. |
linnk_get_status Poll job status
Poll a translation job's status and progress. status is terminal when it is 'done' or 'failed'.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
linnk_get_result Get job result
Fetch download URLs for a finished job. Returns JOB_NOT_DONE if the job has not reached a terminal state.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
linnk_upload Upload a file
Upload a file and return its URL (for large files or URL reuse). Most callers should use linnk_translate directly.
| Parameter | Type | Description |
|---|---|---|
file_base64 | string | Base64-encoded file bytes (alternative to file_path; <= ~100MB). |
file_path | string | Absolute path to the file (used when the server shares the agent's filesystem). |
filename | string | Filename — required with file_base64; used for format/job_type detection. |
linnk_login Log in to Linnk
Authorize this server with your Linnk account via the browser (no API key needed). Returns an authorization URL — open it, sign in & approve, then retry your request. Only needed if a tool reports 'not logged in'.