ASD-STE100 Simplified Technical English

io.github.dfch由 GitHub 账号 dfch 发布v3.0.0更新于 Oct 24, 2026

An MCP server for the ASD-STE100 (Simplified Technical English) Issue 9 standard.

已验证STDIO仅桌面知识与记忆开发者工具

概览

AI 生成的概览

让助手查询 ASD-STE100 简化技术英语词汇和规则,以检查技术写作是否符合规范。

可以做什么
提供对内置 ASD-STE100 Issue 9 词汇表和规则集的只读查询工具。词汇工具支持按精确名称、批量、正则表达式、模糊匹配或 WordNet 同义词查找,返回批准或拒绝状态、词性、示例和批准替代词。规则工具支持按编号、模式、全文、章节或类别搜索,并返回示例、概览和目录。只读资源可浏览规则目录、按编号获取单条规则以及版本信息。
适用场景
适合在撰写或检查技术文档是否符合简化技术英语时使用,也适合助手确认某个词是否被批准以及应改用哪个词。按章节或类别浏览规则集时同样有用。
运行要求
作为本地 Python 包运行(pip install biz-dfch-asdste100mcp),默认通过 stdio 通信,也可用 ASDSTE100_MCP_TRANSPORT、ASDSTE100_MCP_HOST 和 ASDSTE100_MCP_PORT 启用 SSE。可通过 ASDSTE100_MCP_FILES 和 ASDSTE100_MCP_RULES_FILES 添加额外的词汇和规则文件。无需账号或 API 密钥。
安装前请注意
该服务器为只读,不需要任何凭据。若将 SSE 传输暴露到 localhost 之外,README 说明它不会自行验证请求,应在网络层(例如反向代理)加以保护。ASD-STE100 版权归 ASD 所有,作者声明与 ASD 无关联,也未获其认可。

安装

在 SourceWeft 中

  1. 打开 控制台中的 ASD-STE100 Simplified Technical English,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

biz.dfch.AsdSte100Mcp

[ASD-STE100: Issue 9] [License: AGPL v3] [Python] [Lint and Test] [TestPyPI version] [PyPI version] [PyPI downloads] [MCP Registry] [Auth: none]

An MCP server for the ASD-STE100 (Simplified Technical English) Issue 9 standard.

ASD-STE100: Copyright by (c) ASD.

I am in no way affiliated with ASD. ASD does not endorse my work.

Table of Contents

Authentication

This server exposes only read-only lookup tools and resources over vocabulary and rules data that is bundled with the package; there is nothing to authenticate against. No API keys, tokens, or credentials are required or supported in either stdio or sse transport mode. If you expose the sse transport beyond localhost, secure it at the network layer (e.g. a reverse proxy) rather than expecting the server to authenticate requests itself.

Tools

Vocabulary

ToolDescription
word_findSearch for a term by exact name (case-insensitive) in the ASD-STE100 Issue 9 vocabulary. Return approved/rejected status, part of speech, STE examples, and approved alternatives. Use this first when you know the exact word. Use word_match with a wildcard if this tool returns no items.
word_find_manySearch for multiple terms by exact name (case-insensitive) in a single call. Returns one WordFindEntry per input term (term + results), in the same order as the input, each holding 0, 1, or more matching vocabulary entries.
word_matchSearch the vocabulary using a regular expression pattern. Return all entries whose term matches. Use it to find all words with a common prefix or pattern (e.g. ^de or .*tion$). Paginated (max_results/offset); returns a WordResult.
word_fuzzySearch for a term with sequence-matching (Python difflib.get_close_matches). Results may not be obvious — use when word_find returns nothing and you want fuzzy suggestions.
word_listReturn all vocabulary entries. Only use when you need to process the full vocabulary. Use word_count instead if you only need the total. Paginated (max_results/offset); returns a WordResult.
word_countReturn the total number of entries in the vocabulary. Use instead of word_list when you only need the count.
word_synonymSearch for vocabulary entries that are WordNet synonyms of a word, via the biz-dfch-asdste100nlp library's Nlp class. Use this to find approved alternatives for a non-STE word.

