Skip to content

Add MCP ssh_command and scp_file tools - #215

Merged
jasperf merged 4 commits into
mainfrom
add/mcp-ssh-scp-tools
Sep 4, 2026
Merged

Add MCP ssh_command and scp_file tools#215
jasperf merged 4 commits into
mainfrom
add/mcp-ssh-scp-tools

Conversation

@jasperf

@jasperf jasperf commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Version: 5.18.0

This release adds SSH command and SCP file passthrough tools to the MCP server, rounding out roadmap item 13 and giving agents direct shell and file-transfer access to remote hosts alongside the existing WP-CLI wrapper. The new sshPassthrough.ts module implements both tools, server.ts registers them, and wpCli.ts receives related adjustments to keep the two invocation paths consistent. Documentation across the README and MCP server recommendations doc was updated to describe usage and mark the roadmap item complete, and the changelog now records the v5.18.0 release. In total the change spans six files with 309 insertions and 25 deletions, entirely additive to the MCP tool surface.

MCP Server Tools:

  • Added ssh_command and scp_file tools in a new mcp-server/src/tools/sshPassthrough.ts module, giving direct SSH command execution and file-copy capability against remote hosts without routing through WP-CLI.
  • Registered the new tools in mcp-server/src/server.ts so they are discoverable and callable through the MCP tool interface.
  • Adjusted mcp-server/src/tools/wpCli.ts for consistency with the new passthrough tools, likely sharing connection or execution logic.

Documentation and Release Notes:

  • Documented the ssh_command and scp_file tools in mcp-server/README.md, covering usage and parameters for the new capabilities.
  • Marked roadmap item 13 (ssh/scp passthrough) as done in docs/mcp-server-recommendations.md, closing out a previously tracked gap in the server's tool coverage.
  • Added a v5.18.0 entry to CHANGELOG.md recording the introduction of the ssh_command and scp_file tools.

Files Changed:

@jasperf
jasperf merged commit 4fb75ab into main Sep 4, 2026
1 check passed
@jasperf
jasperf deleted the add/mcp-ssh-scp-tools branch September 4, 2026 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant