Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Model BPMN processes and DMN decisions as text: check, export, import, simulate, evaluate.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"tok": {
"command": "uvx",
"args": [
"tok-lang",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add tok -- uvx tok-lang mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"tok": {
"command": "uvx",
"args": [
"tok-lang",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"tok": {
"type": "stdio",
"command": "uvx",
"args": [
"tok-lang",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 tok-lang-bpm 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.0.3)于6天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Readfirst
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ 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.
What to read and check before changing a file: project rules, risks, checks and tests per file.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
tok is a plain-text language for process models. One short text file describes a BPMN 2.0 process — pools, lanes, events, tasks, gateways, flows and data — together with the DMN decisions it uses, the forms people fill in and the parameters needed to simulate it. The tok tool checks the model and turns it into everything else: BPMN 2.0 XML with an automatic diagram layout (opens in Camunda Modeler and bpmn.io), SVG pictures, DMN files, Camunda forms and simulation results.
[The guide](https://tok-lang-bpm.github.io/) · [Playground](https://tok-lang-bpm.github.io/playground/) · [Language on one page](https://github.com/tok-lang-bpm/tok/blob/main/docs/cheatsheet.md) · [BPMN symbols](https://github.com/tok-lang-bpm/tok/blob/main/docs/symbols.md) · [Report an issue](https://github.com/tok-lang-bpm/tok/issues)
tok 1.0 "Interlibrary loan"
pool library "University library" lane reader "Reader" start need "Book needed" user order "Place an order" lane librarian "Librarian" user catalogues "Search the catalogues" xor available "Available locally?" user point "Point to the copy" send request "Order from another library" message="Order" end pointed "Copy pointed out" end ordered "Order placed"
pool other "Lending library"
flow need -> order -> catalogues -> available flow available -> point "yes" flow available -> request "no" flow point -> pointed flow request -> ordered
message request -> other "Order"
| You want to | Start with |
|---|---|
| model processes | pip install tok-lang, then the chapters *Getting started* and *Process basics* of the guide; the playground needs no installation |
| learn BPMN with tok (students) | the guide from the beginning, the symbol catalogue and the cheat sheet |
| run models on Camunda 8 | the chapter *Executable models* of the guide and docs/conformance-camunda.md |
| work with an AI agent | the agent bundle tok-lang-bpm/tok-agent (skill and MCP server), docs/mcp.md |
| check models in continuous integration | the action tok-lang-bpm/setup-tok |
| use tok from Python, R, Julia, JavaScript or C | docs/python.md, r/tokr, docs/julia.md, docs/playground.md, docs/c-api.md |
| implement or extend the language | docs/spec.md, the conformance corpus conformance/, CONTRIBUTING.md |
| Repository | What it holds |
|---|---|
| tok-lang-bpm/tok | this repository: the language, the engine, every package, the editor support, the MCP server and the documentation |
| tok-lang-bpm/tok-agent | the agent bundle: the skills tok-modelling and bpmn-modelling and the MCP configuration, installable as a plugin |
| tok-lang-bpm/setup-tok | GitHub Action: installs tok and checks the models of a repository |
| tok-lang-bpm/tok-lang-bpm.github.io | the guide (a book) and the playground at https://tok-lang-bpm.github.io/ |
| tok-lang-bpm/tok-evidence | the data, scripts and results of the study of tok (size, fault detection, language models, performance, conformance, process mining), archived at Zenodo: 10.5281/zenodo.23881048 |
Packages: tok-lang (PyPI), tok-cli, tok-core, tok-bpmn, tok-sim, tok-lsp, tok-mcp (crates.io), tokr (CRAN, and R-universe), TokLang (Julia General registry), tok for VS Code (Visual Studio Marketplace and Open VSX).
tok is for process analysts and information managers who keep models as documents, for teachers and students of process modelling, for developers of executable processes on Camunda 8, and for researchers who need a process-model format that can be written, checked and compared as text, for example in studies of process modelling with language models.
tok cheatsheet). An agent can write a model, run tok check --json (or call the check tool of the MCP server, tok mcp), read the line-numbered diagnostics and fix them, without ever touching XML or coordinates.tok import converts existing BPMN and DMN files back to text.The tok command is the Rust engine. It comes with the Python package tok-lang (Python 3.8 or newer; wheels for Windows x64, Linux x86_64 and aarch64, macOS; on Windows use py -m pip if pip is not on the path):
pip install tok-lang
tok --version
On a platform without a wheel pip builds the engine from the source archive, which needs Rust 1.99 or newer. The command alone, from crates.io or from a checkout of the repository:
cargo install tok-cli # the program tok
cd rust && cargo build --release -p tok-cli # target/release/tok
Every way reads every version of the language, 0.1 to 1.0. The package also keeps the pure-Python implementation frozen at language 0.3, the reference of the parity tests: TOK_ENGINE=python tok … runs it (docs/python.md).
The package also runs the MCP server for AI agents: tok mcp (docs/mcp.md). The R package tokr (install.packages("tokr")), the Julia package TokLang.jl (below), the language server tok-lsp and the MCP server as a program of its own (cargo install tok-lsp tok-mcp) and the VS Code extension *tok* are described under Tools.
TokLang.jl gives the whole language to Julia through the C interface of the engine, keeps an independent implementation of the core of the specification, and adds a native simulator for large experiments and the calibration of simulation parameters on event logs:
using Pkg; Pkg.add("TokLang") # or Pkg.add(url="https://github.com/tok-lang-bpm/tok", subdir="julia/TokLang.jl")
using TokLang text = read("model.tok", String) TokLang.Engine.check(text) # the engine: every layer of the language m = TokLang.Sim.model(text) # native simulation (julia -t auto) e = TokLang.Sim.experiment([m, TokLang.Sim.scenario(m; name="+1", resources=Dict("staff" => 3))]; replications=200) TokLang.Sim.summarize(e) f = TokLang.Fit.fit(text, TokLang.Fit.read_xes("log.xes")) # calibration on an event log TokLang.Fit.apply(text, f) # the document with the fitted parameters
The engine library comes with the package, through its dependency tok_jll; see docs/julia.md and the API reference.
tok check model.tok # diagnostics; --lang pl for Polish, --json for programs
tok fmt model.tok -w # canonical form tok bpmn model.tok # model.bpmn with diagram layout tok svg model.tok # model.svg tok export model.tok -o out/ # BPMN, SVG, DMN and forms (executable models for Camunda 8) tok import diagram.bpmn # BPMN 2.0 XML to tok tok sim model.tok --seed 1 # simulation indicators; --log log.csv for the event log tok eval model.tok DECISION a=1 # evaluate a decision
| Tool | What it gives | Documentation |
|---|---|---|
tok | the command line: check, format, export, import, simulate, evaluate; also check, lay out and draw BPMN 2.0 XML files from any modelling tool | docs/cli.md |
tok-lsp | language server (LSP 3.17) for any editor: diagnostics, formatting, go to definition, references, rename, outline, hover, completion, the diagram | docs/lsp.md |
| VS Code extension | syntax highlighting, the language server, a live diagram preview, export of BPMN and every file | editors/vscode |
tok mcp, tok-mcp | MCP server for AI agents: the tools check, check_bpmn (BPMN 2.0 XML), fmt, export, import, sim, eval and the language reference (tok mcp from the Python package, or the program tok-mcp) | docs/mcp.md |
| playground | the engine in the browser (WebAssembly): editor, diagnostics, diagram, bpmn-js viewer, simulation, decisions, downloads | docs/playground.md |
| Python, R, Julia | tok-lang (Python), tokr (R), TokLang.jl (Julia) on the same engine | docs/julia.md, r/tokr |
| C library | tokengine with tok.h, for any language that calls C | docs/c-api.md |
cd rust
cargo build --release -p tok-lsp -p tok-mcp # target/release/tok-lsp, target/release/tok-mcp bash tools/playground.sh # the playground in rust/target/playground
| Document | Contents |
|---|---|
| docs/spec.md | the language specification (normative) |
| docs/cheatsheet.md | the language on one page |
| docs/symbols.md | every BPMN symbol tok draws, with its tok statement and its support in Camunda 8 (tools/symbols.py) |
| docs/cli.md | command line reference |
| docs/diagnostics.md | diagnostic codes in English and Polish |
| docs/feel.md | FEEL: the subset of languages 0.1–0.6 and the full FEEL of lang
只显示了开头部分;其余内容请在仓库中阅读