napi - Better Software Architecture for the AI Age
@nanoapi-io
关于 napi - Better Software Architecture for the AI Age
Software architecture tooling for the AI age
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"napi": {
"command": "deno",
"args": [
"task",
"dev"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is napi?
napi is a fully offline CLI that analyzes your codebase's architecture—dependencies, complexity, and structure—then lets you visualize and refactor it, all without sending your code anywhere. It generates dependency manifests from source code, stores them locally, and serves an interactive graph visualizer directly from the CLI.
How to use napi?
Install on Unix via curl -fsSL https://raw.githubusercontent.com/nanoapi-io/napi/refs/heads/main/install_scripts/install.sh | bash or download a binary from GitHub Releases. Use napi init to create a configuration, napi generate to produce a dependency manifest, and napi view to open an interactive visualizer in your browser.
Key features of napi
- Dependency analysis mapping every file, symbol, and dependency automatically.
- Audit detection for files exceeding complexity, size, or coupling thresholds.
- Interactive visualizer using Cytoscape.js graphs served locally in your browser.
- Symbol extraction of functions, classes, or symbols into standalone files.
- Optional AI labeling with OpenAI, Google, or Anthropic models.
- Fully offline operation with no accounts, servers, or data leaving your machine.
Use cases of napi
- Understand and visualize your codebase’s architecture to plan refactoring.
- Track dependency changes over time by generating manifests on every push.
- Extract complex symbols into separate files to reduce coupling.
- Enforce architecture quality gates in CI/CD pipelines.
FAQ from napi
Does napi send my code anywhere?
No. napi is fully offline—it never sends your code to any server. All processing happens locally on your machine.
Which programming languages does napi support?
Python, C#, C, and Java are currently supported. Support for C++, PHP, and JavaScript/TypeScript is in progress.
Where are dependency manifests stored?
Manifests are saved as JSON files in .napi/manifests/ relative to your project root. Each manifest contains branch, commit SHA, and timestamp metadata.
Can napi be used in CI/CD?
Yes. napi can generate manifests non-interactively using --branch, --commit-sha, and --commit-sha-date options. The README includes a GitHub Actions workflow example.
How do I enable AI labeling for dependencies?
Run napi set apiKey and follow the prompts to configure an API key for Google, OpenAI, or Anthropic. Labeling settings are stored globally in your OS config directory.
其他 分类下的更多 MCP 服务器
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
评论