- Home
- MCP servers
- Commands
Commands
- java
2
GitHub Stars
java
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"gengzi-mcp_command-line_tool": {
"command": "java",
"args": [
"-jar",
"本地路径/mcp_command-line_tool-0.0.1-SNAPSHOT.jar"
]
}
}
}You can run local system commands or connect to a remote SSH host through a dedicated MCP server. This enables convenient command execution from your environment with optional remote control, all managed via MCP.
How to use
You interact with the MCP server by configuring a client to connect through the available stdio endpoints. You can run commands directly on your local machine or establish an SSH session to execute commands remotely.
- Run local commands directly on your computer through the MCP endpoint.
- Connect to a remote machine via SSH and run commands as if you were typing in that terminal.
- Use the local execution for quick tasks and the SSH path for remote administration.
Notes on command interception
When commands are executed, only dangerous operations such as deletion results are intercepted. Other commands pass through. If you attempt an irreversible action, proceed with caution because the tool is driven by an advanced model, and some commands may not be undoable.