thingctx for VS Code
com.thingctx/thingctx
Drive devices and APIs from their W3C Thing Description. You gate every operation.
client:VS Code
transport:stdio
runtime:pypi
Install thingctx in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "thingctx-policy",
"description": "THINGCTX_POLICY",
"password": true
},
{
"type": "promptString",
"id": "thingctx-approve-when",
"description": "THINGCTX_APPROVE_WHEN",
"password": true
},
{
"type": "promptString",
"id": "thingctx-fs-root",
"description": "THINGCTX_FS_ROOT",
"password": true
}
],
"servers": {
"thingctx": {
"type": "stdio",
"command": "uvx",
"args": [
"thingctx"
],
"env": {
"THINGCTX_POLICY": "${input:thingctx-policy}",
"THINGCTX_APPROVE_WHEN": "${input:thingctx-approve-when}",
"THINGCTX_FS_ROOT": "${input:thingctx-fs-root}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs