MCP ExplorerExplorer

Jj Mcp Server

@keanemindon 10 months ago
2 MIT
FreeCommunity
AI Systems
#jj#mcp#mcp-server
jj-mcp-server is an MCP server for automating Jujutsu version-control operations.

Overview

What is Jj Mcp Server

jj-mcp-server is a Model Context Protocol (MCP) server that allows users to expose Jujutsu (jj) version-control operations as programmable tools, enabling automation and integration into various development environments.

Use cases

Use cases for jj-mcp-server include automating version control tasks in IDEs, integrating Jujutsu operations into custom scripts, and enhancing collaboration in development teams by streamlining version control processes.

How to use

To use jj-mcp-server, you need to start the server by running the command npx -y jj-mcp-server in your terminal. Ensure that Node.js v14 or later and Jujutsu (jj) are installed and in your PATH.

Key features

Key features include exposing core jj commands (such as status, log, diff, rebase, commit), managing bookmarks and revisions programmatically, and integrating with any editor or language that supports MCP.

Where to use

jj-mcp-server can be used in software development environments, particularly in applications that require version control and automation of workflows involving Jujutsu.

Content

jj-mcp-server

jj-mcp-server is a Model Context Protocol (MCP) server that exposes Jujutsu (jj) version-control operations as programmable tools. You can integrate it into IDEs, editors, or other clients that support MCP to script and automate your Jujutsu workflows.

Features

  • Expose core jj commands (status, log, diff, rebase, commit, etc.) via MCP tools.
  • Manage bookmarks, operations, and revisions programmatically.
  • Integrate with any editor or language that supports MCP.

Prerequisites

  • Node.js v14+ or later
  • Jujutsu (jj) installed and in your PATH

Usage

Start the MCP server:

npx -y jj-mcp-server

Available Tools

See the source in src/index.ts for the full list. Highlights include:

  • status, log, show, diff, interdiff
  • rebase, commit, new, abandon, revert, restore, edit
  • Bookmark management: bookmark-create, bookmark-list, bookmark-move, etc.
  • Git integration: git-clone, git-push, git-fetch, git-export, etc.
  • File operations: file-annotate, file-list, file-show, file-track, file-untrack, file-chmod

Contributing

Contributions are welcome! Please open issues or pull requests against this repository.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers