Back to Home
postrv icon

narsil-mcp

Verified Safe

by postrv

Overview

AI-powered code analysis and understanding for developers and coding agents, providing semantic search, call graphs, security audits, and architectural insights.

Installation

Run Command
narsil-mcp server --repo <path_to_repository> --index-path <path_for_index_files>

Environment Variables

  • GITHUB_TOKEN
  • VOYAGE_API_KEY
  • OPENAI_API_KEY
  • NARSIL_CONFIG_PATH
  • NARSIL_USER_CONFIG_PATH
  • NARSIL_PROJECT_CONFIG_PATH
  • NARSIL_NEURAL_BACKEND
  • NARSIL_NEURAL_MODEL_PATH
  • NARSIL_NEURAL_API_ENDPOINT

Security Notes

The project demonstrates a strong focus on security, with explicit modules for secret redaction, robust input validation (e.g., git arguments, regex patterns for ReDoS prevention, path traversal checks), and a default 'read_only' mode. It also includes comprehensive security scanning capabilities as core features, such as taint analysis, OWASP Top10, and CWE Top25 checks. No obvious critical vulnerabilities or malicious patterns were found in the provided source code snippets.

Similar Servers

Stats

Interest Score92
Security Score9
Cost ClassHigh
Avg Tokens1000
Stars76
Forks9
Last Update2026-01-18

Tags

Code AnalysisAI/MLDeveloper ToolsCode IntelligenceSemantic Search