jan-terminal-mcp
Allows compiling and running C++ code using g++, returning compilation errors and program output.
Provides a tool for running git commands in any repository, enabling version control operations such as commit, push, pull, and status checks.
Allows executing JavaScript code and returning its output, enabling scripting and automation in JavaScript.
Allows executing Kotlin code and returning its output, enabling Kotlin scripting and automation.
Allows executing PHP code and returning its output, enabling PHP scripting and automation.
Allows executing Python code directly and returning the output, enabling Python scripting, data processing, and automation.
Allows executing Ruby code and returning its output, enabling Ruby scripting and automation.
Allows executing Rust code and returning its output, enabling Rust scripting and automation.
Allows executing Swift code and returning its output, enabling Swift scripting and automation.
Allows executing TypeScript code and returning its output, enabling scripting and automation in TypeScript.
Click on "Install 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., "@jan-terminal-mcprun git status in my project folder"
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.
jan-terminal-mcp
Jan AI has no native terminal or code execution. This gives it that.
An MCP server that gives your local Jan model real hands on your machine — run shell commands, execute code in 14 languages, read/write files, and use git. All locally, all private.
Includes a fine-tuned 4B model trained specifically to call these tools reliably instead of just describing what it would do.
Tools
Tool | Description |
| Run any PowerShell command |
| Run git commands in any repo |
| Read any file's contents |
| Write or overwrite a file |
| List files and folders in a directory |
| Replace a specific substring in a file — smarter than rewriting the whole thing |
| Execute Python code directly and return output |
| Compile and run C++ code (g++), returns errors + output |
| Execute code in any language — Python, JavaScript, TypeScript, Java, C++, C#, Go, Rust, Ruby, PHP, R, Kotlin, Swift, MATLAB |
Related MCP server: Terminal MCP Server
Fine-tuned model
AItrainer1/jancoder-4b-gguf a 4B model fine-tuned via QLoRA on tool-use conversations generated specifically for this tool schema.
Stock models at this size tend to describe what they'd do rather than actually calling tools. This model was trained to call them correctly and consistently.
Drop the GGUF into Jan and it works out of the box with this MCP server.
The Kaggle training notebook is at kaggle_finetune.ipynb.
Install
pip install jan-terminal-mcpSetup in Jan AI
Open Jan, Settings, MCP Servers
Click Add and paste this config:
{
"jan-terminal": {
"command": "jan-terminal-mcp",
"args": [],
"env": {},
"active": true
}
}Or edit %APPDATA%\Jan\data\mcp_config.json directly and add the block above inside "mcpServers".
Restart Jan - the server appears as Jan-Terminal with a green dot.
Requirements
Windows (PowerShell required for
run_shell)Python 3.10+
Jan AI v0.7.9+
pip install mcp>=2.0.0
Bugs
Report bugs and stuff to ISSUE
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityFmaintenanceAn MCP server that enables secure terminal command execution, directory navigation, and file system operations through a standardized interface for LLMs.Last updated1099MIT
- Flicense-qualityDmaintenanceAn MCP server that allows AI assistants like Claude to execute terminal commands on the user's computer and return the output, functioning like a terminal through AI.Last updated87
- AlicenseAqualityBmaintenanceAn MCP server that enables AI clients to execute shell, Python, and Node commands on the local machine across platforms.Last updated31MIT
- Alicense-qualityBmaintenanceA self-hosted MCP server that gives AI coding assistants direct shell access to your local machine, enabling execution of arbitrary bash commands for development workflows.Last updated5,404Inno Setup
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
A MCP server built for developers enabling Git based project management with project and personal…
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Trigodil/jan-terminal-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server