otama
Provides access to local Git repositories, including listing projects, reading files, searching code, viewing status, diffs, and commit history, and creating commits.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@otamawhat's the git status across all my projects?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
otama
An MCP server that gives AI assistants — Cursor, Claude Desktop, or your own voice agent — access to your local git repositories.
Read operations run freely. Anything that writes returns a confirmation token and a plain-English summary first, and only acts when called a second time with that token. The assistant asks before it commits.
You: commit my changes in api-service with message "fix auth timeout"
LLM: Commit 3 changed files in api-service with message 'fix auth timeout'. Confirm?
You: yes
LLM: Committed — a4f21c9 fix auth timeoutWhy
Most filesystem MCP servers give a model unrestricted read and write access to a directory tree. That is fine when you are watching every tool call. It is not fine when the model is driving a voice assistant, running unattended, or has just misheard you.
otama assumes the model will occasionally be wrong and makes the consequences small:
A path sandbox. Every path is resolved before it is checked against your configured roots.
.., symlinks and absolute paths cannot escape.Two-phase confirmation. Write and execute tools called without a token do nothing but describe what they would do. Tokens are single-use, expire after two minutes, and are bound to the tool that issued them.
A command allowlist.
run_commandrefuses anything outside the list outright rather than offering it for confirmation. A mishearing should never be one "yes" away fromrm -rf.
Related MCP server: Git MCP Server
Install
Requires Python 3.11+ and git on PATH.
git clone https://github.com/Ronith2906/otama.git
cd otama
python -m venv .venv
.venv/bin/pip install -r requirements.txt # Windows: .venv\Scripts\pip.exe
cp otama.example.toml otama.tomlEdit otama.toml and set project_roots to the folder or folders containing your repos.
Use forward slashes on Windows.
[projects]
project_roots = ["C:/Users/you/code"]Verify:
.venv/bin/python -c "import asyncio; from projects_server import otama; print([t.name for t in asyncio.run(otama.list_tools())])"Ten tool names means you are running.
Connect it
Cursor — ~/.cursor/mcp.json. Claude Desktop — claude_desktop_config.json
(Settings → Developer → Edit Config). Same shape either way:
{
"mcpServers": {
"otama-projects": {
"command": "/absolute/path/to/otama/.venv/bin/python",
"args": ["/absolute/path/to/otama/projects_server.py"]
}
}
}On Windows use \\ in JSON paths — C:\\Users\\you\\otama\\.venv\\Scripts\\python.exe.
Restart the app fully. A reload is not enough; MCP servers load at startup.
Tools
Read — run immediately
Tool | Returns |
| Every repo or folder under your roots, with a |
| Two-level tree, skipping |
| One text file, size-capped |
| Regex across a project, with file and line numbers |
| Branch, uncommitted files, last five commits |
| Working-tree diff, truncated |
| What moved across every repo in the last N days |
Write and execute — confirmation required
Tool | Does |
| Stage all and commit |
| Create or overwrite a file |
| Run an allowlisted development command |
Configuration
[projects]
project_roots = ["C:/Users/you/code"]
max_file_bytes = 200000 # refuse to read anything larger
command_timeout_seconds = 120
confirmation_ttl_seconds = 120 # how long a token stays valid
# run_command refuses anything not on this list. This is not something a
# confirmation can override — add what you actually use.
allowed_commands = ["git","npm","npx","pnpm","yarn","node",
"python","py","pip","pytest","ruff","uv",
"dotnet","cargo","go"]Notes for contributors
The two-phase pattern lives in stage(), redeem() and _expire(). If you add a tool with
side effects, use it.
One subtlety worth preserving: redeem() does not consume the token when the tool kind
does not match. A model calling the wrong tool by mistake must not burn the user's approval
and force them to confirm all over again. This was a real bug, caught in testing.
New capability servers should follow the same shape — one file, one domain, read tools free, write tools gated, refuse rather than confirm when the action is outside the envelope.
Status
Early. The projects server is tested and in daily use; more capability servers (media, mail, browser) are planned as part of a larger voice-assistant project. Issues and PRs welcome.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceA lightweight MCP server that enables AI assistants to manage local Git repositories by executing commands like status, add, and commit. It streamlines development workflows by providing repository context and diffs directly to the assistant.
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides tools for interacting with Git repositories, enabling AI assistants to manage repositories, branches, commits, and files through a standardized interface.3,7031Apache 2.0
- FlicenseNot gradedqualityDmaintenanceA local MCP server that turns AI clients into power users of local git repositories, enabling clone, browse, search, and inspect code without burning API tokens.
- FlicenseBqualityBmaintenanceA lightweight MCP server that acts as a secure proxy for AI assistants to run local Git operations and GitHub API macros simultaneously.1
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
A MCP server built for developers enabling Git based project management with project and personal…
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ronith2906/Otama'
If you have feedback or need assistance with the MCP directory API, please join our Discord server