MCP (Model Context Protocol) server for gitant. Gives AI agents structured access to a gitant node.
npm install
npm run buildAdd to your MCP client configuration:
{
"mcpServers": {
"gitant": {
"command": "node",
"args": ["dist/index.js"],
"env": {
"GITANT_DAEMON_URL": "http://localhost:7777"
}
}
}
}list_repos— List repositoriesget_repo— Get repo metadatacreate_repo— Create repositorydelete_repo— Delete repositorypush_code— Push ref updatespull_code— Pull latest changesclone_repo— Clone repository
get_file— Get file contentslist_files— List directory contentssearch_code— Search code
create_issue— Create issuelist_issues— List issues (with status/label filters)get_issue— Get issue detailsclose_issue— Close issue
open_pr— Open PRlist_prs— List PRs (with status filter)get_pr— Get PR detailsreview_pr— Review PRmerge_pr— Merge PR (with method selection)
list_refs— List refscreate_branch— Create branchget_commit_log— Commit historydiff_commits— Compare commits
delegate_capability— Delegate UCAN capabilityrevoke_capability— Revoke capability (not yet implemented)get_agent_profile— Get agent profileget_trust_score— Get trust score
MIT