原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

tok

作者:tok-lang-bpm版本 1.0.3i★ –i在你的电脑上运行
注册名称io.github.tok-lang-bpm/tok

安装

概览

作者提供的说明(英文原文)

Model BPMN processes and DMN decisions as text: check, export, import, simulate, evaluate.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 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 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "tok": {
      "command": "uvx",
      "args": [
        "tok-lang",
        "mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "tok": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "tok-lang",
        "mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 tok-lang-bpm 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 18477 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 18477 个服务器的 87% 更新
  • 基础检查结果等于或优于此分类中其他 18477 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

tok 安全吗?

它在 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

Spec Driven Development

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

作者:formulahendry起步阶段↓ 66/周★ 44014个月前更新

在你的电脑上运行

Remote Desktop Commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

作者:desktop-commander正在增长★ 2113天前更新

在云端运行✓ desktopcommander.app

Readfirst

What to read and check before changing a file: project rules, risks, checks and tests per file.

作者:jeonghun917正在增长↓ 5325/周今天更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

tok

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"

Start here

You want toStart with
model processespip 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 8the chapter *Executable models* of the guide and docs/conformance-camunda.md
work with an AI agentthe agent bundle tok-lang-bpm/tok-agent (skill and MCP server), docs/mcp.md
check models in continuous integrationthe action tok-lang-bpm/setup-tok
use tok from Python, R, Julia, JavaScript or Cdocs/python.md, r/tokr, docs/julia.md, docs/playground.md, docs/c-api.md
implement or extend the languagedocs/spec.md, the conformance corpus conformance/, CONTRIBUTING.md

The tok project

RepositoryWhat it holds
tok-lang-bpm/tokthis repository: the language, the engine, every package, the editor support, the MCP server and the documentation
tok-lang-bpm/tok-agentthe agent bundle: the skills tok-modelling and bpmn-modelling and the MCP configuration, installable as a plugin
tok-lang-bpm/setup-tokGitHub Action: installs tok and checks the models of a repository
tok-lang-bpm/tok-lang-bpm.github.iothe guide (a book) and the playground at https://tok-lang-bpm.github.io/
tok-lang-bpm/tok-evidencethe 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).

Who it is for

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.

Why a text language

  • Readable and reviewable. Every line starts with a keyword and describes one element. Changes show up as clear diffs in version control.
  • Made for people and for AI agents. The whole language fits on one page (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.
  • Standards on the outside. tok is a notation for BPMN 2.0 and DMN, not a replacement. Everything you write is exported to the OMG formats that modelling tools and process engines read; tok import converts existing BPMN and DMN files back to text.
  • Executable and measurable. The same file can carry the details Camunda 8 needs to run the process, and the times, resources and probabilities a simulation needs to estimate cycle times and workloads.
  • Simple to implement. A line-based grammar with six token types. Python, Rust and Julia implementations pass the same conformance corpus byte for byte.

Install

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.

Julia

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.

Use

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

Tools

ToolWhat it givesDocumentation
tokthe command line: check, format, export, import, simulate, evaluate; also check, lay out and draw BPMN 2.0 XML files from any modelling tooldocs/cli.md
tok-lsplanguage server (LSP 3.17) for any editor: diagnostics, formatting, go to definition, references, rename, outline, hover, completion, the diagramdocs/lsp.md
VS Code extensionsyntax highlighting, the language server, a live diagram preview, export of BPMN and every fileeditors/vscode
tok mcp, tok-mcpMCP 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
playgroundthe engine in the browser (WebAssembly): editor, diagnostics, diagram, bpmn-js viewer, simulation, decisions, downloadsdocs/playground.md
Python, R, Juliatok-lang (Python), tokr (R), TokLang.jl (Julia) on the same enginedocs/julia.md, r/tokr
C librarytokengine with tok.h, for any language that calls Cdocs/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

Documentation

DocumentContents
docs/spec.mdthe language specification (normative)
docs/cheatsheet.mdthe language on one page
docs/symbols.mdevery BPMN symbol tok draws, with its tok statement and its support in Camunda 8 (tools/symbols.py)
docs/cli.mdcommand line reference
docs/diagnostics.mddiagnostic codes in English and Polish

| docs/feel.md | FEEL: the subset of languages 0.1–0.6 and the full FEEL of lang

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx