Skip to content
Agentmart
Submit a tool

Git

Local Git via MCP: status, log, diff, file history, branches, and gated stage/commit.

Connector by Abhishekkumar2021 · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 1
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/abhishekkumar2021-git

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Local Git via MCP: status, log, diff, file history, branches, and gated stage/commit. Pure-JS.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
58 read · 23 write · 13 delete · 12 not yet classified
Secrets
None asked for
Install scripts
Not scanned yet
Runs as
Node.js package

Tools by what they do 106

Read from the source code; the running server may list different tools.

Read 58 · Look things up without changing anything.

  • broken_links
  • changed_since
  • describe_table
  • explain
  • file_hash
  • find_duplicates
  • find_files
  • find_path
  • get_backlinks
  • get_environment
  • get_file_contents
  • get_issue
Show 46 more tools
  • get_neighbors
  • get_outline
  • get_pull_request
  • get_repo
  • get_request
  • git_diff
  • git_fetch
  • git_pull
  • git_show
  • git_status
  • list_archive
  • list_branches
  • list_collections
  • list_connections
  • list_dir
  • list_environments
  • list_indexes
  • list_issues
  • list_notes
  • list_notifications
  • list_pull_requests
  • list_remotes
  • list_requests
  • list_roots
  • list_schemas
  • list_tables
  • list_templates
  • list_todos
  • list_trash
  • read_file
  • read_file_at
  • read_media
  • read_multiple
  • read_note
  • related_notes
  • sample_table
  • search_code
  • search_content
  • search_issues
  • search_log
  • search_notes
  • search_repos
  • semantic_search
  • stat
  • unzip
  • whoami

Write 23 · Create, change, send or run things.

  • append_note
  • create_dir
  • create_from_template
  • create_note
  • edit_file
  • edit_lines
  • git_clone
  • git_commit
  • git_create_branch
  • git_file_history
  • git_log
  • github_login
Show 11 more tools
  • import_curl
  • move
  • move_note
  • rename_tag
  • request
  • restore
  • run_request
  • save_request
  • set_environment
  • write_file
  • zip

Delete 13 · Delete, drop, revoke or wipe things.

  • add_issue_comment
  • create_issue
  • delete
  • delete_environment
  • delete_note
  • delete_request
  • empty_trash
  • execute
  • execute_script
  • git_checkout
  • git_push
  • github_logout
Show 1 more tools
  • unlinked_mentions

Not yet classified 12 · We could not tell from the name and description.

  • copy
  • current_branch
  • daily_note
  • export_curl
  • git_stage
  • git_unstage
  • graph_overview
  • list_tags
  • query
  • rate_limit
  • relationships
  • tree

Secrets and settings it asks for

Other settings (environment variables or headers).

  • GIT_ROOTS
  • GIT_WRITABLE

Files it touches

  • Any path the agent passes to its tools

Tools (106)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • add_issue_commentComment on issuecan change or delete data

    Add a comment to an issue or pull request.

  • append_noteAppend to a note

    Append content to a note (creating it if missing). Good for journals and logs.

  • broken_linksBroken links

    List wiki-links that point at notes which don't exist.

  • changed_sinceChanged since

    List files modified at/after an ISO timestamp (recursive poll-based change detection).

  • copyCopy

    Recursively copy a file/directory. Supports dryRun.

  • create_dirCreate directory

    Create a directory (and parents). Supports dryRun.

  • create_from_templateCreate note from template

    Create a note from a template, substituting {{date}}, {{time}}, {{title}}, and any extra vars.

  • create_issueCreate issuecan change or delete data

    Open a new issue in a repository.

  • create_noteCreate a note

    Create a new markdown note. Fails if it exists unless overwrite is true.

  • current_branchCurrent branch

    The currently checked-out branch.

  • daily_noteDaily note

    Open today's daily note (creating it if needed) and optionally append a timestamped entry. Great for journaling and running logs.

  • deleteDelete (to trash)can change or delete data

    Soft-delete a file/directory by moving it to the root's trash (recoverable via restore). Supports dryRun.

  • delete_environmentDelete environmentcan change or delete data

    Delete an environment.

  • delete_noteDelete a notecan change or delete data

    Permanently delete a note by name.

  • delete_requestDelete requestcan change or delete data

    Delete a saved request.

