Back to Home
supermodeltools icon

mcp

Verified Safe

by supermodeltools

Overview

Provides AI agents with deep codebase analysis by generating comprehensive code graphs from local repositories via the Supermodel API, enabling understanding of code structure, dependencies, and relationships.

Installation

Run Command
npx @supermodeltools/mcp-server

Environment Variables

  • SUPERMODEL_API_KEY
  • SUPERMODEL_BASE_URL

Security Notes

The server demonstrates good security practices by explicitly externalizing API keys via environment variables and including robust file exclusion patterns (like .gitignore and a list of sensitive files/directories) during repository zipping, which prevents accidental leakage of credentials or processing of irrelevant/large files. Temporary ZIP files are also managed with cleanup. The use of `child_process.execSync` is present for retrieving git metadata, which is typically a security concern, but its application is limited to benign git commands within a validated directory, mitigating the immediate risk. The core code analysis is performed by an external API, shifting some security considerations to that service.

Similar Servers

Stats

Interest Score36
Security Score9
Cost ClassHigh
Avg Tokens30000
Stars3
Forks0
Last Update2026-01-17

Tags

Code analysisAI agent toolCode explorationDependency mappingRefactoring aid