Aias00 commented on code in PR #3547: URL: https://github.com/apache/hertzbeat/pull/3547#discussion_r2241822963
########## mcp-servers/mcp-bash-server/README.md: ########## @@ -0,0 +1,275 @@ +# mcp-bash-server + +A HertzBeat MCP server for running scripts with security command blacklist and logging capabilities + +## Dependencies + +### Rust + +If you need to deploy this MCP Server locally, you will need a Rust runtime environment. + +Visit [rust-lang.org](https://www.rust-lang.org/tools/install) to learn how to install the Rust runtime environment. + +We recommend using the latest version of Rust. + +## Deployment + +### Local Deployment + +If you want to run this MCP server locally using the default settings provided by the project, simply run the following command in the project root directory: + +```Rust +cargo run +``` + +This MCP server will be deployed at `http://127.0.0.1:4000/mcp`, and you can use the `modelcontextprotocol/inspector` tool to connect to and use this MCP server. + +For information on how to use the modelcontextprotocol/inspector tool, refer to the [inspector documentation](https://github.com/modelcontextprotocol/inspector). + +### Container Deployment + +Using container deployment for this MCP Server is an excellent way to try out the tools provided by the server without polluting your machine, as all MCP Server operations are completed within the container. + +To deploy using containers, simply run the following docker command: + +```shell +docker run -d --name mcp-bash-server -p 4000:4000 --restart unless-stopped yexuanyang/mcp-bash-server +``` Review Comment: just remove the description -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
