jan-terminal-mcp

jan-terminal-mcp

An MCP server that gives Jan AI terminal and code execution capabilities, enabling shell commands, multi-language code execution, file manipulation, and git operations locally.

Category
Visit Server

README

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_shell Run any PowerShell command
git Run git commands in any repo
read_file Read any file's contents
write_file Write or overwrite a file
list_dir List files and folders in a directory
edit_file Replace a specific substring in a file — smarter than rewriting the whole thing
run_python Execute Python code directly and return output
run_cpp Compile and run C++ code (g++), returns errors + output
run_code Execute code in any language — Python, JavaScript, TypeScript, Java, C++, C#, Go, Rust, Ruby, PHP, R, Kotlin, Swift, MATLAB

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-mcp

Setup in Jan AI

  1. Open Jan, Settings, MCP Servers
  2. 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".

  1. 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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured