{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_4knq4yhauz2a","handle":"winterm-mcp","url":"https://wellknown.network/agents/winterm-mcp","links":{"self":"https://wellknown.network/agents/winterm-mcp/record.json","html":"https://wellknown.network/agents/winterm-mcp","markdown":"https://wellknown.network/agents/winterm-mcp/record.md","api":"https://wellknown.network/api/v1/agents/winterm-mcp","status":"https://wellknown.network/api/v1/agents/winterm-mcp/status","claim":"https://wellknown.network/agents/winterm-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/winterm-mcp/claim.json","badge":"https://wellknown.network/agents/winterm-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:winterm-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"winterm-mcp","summary":"A Model Context Protocol (MCP) service for executing Windows terminal commands asynchronously","description":"# winterm-mcp \n \n**更新日期**: 2026-02-05 \n**版本**: 0.1.8 \n \nWindows Terminal MCP Service - 专门支持 Windows 终端的异步命令执行工具。 \n \n## 功能特性 \n \n- **PowerShell 支持**: 直接执行 PowerShell 命令（默认） \n- **Cmd 支持**: 可选执行 cmd 命令 \n- **异步执行**: 后台执行命令，立即返回 token \n- **状态查询**: 查询命令执行状态和结果 \n- **超时控制**: 可设置超时时间（1-3600秒） \n- **工作目录**: 指定执行目录 \n- **自动编码**: 自动处理 PowerShell (UTF-8) 和 Cmd (GBK) 编码 \n \n## 安装 \n \n```bash \ncd winterm_mcp_standalone \npip install -e . \n``` \n \n## 使用方法 \n \n### MCP 配置 \n \n在 MCP 客户端配置中添加： \n \n**基础配置**: \n \n```json \n{ \n  \"mcpServers\": { \n    \"winterm\": { \n      \"command\": \"uvx\", \n      \"args\": [ \n        \"winterm-mcp\" \n      ] \n    } \n  } \n} \n``` \n \n**推荐配置（带环境变量）**: \n \n```json \n{ \n  \"mcpServers\": { \n    \"winterm\": { \n      \"command\": \"uvx\", \n      \"args\": [ \n        \"winterm-mcp\" \n      ], \n      \"env\": { \n        \"WINTERM_POWERSHELL_PATH\": \"C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe\", \n        \"WINTERM_CMD_PATH\": \"C:\\\\Windows\\\\System32\\\\cmd.exe\", \n        \"WINTERM_PYTHON_PATH\": \"C:\\\\Python310\\\\python.exe\", \n        \"WINTERM_LOG_LEVEL\": \"DEBUG\" \n      } \n    } \n  } \n} \n``` \n \n### 环境配置 \n \n#### PowerShell 路径配置 \n \n在某些受限环境（如沙箱环境）中，系统 PATH 可能不包含 PowerShell 路径。winterm-mcp 会自动探测以下位置： \n \n1. `C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe` \n2. `C:\\Windows\\SysWOW64\\WindowsPowerShell\\v1.0\\powershell.exe` \n3. `C:\\Program Files\\PowerShell\\7\\pwsh.exe`（PowerShell Core） \n4. `C:\\Program Files (x86)\\PowerShell\\7\\pwsh.exe` \n \n如果 PowerShell 安装在非标准位置，可通过环境变量指定： \n \n**方式一：系统环境变量** \n \n```bash \n# Windows CMD \nset WINTERM_POWERSHELL_PATH=D:\\CustomPath\\powershell.exe \n \n# Windows PowerShell \n$env:WINTERM_POWERSHELL_PATH = \"D:\\CustomPath\\powershell.exe\" \n``` \n \n**方式二：MCP 配置** \n \n```json \n{ \n  \"mcpServers\": { \n    \"winterm\": { \n      \"command\": \"uvx\", \n      \"args\": [\"winterm-mcp\"], \n      \"env\": { \n        \"WINTERM_POWERSHELL_PATH\": \"C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe\" \n      } \n    } \n  } \n} \n``` \n \n#### Python 路径配置 \n \n如果需要指定命令执行时使用的 Python 解释器，可以通过 `WINTERM_P…","publisher":null,"homepage":"https://github.com/username/winterm-mcp/blob/main/README.md","repository":"https://github.com/username/winterm-mcp/blob/main/README.md","version":"0.1.8","license":"MIT","protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:winterm-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"dev.terminal","name":"Terminal & Shell","confidence":0.779,"provenance":"derived"}],"categories":["dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"winterm-mcp","registry":"pypi","observedAt":"2026-09-10T15:25:34.222Z","publishedAt":"2026-02-05T04:53:11.549362Z","latestVersion":"0.1.8"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"winterm-mcp","url":"https://pypi.org/project/winterm-mcp/","firstSeenAt":"2026-09-10T15:24:54.022Z","fetchedAt":"2026-09-10T15:24:54.022Z","normalizedAt":"2026-09-10T15:24:54.022Z"}]},"firstSeenAt":"2026-09-10T15:24:54.022Z","updatedAt":"2026-09-10T15:25:34.222Z"}