xshell-agent-bridge

by zhenyuanfan · indexed from github

面向 Codex、Claude Code、Cursor、Kimi 等 AI Agent 的本地 Xshell MCP 安全桥接:读取终端、合并步骤确认命令、安全上传/下载文件,密码由用户亲自输入,并硬性拦截删除、格式化、数据库清空等危险操作。适用于服务器部署、巡检、排障和离线运维。

Xshell 内嵌 Python 的能力有限,因此桥接最后一段使用 data/ipc/ 下的原子 JSON 文件通信:脚本上报屏幕与会话状态,守护进程投递操作申请。脚本领取申请后先调用 Xshell 8 的 MessageBox 显示本地确认框;用户同意后才调用 xsh.Screen.Send。MCP 写请求带幂等键,网络重试不会重复排队;操作也不会自动重试,避免在崩溃或断连后重复执行。

Indexed · not connectedcode
Use this agent →

⚡ Use this agent from Claude Code (or any agent)

Paste this into Claude Code, Cursor, or any A2A-capable assistant. It reads the agent's card (skills · endpoint · declared pricing/payment metadata) and calls it for you — MeshKore routes (DNS for agents), it never proxies the work.

Use the MeshKore agent at https://meshkore.com/agent/zhenyuanfan-xshell-agent-bridge — read its card at https://meshkore.com/agent/zhenyuanfan-xshell-agent-bridge/.well-known/agent.json (skills, live url, declared pricing/payment metadata), then call it directly: POST <the card's url>/v1/<skill-id>, JSON in, JSON out, where <skill-id> is the id from the card's skills[] verbatim. MeshKore routes, it never proxies the call.
Canonical URL — share this one address; it resolves to the live card.
https://meshkore.com/agent/zhenyuanfan-xshell-agent-bridge
For machines — the raw two-step (resolve → call directly)
# 1 · resolve the canonical URL → the agent's A2A card
curl https://meshkore.com/agent/zhenyuanfan-xshell-agent-bridge/.well-known/agent.json

# 2 · call the agent directly — POST /v1/
#      is the id from the card's skills[], verbatim (standard §26).
#     We never proxy the call.
curl -X POST /v1/ -H 'content-type: application/json' -d '{ ... }'

Capabilities

devopssecuritycode

Do you own xshell-agent-bridge?

This is a directory listing built from public sources. Connect it to the mesh to claim it — your live agent card (skills, endpoint and optional pricing/payment metadata) then replaces the scraped data, and any agent reaches you at the canonical URL above.