Rules

ToolDescription
rules_findSearch for rules in the ruleset by exact id (case-insensitive), e.g. R1.1 or GR-8. Use this first when you know the exact id.
rules_matchSearch rules using a regular expression matched against the rule name and summary.
rules_searchFull-text search across every text a rule carries (section, category, name, summary, and all content blocks: text, notes, examples, technical noun/verb lists). Optionally restrict to specific content types. Paginated (max_results/offset); returns a SearchResult.
rules_by_sectionSearch for rules by exact section name (case-insensitive), e.g. Words.
rules_by_categorySearch for rules by exact category name (case-insensitive), e.g. Technical nouns.
rules_examplesReturn content items across rules, optionally scoped by id/section/category and filtered by content type. Paginated (max_results/offset); returns a RulesExamplesResult.
rules_overviewReturn a lightweight, per-rule overview (id, type, section, category, name, optional summary, and content counts/flags) without shipping every content item.
rules_tocReturn the distinct (section, category) pairs as a table-of-contents outline, optionally scoped to one section.

Resources

Read-only resources let a client browse or attach ruleset data directly (e.g. via an "@mention" or resource picker), without going through a tool call.

Resource URIDescription
asdste100://rules/tocTable-of-contents outline of the ruleset: the distinct (section, category) pairs, each with the ids they contain. Mirrors the rules_toc tool with no section filter.
asdste100://rules/rule/{id_}A single rule/recommendation/information item by exact id (case-insensitive), e.g. asdste100://rules/rule/R1.1. Mirrors the rules_find tool; an unknown id resolves to an empty list rather than an error.
asdste100://versionInstalled version numbers of the MCP server itself and its three data-backing libraries: biz-dfch-asdste100vocab, biz-dfch-asdste100rules, and biz-dfch-asdste100nlp.

Installation

bash
pip install biz-dfch-asdste100mcp

Or with uv:

bash
uv add biz-dfch-asdste100mcp

Usage

MCP Inspector

If you want to test the MCP server without a tool like OpenCode, you can do this with MCP Inspector.

MCP Inspector is part of the mcp[cli] package. When you install this project with --extra dev you can use MCP Inspector.

NOTE: The examples below use bunx instead of npx to launch MCP Inspector; npx has not been tested.

stdio (Claude Desktop, OpenCode, and other MCP hosts)

bash
asdste100-mcp

Run MCP Inspector against the server over stdio:

bash
bunx @modelcontextprotocol/inspector uv run --frozen --directory . asdste100-mcp

[MCP Inspector with stdio]

NOTE: Sometimes, the MCP Inspector cannot connect to the MCP server via stdio. Use the sse option (see below) instead.

SSE / network

bash
asdste100-mcp --transport sse --host localhost --port 8000

NOTE: You do not have to supply the option --port to the MCP server. The default value of port is 8000.

Start the server, then connect MCP Inspector to it — these are two separate commands, run in two separate terminals:

bash
# terminal 1: start the serveruvx --from . asdste100-mcp -t sse
bash
# terminal 2: launch the inspector and connect it to the running serverbunx @modelcontextprotocol/inspector

[Start the MCP server with uvx and then start the MCP Inspector with bunx]

[MCP Inspector with sse]

Options

OptionEnv varDefaultDescription
--transportASDSTE100_MCP_TRANSPORTstdioTransport mode: stdio or sse
--hostASDSTE100_MCP_HOSTlocalhostBind address (SSE only)
--portASDSTE100_MCP_PORT8000TCP port (SSE only)
--env—auto-discoveredPath to a .env file
--file / -fASDSTE100_MCP_FILES(empty)Path to a vocabulary file (*.jsonl); repeatable
--rules-file / -rASDSTE100_MCP_RULES_FILES(empty)Path to a rules file (a single JSON array); repeatable

Vocabulary configuration

Env varDefaultDescription
ASDSTE100_MCP_FILES(empty)Colon-separated paths to additional vocabulary files
ASDSTE100_MCP_USE_STE100trueLoad the built-in ASD-STE100 Issue 9 vocabulary
ASDSTE100_MCP_USE_STE100_TECHNICAL_WORDSfalseAlso load the technical words vocabulary