Show 91 more tools
  • describe_tableDescribe table

    Columns (type/nullable/default), primary key, foreign keys, and indexes for a table.

  • edit_fileEdit file (find/replace)

    Replace a UNIQUE occurrence of oldText with newText. Use dryRun to preview the unified diff.

  • edit_linesEdit lines (range)

    Replace lines [startLine,endLine] (1-based, inclusive) with newContent. Pass expectedHash (from a prior read) to guard against stale edits. Supports dryRun.

  • empty_trashEmpty trashcan change or delete data

    Permanently delete all trashed items. Supports dryRun.

  • executeExecute statementcan change or delete data

    Run one write statement (INSERT/UPDATE/DELETE/DDL). Requires DB_WRITABLE.

  • execute_scriptExecute scriptcan change or delete data

    Run multiple statements in a single transaction (rolls back on error). Requires DB_WRITABLE.

  • explainExplain query

    Query plan for a SELECT (the server prepends EXPLAIN; no query is executed).

  • export_curlExport curl

    Render a saved request as a curl command (secrets masked).

  • file_hashFile hash

    Compute a checksum of a file (sha256 default).

  • find_duplicatesFind duplicates

    Find duplicate files under a directory (grouped by size then sha256).

  • find_filesFind files (glob)

    Find files/dirs by glob pattern within the sandbox. Excludes node_modules/.git by default.

  • find_pathFind path

    Shortest wiki-link chain between two notes (BFS). Reports if none exists.

  • get_backlinksGet backlinks

    Find all notes that link to the given note via [[wiki-link]] syntax.

  • get_environmentGet environment

    Return an environment's variables.

  • get_file_contentsGet file contents

    Read a file (decoded) or list a directory in a repo, at an optional ref.

  • get_issueGet issue

    An issue's details plus its first comments.

  • get_neighborsGet neighbors

    Notes within N hops of a note over the (undirected) wiki-link graph, depth/limit capped.

  • get_outlineGet note outline

    Return just the heading tree of a note — grasp a big note in a few tokens.

  • get_pull_requestGet pull request

    A PR's details (diff stats, merged state, body).

  • get_repoGet repository

    Repository metadata (stars, language, default branch, license).

  • get_requestGet request

    Return a saved request definition.

  • git_checkoutCheckoutcan change or delete data

    Switch to a branch or commit (updates the working tree).

  • git_cloneClone

    Clone a remote repo (HTTPS) into a directory inside GIT_ROOTS.

  • git_commitCommit

    Create a commit from the staged changes. Author falls back to git config if name/email omitted.

  • git_create_branchCreate branch

    Create a new branch (optionally check it out).

  • git_diffGit diff

    Unified diff. No refs → working tree vs HEAD; one ref → that ref vs working tree; two refs → refA vs refB. Optional single-file filter.

  • git_fetchFetch

    Fetch from a remote (HTTPS).

  • git_file_historyFile history

    Commits that touched a specific file (follows the path).

  • git_logGit log

    Commit history (newest first). Optional ref, limit, and file path filter.

  • git_pullPull

    Fetch + fast-forward the current branch (HTTPS). Errors if a merge is required.

  • git_pushPushcan change or delete data

    Push commits to a remote (HTTPS). Requires GIT_TOKEN for private repos.

  • git_showShow commit

    A commit's metadata + the files it changed (vs its first parent).

  • git_stageStage file

    Stage a file (git add).

  • git_statusGit status

    Working-tree status: staged, unstaged, and untracked files + current branch.

  • git_unstageUnstage file

    Unstage a file (reset its index entry to HEAD).

  • github_loginLog in to GitHub

    Authenticate via GitHub OAuth device flow. First call returns a code + URL to open; run it again after authorizing to finish. (Or set GITHUB_TOKEN to skip.)

  • github_logoutLog out

    Clear the cached GitHub token.

  • graph_overviewGraph overview

    Aggregate graph health: note/link/tag counts, top hubs, orphans, broken-link count.

  • import_curlImport curl

    Parse a curl command into a request definition; saves it if collection+name are given.

  • list_archiveList archive

    List the entries in a .zip archive without extracting.

  • list_branchesList branches

    Local branches in the repo.

  • list_collectionsList collections

    List saved collections.

  • list_connectionsList connections

    Configured database connections (name + type). No credentials are returned.

  • list_dirList directory

    List a directory's immediate children with type + size, sorted, paginated.

  • list_environmentsList environments

    List environments.

  • list_indexesList indexes

    Indexes on a table (name, columns, uniqueness).

  • list_issuesList issues

    List a repo's issues (excludes PRs).

  • list_notesList notes

    List notes (newest first) with pagination and an optional tag filter. Returns name, title, size, tags, and whether more results remain.

  • list_notificationsList notifications

    Your unread GitHub notifications.

  • list_pull_requestsList pull requests

    List a repo's pull requests.

  • list_remotesList remotes

    Configured remotes (name + URL).

  • list_requestsList requests

    List saved requests (optionally within one collection).

  • list_rootsList roots

    List the sandbox root directories this server may access.

  • list_schemasList schemas

    Schemas available in a connection (SQLite returns 'main').

  • list_tablesList tables

    Tables and views in a schema.

  • list_tagsList tags

    Tags in the repo.

  • list_templatesList templates

    List available note templates (from the templates directory).

  • list_todosList todos

    Aggregate `- [ ]` checkbox todos across all notes. Open items only unless includeDone.

  • list_trashList trash

    List soft-deleted items available to restore.

  • moveMove/rename

    Move or rename a file/directory. No-clobber unless overwrite. Supports dryRun.

  • move_noteMove/rename a note

    Rename or move a note and rewrite every [[wiki-link]] pointing at it across the vault.

  • queryRun query

    Run a read-only SELECT (only SELECT/WITH/VALUES). Use positional params. Results are row/cell-capped.

  • rate_limitRate limit

    Your remaining GitHub API requests and reset time.

  • read_fileRead file

    Read a text file. Optionally a head/tail (N lines) or a 1-based line window (offset/limit).

  • read_file_atRead file at ref

    Contents of a file at a given ref/commit (default HEAD).

  • read_mediaRead media file

    Read an image/audio/binary file as base64 (returned as an image/audio block when possible).

  • read_multipleRead multiple files

    Read several text files at once. Failures are reported inline and don't abort the batch.

  • read_noteRead a note

    Read a note by name. Optionally read just one heading's `section`, or a character window via `offset`/`limit` (sets a truncated flag when cut).

  • related_notesRelated notes

    Rank other notes by shared wiki-links and shared tags with the given note.

  • relationshipsRelationships

    Foreign-key relationships in a schema (from table.column → to table.column).

  • rename_tagRename a tag

    Rename a tag across the whole vault — rewrites frontmatter tags and inline #hashtags.

  • requestHTTP request

    Make an ad-hoc HTTP request to an allowlisted host. Supports ${var} (from an environment) and ${secret.name} (from HTTP_SECRET_*).

  • restoreRestore from trash

    Restore a soft-deleted item by its trash id (see list_trash).

  • run_requestRun saved request

    Execute a saved request (with ${var}/${secret} resolution + optional overrides).

  • sample_tableSample table

    Return up to `limit` rows from a table (SELECT * … LIMIT).

  • save_requestSave request

    Persist a request definition into a collection.

  • search_codeSearch code

    Search code across GitHub (e.g. 'addEventListener repo:owner/name').

  • search_contentSearch content (grep)

    Search file contents by substring or regex, with optional context lines. Skips binaries.

  • search_issuesSearch issues/PRs

    Search issues and pull requests (GitHub search syntax).

  • search_logSearch commits

    Search commit messages for a substring.

  • search_notesSearch notes

    Ranked full-text search. Supports `fuzzy`, `prefix`, and a `field` filter (title/tag/body, or 'path' to match the note name). Returns ranked snippets.

  • search_reposSearch repositories

    Search GitHub repositories (GitHub search syntax).

  • semantic_searchSemantic search

    Search notes by meaning using local embeddings (all-MiniLM-L6-v2, runs offline after a one-time model download). Finds related notes even with no shared keywords. `hybrid` fuses this with keyword search for best results.

  • set_environmentSet environment

    Create or replace an environment's variables (non-secret; secrets come from HTTP_SECRET_*).

  • statStat

    File/directory metadata (type, size, timestamps, mode). Does not follow a final symlink.

  • treeDirectory tree

    Render a recursive directory tree (depth-capped; does not follow symlinks).

  • unlinked_mentionsUnlinked mentions

    Find notes that mention this note's title as plain text but don't yet link to it with [[wiki-link]] syntax — candidates for linking.

  • unzipExtract zip

    Extract a .zip into a directory (zip-slip protected). Supports dryRun + overwrite.

  • whoamiWho am I

    Show the authenticated GitHub user (and how the token was obtained).

  • write_fileWrite file

    Create or overwrite a file (atomic). Refuses to clobber unless overwrite:true. Supports dryRun.

  • zipCreate zip

    Create a .zip archive from one or more source paths. Supports dryRun.

Signals

Stars
1
Forks
0
Open issues
0
Weekly downloads
19
Last commit
Jul 4, 2026 (3 months ago)
Last release
Jul 4, 2026 (3 months ago)
Last package publish
Jun 28, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Registry name
io.github.Abhishekkumar2021/git
Version
0.2.0
Auth
No auth
Packages
npm @abhishekmcp/git
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 25, 2026

More from Abhishekkumar2021

Cite this page

Git MCP server. Agent Mart. https://agentmart.dev/connectors/abhishekkumar2021-git (last updated 2026-10-25)