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

Thingctx

作者:thingctx版本 0.2.2i★ –i在你的电脑上运行
注册名称com.thingctx/thingctx

安装

概览

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

Drive devices and APIs from their W3C Thing Description. You gate every operation.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

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

安装

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

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: THINGCTX_POLICY, THINGCTX_APPROVE_WHEN, THINGCTX_FS_ROOT

你需要

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

你用的是哪个应用?

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

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "thingctx": {
      "command": "uvx",
      "args": [
        "thingctx",
        "--from",
        "thingctx[mcp,http,mqtt,media,filesystem,authz]",
        "thingctx-mcp",
        "https://td.thingctx.com/index.json"
      ],
      "env": {
        "THINGCTX_POLICY": "your-value",
        "THINGCTX_APPROVE_WHEN": "your-value",
        "THINGCTX_FS_ROOT": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add thingctx --env THINGCTX_POLICY=your-value --env THINGCTX_APPROVE_WHEN=your-value --env THINGCTX_FS_ROOT=your-value -- uvx thingctx --from 'thingctx[mcp,http,mqtt,media,filesystem,authz]' thingctx-mcp https://td.thingctx.com/index.json

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "thingctx": {
      "command": "uvx",
      "args": [
        "thingctx",
        "--from",
        "thingctx[mcp,http,mqtt,media,filesystem,authz]",
        "thingctx-mcp",
        "https://td.thingctx.com/index.json"
      ],
      "env": {
        "THINGCTX_POLICY": "your-value",
        "THINGCTX_APPROVE_WHEN": "your-value",
        "THINGCTX_FS_ROOT": "your-value"
      }
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "thingctx": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "thingctx",
        "--from",
        "thingctx[mcp,http,mqtt,media,filesystem,authz]",
        "thingctx-mcp",
        "https://td.thingctx.com/index.json"
      ],
      "env": {
        "THINGCTX_POLICY": "your-value",
        "THINGCTX_APPROVE_WHEN": "your-value",
        "THINGCTX_FS_ROOT": "your-value"
      }
    }
  }
}

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

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

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

需要你填写的值

  • THINGCTX_POLICY env
    What the agent may do: read-only | full.
  • THINGCTX_APPROVE_WHEN env
    When the agent asks before acting: declared | destructive | all | never.
  • THINGCTX_FS_ROOT env
    Sandbox directory for the filesystem Thing. Unset = refuse every filesystem call.

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

    注册名称已通过域名 thingctx.com 验证(注册中心会核实域名所有权)

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

Thingctx 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.2.2)于3个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Dechonet MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

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

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

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

在云端运行★ 211昨天更新
安装

Dechonet MCP

作者:node-man

30 security tools for AI agents: phishing links, exposure maps, DNS, SSL, PQC, history, pivots.

电脑或云端今天更新
安装

作者的 README

打开 README

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

thingctx

thingctx turns a description of any API, device, or local process into tools an AI agent can call: authorized per operation, over the system's own transport, and the agent never holds your keys. The description is a W3C Web of Things Thing Description (a TD), a plain JSON file naming what the system can do. Write one, or compile it from an OpenAPI spec. The described system is the server, so you run no server per integration.

A "Thing" is whatever you want to describe: a REST API, an app, a sensor, a media server, a local object, or one system that is several of those at once. A media server takes commands over HTTP and serves its stream over RTSP. The pump in examples/ reads over MQTT and acts through a local call. Each is one Thing and one description.

A description names actions, properties, and events, and gives each one a form: the entry that says where and how to reach it. The URL scheme in that address picks the transport per call, so however many protocols one Thing spans, the agent still sees one tool set.

docs/BINDINGS.md covers the transports and how to add your own. A subprocess transport, exec, also ships, and it ships locked: it refuses every command until you hand it an explicit allowlist.

Those three stay distinct all the way to the call. A read, a write, and a subscribe do not collapse into one undifferentiated function, which is why the gate can allow the read and refuse the write on the same system. A flat list of functions has no such handle.

Pick your path: use it as a library if you own the agent loop, the command line if you do not want to write code, the MCP bridge if your host only speaks MCP, or add a transport if thingctx does not speak your protocol yet.

Stuck, or wondering whether something is possible? Ask in Discussions. Want to build something small? The open issues say what would help.

First run: no keys, no network

One paste shows the whole idea. The description is inline and the handler ships with the package, so nothing here needs a key, a network, or a second file:

pip install thingctx
import asyncio

import thingctx from thingctx.contrib.time import make_time_handler

TD = { "@context": "https://www.w3.org/2022/wot/td/v1.1", "id": "urn:thingctx:time", "title": "Time", "securityDefinitions": {"nosec_sc": {"scheme": "nosec"}}, "security": ["nosec_sc"], "actions": { "getCurrentTime": { "description": "Current time in an IANA timezone (default UTC).", "input": { "type": "object", "properties": {"timezone": {"type": "string"}}, }, "safe": True, "idempotent": True, "forms": [{"href": "local://getCurrentTime"}], } }, }

async def main(): client = thingctx.ThingClient(tds=[TD], bindings=[thingctx.LocalBinding(make_time_handler())]) tools, invoke = client.as_tools() # specs for your model; invoke runs a call print("tools:", t["function" for t in tools]) print(await invoke("time__getCurrentTime", {"timezone": "UTC"}))

asyncio.run(main())

tools: ['time__getCurrentTime'] {'timezone': 'UTC', 'datetime': '2026-07-26T15:59:03.233080+00:00', 'utc_offset': '+0000'}

That is the whole loop: a description in, tools out, calls routed. LocalBinding is a binding, a transport implementation; this one routes the local:// address to the handler you pass it. Every other transport works the same way; only the form's href changes.

Install

pip install 'thingctx[llm,http,validate]'

Quote the argument; unquoted brackets fail in zsh. Base pip install thingctx has no dependencies; it already includes the local and exec transports. Redis support is pip install 'thingctx[redis]'. Every optional transport and capability has an extra, listed in pyproject.toml; each one this page uses is named next to the code that needs it.

The document

A description can be small. This one drives the live, key free Open-Meteo forecast API, so it runs as written. Save it as weather.td.json, a later example uses it:

{

"@context": "https://www.w3.org/2022/wot/td/v1.1", "id": "urn:example:weather:v1", "title": "Weather", "securityDefinitions": { "nosec_sc": { "scheme": "nosec" } }, "security": ["nosec_sc"], "actions": { "forecast": { "input": { "type": "object", "properties": { "latitude": { "type": "number" }, "longitude": { "type": "number" }, "current": { "type": "string" } }, "required": ["latitude", "longitude"] }, "forms": [{ "href": "https://api.open-meteo.com/v1/forecast", "htv:methodName": "GET" }] } } }

thingctx projects each action to a tool named __ : this file yields weather__forecast (a version segment on the id is dropped). docs/MAPPING.md specifies the full projection. The description carries no secrets, so it is safe to commit and share. The secret is supplied at runtime to the binding that carries the call. Secrets are keyed per Thing.

If your system already has an OpenAPI 3.x spec, you do not have to author a description at all:

pip install 'thingctx[openapi]'

thingctx import openapi https://api.example.com/openapi.json --out api.td.json

The spec can be a file or a URL, JSON or YAML; --base-url, --id, and --title override what the spec says. The result is a normal description, so everything else here applies to it unchanged.

Ready made descriptions for common apps, developer tools, and devices live at td.thingctx.com.

Use it as a library

Own the agent loop? Read descriptions, hand the specs to your model, and route each call back through invoke. ThingClient needs no LLM and has no opinion on what chose the action; any code can drive it. This sketch shows the surface against a folder describing a pump; from_arg turns a path or URL into a registry of descriptions:

import thingctx

async def run(): # a sketch, not a program: call it from your own loop client = thingctx.ThingClient.from_registry(thingctx.from_arg("./descriptions/")) specs, invoke = client.as_tools()

await invoke("pump__set_speed", {"rpm": 1500}) await client.read_property("pump__rpm") await client.write_property("pump__target_rpm", 1500) # gated like invoke async for evt in await client.subscribe( "pump__overheat" ): # subscribe returns an async iterator ...

