Elefante is an MCP server and CLI for storing agent memory as a Git-backed vault of Markdown files with YAML frontmatter. It supports reading, writing, searching, listing, updating, deleting, and syncing memories, with automatic project scoping based on the current Git remote.
From the registry: Open, Git-native memory protocol for MCP agents. Portable, versioned, human-editable.
$ npm install -g elefante-mcp$ elefante init <your-git-repo-url>Please install the `elefante` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Initialize an Elefante vault** — Create or clone your memory vault backed by a Git repository before using the server. Run: `elefante init <your-git-repo-url>`
- **Set up Git authentication** — Elefante uses existing Git credentials for accessing the vault repository. Supported auth sources include local git credentials, GitHub CLI auth, ELEFANTE_GITHUB_TOKEN, or ~/.elefante/config.json.
Optional prerequisites:
- Install Elefante CLI/server package — Install the Elefante MCP package globally, or use npx for the MCP server command. The README shows a global install for CLI usage and an npx-based MCP config for agents. Run: `npm install -g elefante-mcp`
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["-y","elefante-mcp","mcp"]
- optional environment variables:
- `ELEFANTE_GITHUB_TOKEN`: GitHub token used for repository authentication if local git credentials or GitHub CLI authentication are not available. (example: `<your-github-token>`)
Note: The MCP server is started via the `elefante mcp` command, and the README's portable config uses `npx -y elefante-mcp mcp`. No MCP-specific environment variables are required in the default case if Git authentication is already configured.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.ELEFANTE_GITHUB_TOKENGitHub token used for authentication if local git credentials or gh auth are not availableConnect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
The GitKraken MCP Server for managing repos, PRs, issues across GitHub, GitLab, Bitbucket and more.
Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more.