DevNarrate
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., "@DevNarrateReview the changes you just made"
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.
DevNarrate
MCP server for developer workflow automation — smart commits, secret scanning, PR descriptions, and more.
Features
Change Review: Understand AI-generated code changes before committing — narrative summaries, goal alignment, and attention guides instead of raw diffs
Smart Commit Messages: Generate conventional commit messages from staged changes with full user control
Secret Scanning: Detect leaked API keys, tokens, passwords, and private keys in staged diffs before they reach your repo — powered by detect-secrets with 25+ built-in detectors
PR Descriptions: Create detailed pull request descriptions with customizable templates
Multi-Platform: Supports GitHub and GitLab
Token-Aware: Handles large diffs with automatic pagination
Template System: Use custom PR templates or built-in defaults
Safety First: Only works with staged changes to prevent accidental commits
Related MCP server: devflow-mcp
Installation (Source / Development)
1. Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh2. Clone and set up
git clone https://github.com/krishnamandanapu/DevNarrate.git
cd DevNarrate
uv sync3. Register the MCP server
The server must be launched with the Python interpreter from your uv-managed virtual environment (typically /path/to/DevNarrate/.venv/bin/python on macOS/Linux or .venv\\Scripts\\python.exe on Windows).
# capture the interpreter path once
VENV_PY=$(pwd)/.venv/bin/python
# Claude Code (global scope)
claude mcp add --scope user DevNarrate -- "$VENV_PY" -m devnarrate.server
# Claude Code (project scope)
claude mcp add DevNarrate -- "$VENV_PY" -m devnarrate.serverCursor (~/.cursor/mcp.json):
{
"mcpServers": {
"DevNarrate": {
"command": "/path/to/DevNarrate/.venv/bin/python",
"args": ["-m", "devnarrate.server"]
}
}
}For pip-based installation steps, head to https://pypi.org/project/devnarrate/.
Usage
Commit Messages
DevNarrate only works with staged changes to keep you in control.
git add <file1> <file2>
# or stage everything tracked:
git add -uThen ask Claude:
Generate a commit message for my changesClaude inspects the staged diff, proposes a conventional commit message, and asks for approval before running git commit.
Change Review
After an AI assistant makes changes to your code, ask it to review them before committing:
Review the changes you just madeDevNarrate analyzes the working tree diff and presents a layered summary:
Narrative overview — what changed, how many files, lines added/removed
Goal grouping — which changes map to the stated goal, which were inferred from comments/docstrings, and which are unrecognized (possibly from another session)
Attention guide — what needs human review vs what's routine
This replaces reading raw diffs with a structured, goal-oriented breakdown.
Secret Scanning
Secret scanning runs automatically as part of get_commit_context. When you stage changes and ask for a commit message, DevNarrate scans the diff for:
API keys (AWS, Google, Stripe, GitHub, Slack, etc.)
Passwords & tokens in config files
Private keys (RSA, SSH, PGP)
High-entropy strings that look like secrets
If secrets are found, Claude warns you before committing. To suppress false positives, add an inline comment:
SAFE_VALUE = "not-a-real-secret" # pragma: allowlist secretPR Descriptions
Ask Claude: "Create a PR to main from my current branch"
Claude analyzes the diff and offers template options (custom templates live in
.devnarrate/pr-templates/)Review the generated description and approve to let Claude create the PR via
ghorglab
Configuration (Optional)
DevNarrate ships a fully commented config file at .devnarrate/config.toml. Copy it into your repo root and edit the values you care about — every setting documents its purpose and default inline.
All settings are optional — delete or comment out any line to use the default.
PR Templates (Optional)
mkdir -p .devnarrate/pr-templatesExample (.devnarrate/pr-templates/feature.md):
## Summary
[What does this PR do?]
## Changes
-
-
## Testing
[How to test]
## Related Issues
[Links]If no template is found, DevNarrate falls back to its default format.
Platform Support
Commits: Works anywhere git runs
PRs: Requires platform CLIs
Development
Format/lint through uv-managed tooling
Build artifacts with
uv run pyproject-buildUse
bump-my-version(seeRELEASING.md) for tagged releases
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Appeared in Searches
Latest Blog Posts
- 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/kmandana/DevNarrate'
If you have feedback or need assistance with the MCP directory API, please join our Discord server