mcp-server

v0.5.2
@getlinnk/mcp-server Checked 4 days ago Published 4 months ago

MCP 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.

ParameterTypeDescription
to *stringTarget 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_requirementstringFree-text tone/terminology hint.
file_base64stringBase64-encoded file bytes (alternative to file_path; <= ~100MB).
file_pathstringAbsolute path to the file (used when the server shares the agent's filesystem).
filenamestringFilename — required with file_base64; used for format/job_type detection.
fromstringSource language code; defaults to auto-detect.
glossarystringGlossary term pairs, one per line.
job_typestringExplicit backend job_type override (advanced).
methodstringOptional 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'.

ParameterTypeDescription
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.

ParameterTypeDescription
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.

ParameterTypeDescription
file_base64stringBase64-encoded file bytes (alternative to file_path; <= ~100MB).
file_pathstringAbsolute path to the file (used when the server shares the agent's filesystem).
filenamestringFilename — 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'.