The form picks the transport per call, so one client can read over HTTP, subscribe over MQTT, and read or write cached properties over Redis. Bindings that pull optional dependencies, including MQTT and Redis, are off by default: install the extra and pass bindings=thingctx.BindingRegistry.default(mqtt=True, redis=True).

Want the loop handled for you? The llm extra runs any provider through litellm; add the http extra, since the weather file's form is HTTPS. Set your provider key in its usual variable (OPENAI_API_KEY, ANTHROPIC_API_KEY, and so on) and pick a model with THINGCTX_MODEL:

import asyncio

import thingctx

async def main():

weather.td.json from above; it points at a live, key free API

host = thingctx.from_file("weather.td.json") print(await host.chat("What is the forecast for Cairo? Latitude 30.0, longitude 31.2."))

asyncio.run(main())

The model calls weather__forecast itself and answers in prose:

The forecast for Cairo is clear, around 34 C.

Safety: approval and authorization

Two opt in layers stand between an agent and a real system; both run before any transport is selected. Neither layer handles a credential. The binding holds the secret and the model never sees it.

Approval gates risky calls behind a human. Risk is read from the description, and when to gate is yours: declared (only actions the description marks risky; the default), destructive (adds non idempotent actions and every property write), all, or never. A gated call with no approver is denied: a gate with nobody to open it stays shut. The check sits inside invoke and write_property, so it covers the LLM loop, direct callers, and the MCP bridge alike.

Carrying on from the first example above, with the same TD:

def approve(req):  # sync or async; return True to allow

return input(f"run {req.tool_name}{req.arguments}? [y/N] ").lower() == "y"

client = thingctx.ThingClient( tds=[TD], bindings=[thingctx.LocalBinding(make_time_handler())], approve=approve, approve_when="all", )

Authorization decides from policy, per caller, per operation. Pass a pdp and an identity and every call authorizes the resolved (thing, affordance, operation) before it reaches the system; an affordance is an action, property, or event named in the description. This snippet condenses examples/14_authz.py, which runs as is on the core install. It defines the TD and Pump used below: a pump with one property, target_rpm.

from thingctx import LocalBinding, ThingClient

from thingctx.authz import LocalPolicyGrantSource, PolicyDecisionPoint, build_vocabulary

reader = ThingClient( tds=[TD], bindings=[LocalBinding(Pump())] ) # no pdp yet; parsed only to read the description vocab = build_vocabulary(reader.things) # the closed set the description declares

grants = LocalPolicyGrantSource({"operator": {("urn:demo:pump", "target_rpm", "readproperty")}}) pdp = PolicyDecisionPoint(vocabulary=vocab, grant_source=grants) identity = {"sub": "alice", "roles": ["operator"]} # claims, validated upstream

client = ThingClient(tds=[TD], bindings=[LocalBinding(Pump())], pdp=pdp, identity=identity)

Alice's operator role grants read on target_rpm and nothing else, so her reads pass and her writes are refused. The vocabulary is closed: a grant is honored only for operations the description declares. thingctx.authz imports no crypto and runs on the dependency free core. Identity is claims that something upstream validated, never the credential itself.

Running the example prints:

vocabulary (grantable tuples the TD declares):

(urn:demo:pump, target_rpm, readproperty) (urn:demo:pump, target_rpm, writeproperty)

READ target_rpm -> ALLOWED, device returned 1200 WRITE target_rpm -> DENIED, grant does not include ('urn:demo:pump', 'target_rpm', 'writeproperty')

RE-READ target_rpm -> 1200 (unchanged: the denied write never ran)

The full model is in docs/SECURITY.md.

The MCP bridge

Some agents only take tools over MCP. For those, thingctx ships one generic MCP server, with no per integration server. It serves any registry of descriptions: a folder, a URL, or a W3C Thing Description Directory. A Directory is the standard catalog server for descriptions.

pip install 'thingctx[mcp,http]'

thingctx-mcp ./descriptions/

For Claude D

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

问 PopNx