{"id":27742054,"url":"https://github.com/tufantunc/ssh-mcp","last_synced_at":"2025-04-28T16:38:55.708Z","repository":{"id":290101844,"uuid":"973373852","full_name":"tufantunc/ssh-mcp","owner":"tufantunc","description":"MCP server exposing SSH control for Linux servers via Model Context Protocol.","archived":false,"fork":false,"pushed_at":"2025-04-26T21:22:11.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-26T22:25:03.680Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tufantunc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-26T21:07:32.000Z","updated_at":"2025-04-26T21:22:15.000Z","dependencies_parsed_at":"2025-04-26T22:35:20.744Z","dependency_job_id":null,"html_url":"https://github.com/tufantunc/ssh-mcp","commit_stats":null,"previous_names":["tufantunc/ssh-mcp"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tufantunc%2Fssh-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tufantunc%2Fssh-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tufantunc%2Fssh-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tufantunc%2Fssh-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tufantunc","download_url":"https://codeload.github.com/tufantunc/ssh-mcp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251347392,"owners_count":21575078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-28T16:38:55.024Z","updated_at":"2025-04-28T16:38:55.695Z","avatar_url":"https://github.com/tufantunc.png","language":"TypeScript","funding_links":[],"categories":["CLI Tools","Server Management Tools","Command Line","📚 Projects (1974 total)","📦 Other","サーバー実装","💻 Code Execution","MCP Servers","TypeScript","Server Implementations"],"sub_categories":["Playwright","MCP Servers","🖥️ \u003ca name=\"command-line\"\u003e\u003c/a\u003eコマンドライン","Other MCP Servers","🖥️ \u003ca name=\"command-line\"\u003e\u003c/a\u003eCommand Line"],"readme":"# SSH MCP Server\n\n[![License](https://img.shields.io/github/license/tufantunc/ssh-mcp)](./LICENSE)\n[![NPM Version](https://img.shields.io/npm/v/ssh-mcp)](https://www.npmjs.com/package/ssh-mcp)\n\n**SSH MCP Server** is a local Model Context Protocol (MCP) server that exposes SSH control for Linux and Windows systems, enabling LLMs and other MCP clients to execute shell commands securely via SSH.\n\n## Contents\n\n- [Quick Start](#quick-start)\n- [Features](#features)\n- [Installation](#installation)\n- [Client Setup](#client-setup)\n- [Testing](#testing)\n- [Disclaimer](#disclaimer)\n- [Support](#support)\n\n## Quick Start\n\n- [Install](#installation) SSH MCP Server\n- [Configure](#configuration) SSH MCP Server\n- [Set up](#client-setup) your MCP Client (e.g. Claude Desktop, Cursor, etc)\n- Execute remote shell commands on your Linux or Windows server via natural language\n\n## Features\n\n- MCP-compliant server exposing SSH capabilities\n- Execute shell commands on remote Linux and Windows systems\n- Secure authentication via password or SSH key\n- Built with TypeScript and the official MCP SDK\n\n### Tools\n\n- `exec`: Execute a shell command on the remote server\n\n## Installation\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/tufantunc/ssh-mcp.git\n   cd ssh-mcp\n   ```\n2. **Install dependencies:**\n   ```bash\n   npm install\n   ```\n\n## Client Setup\n\nYou can configure Claude Desktop to use this MCP Server.\n   - `host`: Hostname or IP of the Linux or Windows server\n   - `port`: SSH port (default: 22)\n   - `user`: SSH username\n   - `password`: SSH password (or use `key` for key-based auth) (optional)\n   - `key`: Path to private SSH key (optional)\n\n\n```commandline\n{\n    \"mcpServers\": {\n        \"ssh-mcp\": {\n            \"command\": \"npx\",\n            \"args\": [\n                \"ssh-mcp\",\n                \"-y\",\n                \"--\",\n                \"--host=1.2.3.4\",\n                \"--port=22\",\n                \"--user=root\",\n                \"--password=pass\",\n                \"--key=path/to/key\"\n            ]\n        }\n    }\n}\n```\n\n## Testing\n\nYou can use the [MCP Inspector](https://modelcontextprotocol.io/docs/tools/inspector) for visual debugging of this MCP Server.\n\n```sh\nnpm run inspect\n```\n\n## Disclaimer\n\nSSH MCP Server is provided under the [MIT License](./LICENSE). Use at your own risk. This project is not affiliated with or endorsed by any SSH or MCP provider.\n\n## Support\n\nIf you find SSH MCP Server helpful, consider starring the repository or contributing! Pull requests and feedback are welcome. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftufantunc%2Fssh-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftufantunc%2Fssh-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftufantunc%2Fssh-mcp/lists"}