Commit e234e50
authored
feat(mcp): preinstall asyncssh in pinned interpreter (#344)
`asyncssh` is now default-installed in the MCP's pinned Python
interpreter, so every persistent session can `import asyncssh` with no
install step, the same way `numpy` and the bundled `tui` module already
are. It is added to the `mcpPython` `withPackages` list in
`packages/mcp/default.nix`, and the initialize-time discovery text in
`server_instructions.txt` now mentions it.
This gives sessions a production-grade option for remote process control
over SSH (run commands on remote hosts, SFTP). AsyncSSH is the
async-native fit for these sessions, which run on one shared persistent
asyncio event loop, so it slots into the existing top-level-`await`
model without spinning up its own loop.
Made with AI (Claude, Opus 4.8).1 parent 5b0c4a3 commit e234e50
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments