home / mcp / git terminal mcp server
Provides MCP endpoints to execute terminal commands, clone repositories, and create modern web projects from a remote client.
Configuration
View docs{
"mcpServers": {
"abdurraahimm-mcp-git-terminal-server": {
"command": "node",
"args": [
"/path/to/mcp-git-terminal/dist/index.js"
]
}
}
}You run a compact MCP server that exposes terminal capabilities and Git utilities to a remote client. With this server, you can execute commands, clone repositories, scaffold frontend projects, and open results in VSCode from anywhere you have MCP access. It’s designed to empower automation and remote development workflows by combining terminal access with project scaffolding in a single, reusable endpoint.
Connect to the MCP server using your MCP client and select the git_terminal endpoint. You can request actions such as executing shell commands in a specific directory, cloning Git repositories, and creating new React, Vue, or Next.js projects. You can also open directories or files in VSCode and verify directory existence and contents. Each action is performed by calling the corresponding tool with the required parameters.
Prerequisites you need before installation: Node.js (which includes npm) and Visual Studio Code if you plan to open projects in VSCode.
1. Clone the server repository to your machine.
2. Install dependencies.
3. Build the server.
4. Start the server and confirm it is ready to accept MCP requests.
This MCP server provides a stdio endpoint that runs locally. The runtime command and path to the built index file are shown in the configuration example you should load into your MCP client. The server relies on Node to run the built JavaScript file.
Limit access to the MCP endpoint to trusted clients. If you expose the endpoint over a network, implement appropriate authentication and network controls. When opening projects in VSCode, ensure you have a secure development environment and avoid exposing local file paths to unauthorized users.
If the server fails to start, verify you are using the correct runtime command and path to the built index file. Check that Node is installed and that the build step completed successfully. Review any error messages from the MCP client for hints on missing parameters or permissions.
{
"mcpServers": {
"git_terminal": {
"command": "node",
"args": ["/path/to/mcp-git-terminal/dist/index.js"]
}
}
}Run a terminal command in a specified working directory, enabling remote automation of build, test, or management tasks.
Clone a Git repository to a designated destination path with an option to open the clone in VSCode.
Create a new React project using Vite, with optional auto-install of dependencies and opening in VSCode.
Create a new Vue project using Vite, with optional auto-install of dependencies and opening in VSCode.
Create a new Next.js project, with options for TypeScript and automatic dependency installation.
Open a directory or file in Visual Studio Code from the server.
Verify existence of a directory and list its contents to confirm structure before performing actions.