MCP Terminal & Git Server
Provides tools for cloning Git repositories and executing terminal commands for Git operations
Enables creation of new Next.js projects with configurable TypeScript support and automatic dependency installation
Allows creation of new React projects using Vite with various template options including TypeScript and SWC variants
Provides tools for creating Vue and React projects using Vite with template selection and dependency management
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Terminal & Git Server create a new React project called my-app on my desktop"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-terminal
MCP server for git and terminal access
Features
This MCP server provides the following tools:
execute_command: Execute a terminal command in a specified directory.git_clone: Clone a git repository to a specified location.install_react_project: Create a new React project using Vite.install_vue_project: Create a new Vue project using Vite.install_next_project: Create a new Next.js project.open_in_vscode: Open a directory or file in VSCode.check_directory: Check if a directory exists and list its contents.
Related MCP server: Project Creator MCP
Prerequisites
Node.js (which includes npm)
Visual Studio Code (for features that open projects in VSCode)
Installation
Clone the repository (if you haven't already):
git clone https://github.com/AbdurRaahimm/mcp-git-terminal-server.git mcp-terminal cd mcp-terminalInstall dependencies:
npm install
Usage
Build the server:
npm run buildStart the server:
npm run startAlternatively, you can use the development script which builds and then starts the server:
npm run devThe server will then be running on stdio, ready to accept MCP requests from a compatible client.
To configure this server with an MCP client, you might need to specify the path to the built
index.jsfile (e.g.,dist/index.jsin this project's root) and the command to run it (e.g.,node). Refer to your MCP client's documentation for specific instructions.
Available Tools
Here's a more detailed look at the available tools and their parameters:
execute_command
Execute a terminal command in a specified directory.
Input Schema:
command(string, required): The command to execute (e.g., 'npm install', 'ls -la').cwd(string, optional): Working directory for the command (defaults to current directory).
git_clone
Clone a git repository to a specified location.
Input Schema:
repositoryUrl(string, required): Git repository URL.destination(string, required): Destination path where to clone the repository.openInVSCode(boolean, optional): Open the cloned repository in VSCode (default:false).
install_react_project
Create a new React project using Vite and open it in VSCode.
Input Schema:
projectName(string, required): Name of the React project.destination(string, required): Directory where to create the project (e.g.,~/Desktop).template(string, optional, enum:["react", "react-ts", "react-swc", "react-swc-ts"]): Vite template to use (default:react-ts).installDependencies(boolean, optional): Install dependencies after creating project (default:true).
install_vue_project
Create a new Vue project using Vite and open it in VSCode.
Input Schema:
projectName(string, required): Name of the Vue project.destination(string, required): Directory where to create the project (e.g.,~/Desktop).template(string, optional, enum:["vue", "vue-ts"]): Vite template to use (default:vue-ts).installDependencies(boolean, optional): Install dependencies after creating project (default:true).
install_next_project
Create a new Next.js project and open it in VSCode.
Input Schema:
projectName(string, required): Name of the Next.js project.destination(string, required): Directory where to create the project (e.g.,~/Desktop).typescript(boolean, optional): Use TypeScript (default:true).installDependencies(boolean, optional): Install dependencies after creating project (default:true).
open_in_vscode
Open a directory or file in VSCode.
Input Schema:
path(string, required): Path to open in VSCode.
check_directory
Check if a directory exists and list its contents.
Input Schema:
path(string, required): Directory path to check.
License
This project is licensed under the MIT License. (As specified in package.json)
Usage
{
"mcpServers": {
"git-terminal": {
"command": "node",
"args": ["/path/to/mcp-git-terminal/dist/index.js"]
}
}
}Available Tools
7 toolscheck_directoryC
Check if a directory exists and list its contents
Inputs: path (required).
execute_commandC
Execute a terminal command in a specified directory
Inputs: command (required), cwd.
git_cloneC
Clone a git repository to a specified location
Inputs: repositoryUrl (required), destination (required), openInVSCode.
install_next_projectB
Create a new Next.js project and open it in VSCode
Inputs: projectName (required), destination (required), typescript, installDependencies.
install_react_projectB
Create a new React project using Vite and open it in VSCode
Inputs: projectName (required), destination (required), template, installDependencies.
install_vue_projectA
Create a new Vue project using Vite and open it in VSCode
Inputs: projectName (required), destination (required), template, installDependencies.
open_in_vscodeC
Open a directory or file in VSCode
Inputs: path (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Most tools have distinct purposes: check_directory for inspection, execute_command for general terminal operations, git_clone for repository cloning, and three project installation tools for different frameworks. However, the three install_*_project tools could potentially be confused as they follow similar patterns but target different frameworks, creating minor ambiguity in selection.
The naming shows mixed conventions: check_directory, execute_command, and git_clone follow a verb_noun pattern, while install_next_project, install_react_project, and install_vue_project use a verb_framework_project structure. open_in_vscode uses a prepositional phrase. This inconsistency makes the set less predictable, though still readable.
With 7 tools, the count is reasonable for a combined terminal and Git server. It covers core operations like directory checking, command execution, Git cloning, project setup, and IDE opening. The scope is slightly broad but manageable, with no obvious bloat or thinness.
The server covers basic terminal and Git operations, but there are notable gaps. For terminal operations, it lacks file manipulation (create, delete, edit) and navigation tools. For Git, it only includes cloning, missing commit, push, pull, and status operations. The project installation tools are framework-specific but don't cover other common setups.
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Operate GitHub from your AI assistant: repos, PRs, issues, Actions. Previews and read-only mode.
Access the GitHub API, enabling file operations, repository management, search functionality, and…
Launch your clients' products on up to 110 directories each from Claude, ChatGPT, Cursor or VS Code.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables executing terminal commands and managing files across different contexts: local system, remote SSH servers, and GitHub repositories. Provides comprehensive file operations, directory navigation, and multi-environment command execution capabilities.12MIT
- FlicenseNot gradedqualityCmaintenanceEnables rapid creation of new projects from predefined templates including React, Node.js, Django, Flask, and more. Provides comprehensive project scaffolding with file system operations, template management, and command execution capabilities.-
- -licenseBqualityNot gradedmaintenanceEnables comprehensive Git and GitHub operations through 30 DevOps tools including repository management, file operations, workflows, and advanced Git features. Provides complete Git functionality without external dependencies for seamless integration with Gitea and GitHub platforms.18819 npm-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to automate Next.js development including project scaffolding, React component generation, API route creation, and full-stack application workflows with TypeScript and Tailwind CSS support.MIT