Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Transkribus REST and Processing APIs — collections, HTR/OCR; default v1, optional v2 beta.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
TRANSKRIBUS_USER, TRANSKRIBUS_PASSWORD, TRANSKRIBUS_SESSION_ID, TRANSKRIBUS_ACCESS_TOKEN, TRANSKRIBUS_KEYRING_SERVICE标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"transkribus": {
"command": "npx",
"args": [
"-y",
"@lazyants/transkribus-mcp-server"
],
"env": {
"TRANSKRIBUS_USER": "your-value",
"TRANSKRIBUS_PASSWORD": "your-value",
"TRANSKRIBUS_SESSION_ID": "your-value",
"TRANSKRIBUS_ACCESS_TOKEN": "your-value",
"TRANSKRIBUS_KEYRING_SERVICE": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add transkribus --env TRANSKRIBUS_USER=your-value --env TRANSKRIBUS_PASSWORD=your-value --env TRANSKRIBUS_SESSION_ID=your-value --env TRANSKRIBUS_ACCESS_TOKEN=your-value --env TRANSKRIBUS_KEYRING_SERVICE=your-value -- npx -y @lazyants/transkribus-mcp-server运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"transkribus": {
"command": "npx",
"args": [
"-y",
"@lazyants/transkribus-mcp-server"
],
"env": {
"TRANSKRIBUS_USER": "your-value",
"TRANSKRIBUS_PASSWORD": "your-value",
"TRANSKRIBUS_SESSION_ID": "your-value",
"TRANSKRIBUS_ACCESS_TOKEN": "your-value",
"TRANSKRIBUS_KEYRING_SERVICE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"transkribus": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@lazyants/transkribus-mcp-server"
],
"env": {
"TRANSKRIBUS_USER": "your-value",
"TRANSKRIBUS_PASSWORD": "your-value",
"TRANSKRIBUS_SESSION_ID": "your-value",
"TRANSKRIBUS_ACCESS_TOKEN": "your-value",
"TRANSKRIBUS_KEYRING_SERVICE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
TRANSKRIBUS_USER envTRANSKRIBUS_KEYRING_SERVICE env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 lazyants 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:TRANSKRIBUS_PASSWORD, TRANSKRIBUS_SESSION_ID, TRANSKRIBUS_ACCESS_TOKEN
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(4.1.1)于今天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Funooy Krillion Reference
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Funooy trivia references in six languages, with rules and fixed scoring. No daily spoilers.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
MCP server for the Transkribus REST API. Manage collections, documents, HTR/OCR recognition, models, and more through the Model Context Protocol.
304 tools by default, or 306 with Processing v2, across 23 resource domains, with 9 entry points so you can pick the right server for your MCP client's tool limit.
API scope: This server covers two Transkribus APIs:
- the legacy TrpServer REST API (
https://transkribus.eu/TrpServer/rest), session-based — 300 tools;
- the Processing API, OIDC bearer auth via
account.readcoop.eu— 4transkribus_processing_*tools with the default Metagrapho v1 backend (https://transkribus.eu/processing/v1), or 6 with the optional Developer Platform v2 beta (https://api-staging.transkribus.org/v2).
v2 requires explicit selection. Its published OpenAPI names a staging server; production v2 availability has not been confirmed. Both backends take
config.textRecognition.htrId.
npm install -g @lazyants/transkribus-mcp-server
Or run directly:
npx @lazyants/transkribus-mcp-server
Transkribus uses session-based authentication. Credentials are resolved in this order, per value:
TRANSKRIBUS_USER + TRANSKRIBUS_PASSWORD, or TRANSKRIBUS_SESSION_ID)Either a user name and password (the server logs in and manages the session) or a session id you already hold. A session id takes precedence when both are available; it expires, so a user name and password is the better choice for a long-running setup — and is what lets the server re-authenticate after a 401.
The keyring is never required: if it is unavailable — a headless Linux box with no Secret Service, an unsupported platform, an install with --omit=optional — or if it does not answer within 5 seconds, the server falls back to the environment.
Three entries under one service name, transkribus-mcp by default: user, password and session-id (store only what you use).
[!IMPORTANT]
The commands below read the value from an interactive prompt rather than
taking it as an argument, so it never lands in your shell history, in a
command line, or in the launch environment of another process. Avoid pasting a
password directly onto the command line.
Omitting the value after -w makes security prompt for it:
security add-generic-password -s "transkribus-mcp" -a "user" -w
security add-generic-password -s "transkribus-mcp" -a "password" -w
[!NOTE]
A login-keychain item belongs to the program that created it. The first time
the server reads an item created by
security, macOS shows a "…wants to use
your confidential information stored in transkribus-mcp" dialog — choose
Always Allow and it will not ask again. Until that is granted the read
cannot complete: the server waits 5 seconds, then falls back to the
environment variables, so a server started where nobody can answer the dialog
behaves as if the keyring were empty rather than hanging.
To avoid the dialog entirely, write the entry from the same Node.js runtime
that will read it. The value is piped in on standard input, so it appears
neither in a command line nor in a process environment (
ps -Eshows those).
The prompt below is plain POSIX, so it behaves the same in
zshandbash:
`bash
npm install -g @lazyants/transkribus-mcp-server # the keyring module ships with it
cd "$(npm root -g)/@lazyants/transkribus-mcp-server"
printf 'Transkribus password: ' >&2; stty -echo; IFS= read -r TK_SECRET; stty echo; printf '\n' >&2
printf '%s' "$TK_SECRET" | node -e '
const { Entry } = require("@napi-rs/keyring");
let value = "";
process.stdin.setEncoding("utf8");
process.stdin.on("data", (chunk) => { value += chunk; });
process.stdin.on("end", () => {
new Entry("transkribus-mcp", "password").setPassword(value);
console.log("stored");
});
'
unset TK_SECRET
`
Repeat with
"user"in place of"password". A different Node.js
installation later (a
nvmswitch, say) is a different program to the
keychain, so the dialog can appear once more for it.
cmdkey can only take the value as a command-line argument, which exposes it in the process list. Read it from a hidden prompt instead and write it straight into Windows Credential Manager via CredWrite. The credential's target name is . — user.transkribus-mcp and password.transkribus-mcp for the default service — which is exactly what the server reads back:
Add-Type -Namespace TranskribusKeyring -Name Native -MemberDefinition @'
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] public struct CREDENTIAL { public uint Flags; public uint Type; [MarshalAs(UnmanagedType.LPWStr)] public string TargetName; [MarshalAs(UnmanagedType.LPWStr)] public string Comment; public System.Runtime.InteropServices.ComTypes.FILETIME LastWritten; public uint CredentialBlobSize; public IntPtr CredentialBlob; public uint Persist; public uint AttributeCount; public IntPtr Attributes; [MarshalAs(UnmanagedType.LPWStr)] public string TargetAlias; [MarshalAs(UnmanagedType.LPWStr)] public string UserName; } [DllImport("advapi32.dll", CharSet = CharSet.Unicode, SetLastError = true)] public static extern bool CredWriteW(ref CREDENTIAL credential, uint flags); '@
function Set-TranskribusCredential { param(Parameter(Mandatory)$Account, Parameter(Mandatory)$Prompt) $secure = Read-Host -AsSecureString $Prompt $blob = [Runtime.InteropServices.Marshal]::SecureStringToCoTaskMemUnicode($secure) try { $cred = New-Object TranskribusKeyring.Native+CREDENTIAL $cred.Type = 1 # CRED_TYPE_GENERIC $cred.Persist = 2 # CRED_PERSIST_LOCAL_MACHINE $cred.TargetName = "$Account.transkribus-mcp" # " . " $cred.UserName = $Account $cred.CredentialBlob = $blob $cred.CredentialBlobSize = $secure.Length * 2 # UTF-16 bytes, no terminator if (-not [TranskribusKeyring.Native]::CredWriteW([ref]$cred, 0)) { throw "CredWrite failed (Win32 error $([Runtime.InteropServices.Marshal]::GetLastWin32Error()))" } Write-Host "Stored '$Account' in Windows Credential Manager." } finally { [Runtime.InteropServices.Marshal]::ZeroFreeCoTaskMemUnicode($blob) $secure.Dispose() Remove-Variable secure, blob } }
Set-TranskribusCredential -Account 'user' -Prompt 'Transkribus user (e-mail)' Set-TranskribusCredential -Account 'password' -Prompt 'Transkribus password'
Using a custom
TRANSKRIBUS_KEYRING_SERVICE(e.g.acme)? SetTargetNameto
user.acme/password.acmeto match — the server looks each value up under
..
secret-tool store --label="Transkribus user" service transkribus-mcp username user
secret-tool store --label="Transkribus password" service transkribus-mcp username password
Once stored, MCP config files need no credentials at all.
export TRANSKRIBUS_USER=your-email@example.com
export TRANSKRIBUS_PASSWORD=your-password
Or, with a session you already hold:
export TRANSKRIBUS_SESSION_ID=your-session-id
| Variable | Default | Description |
|---|---|---|
TRANSKRIBUS_USER | — | Account e-mail; used when the keyring has no user entry for the configured service |
TRANSKRIBUS_PASSWORD | — | Account password; used when the keyring has no password entry |
TRANSKRIBUS_SESSION_ID | — | An existing session id; used when the keyring has no session-id entry |
TRANSKRIBUS_KEYRING_SERVICE | transkribus-mcp | Keyring service name. Override to connect to several Transkribus accounts at once — run one server instance per account, each with its own service name |
The transkribus_processing_* tools talk to a different service with a different auth scheme, but they need no extra configuration: the same TRANSKRIBUS_USER + TRANSKRIBUS_PASSWORD are exchanged for an OIDC bearer token (READCOOP SSO password grant, client processing-api-client) and refreshed automatically. TRANSKRIBUS_SESSION_ID does not apply to them.
Two optional overrides:
export TRANSKRIBUS_ACCESS_TOKEN=your-bearer-token # skip the token exchange entirely
export TRANSKRIBUS_PROCESSING_CLIENT_ID=custom-client # non-default OIDC client
Set TRANSKRIBUS_PROCESSING_BACKEND=v2 in the MCP server's environment before starting it. The default is v1; invalid values fail configuration. v2 uses the documented staging host https://api-staging.transkribus.org/v2, with the same OIDC credentials and PAGE/ALTO XML operations as v1. This selection affects the Processing tools in both the full server and transkribus-mcp-processing.
| Backend | Job identifiers | Terminal statuses | Result retention | Tools |
|---|---|---|---|---|
v1 (default) | Positive integers, including numeric strings | FINISHED, FAILED | Two days | Submit, status, PAGE XML, ALTO XML |
v2 (beta, staging) | Positive integers, numeric strings, UUIDs | FINISHED, FAILED, CANCELLED | 24 hours after completion | The same four tools, plus longpoll and ZIP |
v2 submission and status results preserve the API fields and add terminal, pollingAvailable, and linksByRel. Links are indexed by their stable rel values, such as self, status, longpoll, result, and page-result; display titles do not affect behavior. An absent longpoll relation stops polling availability, and terminal states always stop it. Link URLs are returned as data; the server requests only the selected backend's documented paths.
transkribus_processing_longpoll: pass processId and optionally interval (an int32 number of milliseconds). The call returns the observed job with timedOut: false; inspect terminal because HTTP 200 may contain a nonterminal status change. HTTP 408 or the 45-second local deadline returns { processId, timedOut: true, terminal: null }, so callers may retry without treating a timeout as a completed job.transkribus_processing_get_result_zip: pass processId to download a finished job's archive. The result includes filename, mimeType: "application/zip", encoding: "base64", byteLength, and data; decode data as base64 and save it under filename. Downloads are limited to 20 MiB, checked for ZIP MIME type and signature, and do not follow redirects. HTTP 404 means no result is available.These two tools are advertised only with v2 selected. The job guide describes lifecycle, links, and retention; the compatibility guide documents the Developer Platform's existing /v2/processes contract.
| Command | Domains | Tools |
|---|---|---|
transkribus-mcp-server | All 23 domains | 304 (306 with v2) |
transkribus-mcp-collections | Auth, Collections (core/docs/pages/users/crowd/editdecl/credits/stats/labels/activity/tags) | 131 |
transkribus-mcp-admin | Auth, Admin, Credits, Uploads, Labels, Files, System, Root | 62 |
| `transkribus-mcp-transcri
只显示了开头部分;其余内容请在仓库中阅读