Rules configuration

Env varDefaultDescription
ASDSTE100_MCP_RULES_FILES(empty)Colon-separated paths to additional rules files (each a single JSON array)
ASDSTE100_MCP_USE_STE100_RULEStrueLoad the built-in ASD-STE100 Issue 9 ruleset

Add to OpenCode

To add the ASD-STE100 (Simplified Technical English) MCP server to your OpenCode configuration:

  1. Open your OpenCode config file (typically ~/.config/opencode/opencode.json or ~/.config/opencode/opencode.jsonc)

  2. Add the following configuration to the mcp section (and use it via stdio):

json
"asdste100": {  "type": "local",  "enabled": true,  "command": ["uvx", "--from", "biz-dfch-asdste100mcp", "asdste100-mcp"]}
  1. Save the file and restart OpenCode

This enables OpenCode to access ASD-STE100 vocabulary and rules lookups for technical writing and documentation compliance.

Development

Install dev dependencies

bash
uv sync --all-extras

Run linters

bash
uv run --frozen ruff format --checkuv run --frozen ruff checkuv run --frozen pylint $(git ls-files '*.py')

Run tests

bash
uv run --frozen python -m unittest discover -v -s tests -t . -p "test_*.py"

Related Projects

This server is part of the ASD-STE100 tooling family:

Make a Release

1. Make sure all tests pass

Before releasing, make sure the CI pipeline is green on the dev branch:

bash
uv run --frozen ruff format --checkuv run --frozen ruff checkuv run --frozen pylint $(git ls-files '*.py')uv run --frozen python -m unittest discover -v -s tests -t . -p "test_*.py"

2. Increase the version

Update the version in pyproject.toml:

toml
version = "x.y.z"

3. Commit and push to dev

bash
git add pyproject.toml CHANGELOG.mdgit commit -m "chore: bump version to vx.y.z"git push origin dev

4. Merge dev into main

bash
git checkout maingit merge devgit push origin main

5. Create and push a version tag

bash
export VERSION=x.y.zgit tag v${VERSION}git push origin v${VERSION}

Pushing the tag triggers the publish.yml workflow, which will:

  1. Build the sdist and wheel.
  2. Publish to TestPyPI (environment testpypi).
  3. Publish to PyPI (environment pypi), only if TestPyPI succeeded.
  4. Publish to the MCP Registry (publish-to-mcp-registry job) — requires the new version to be live on PyPI first.
  5. Create a GitHub Release with auto-generated notes and the distribution artifacts attached.

Then switch back to dev to continue work:

bash
git checkout dev

Configure Trusted Publishing

The workflow uses OIDC Trusted Publishing — no API tokens or secrets are needed.

GitHub: create environments

Go to your repo → Settings → Environments and create two environments:

EnvironmentRecommended protection
testpypiNone required
pypiAdd a required reviewer to prevent accidental production releases
TestPyPI

Log in at test.pypi.org → Your account → Publishing → Add a new pending publisher:

FieldValue
PyPI project namebiz-dfch-asdste100mcp
Ownerdfch
Repositorybiz.dfch.AsdSte100Mcp
Workflow namepublish.yml
Environmenttestpypi
PyPI

Log in at pypi.org → Your account → Publishing → Add a new pending publisher:

FieldValue
PyPI project namebiz-dfch-asdste100mcp
Ownerdfch
Repositorybiz.dfch.AsdSte100Mcp
Workflow namepublish.yml
Environmentpypi

MCP Registry Publishing

The publish-to-mcp-registry job uses GitHub OIDC authentication and does not require additional setup — it will automatically publish to the official MCP Registry once the package is live on PyPI.

Verify your server is registered:

bash
curl "https://registry.modelcontextprotocol.io/v0.1/servers?search=io.github.dfch/biz-dfch-asdste100mcp"

License

AGPL-3.0-or-later

来源:README.md,提交 1dc94f5

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v3.0.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分