aica
by dotneet·★ 16·综合分 36
aica 是一款开源的 AI 代码分析工具,支持 MCP 服务器功能,可进行代码审查和分析。
概述
aica(AI 代码分析器)是一款可定制、开源的工具,使用 AI 进行代码审查和分析。它支持多种功能,包括 AI 驱动的代码审查、自动知识检索、基于符号的代码搜索和基于向量的文档搜索。该工具可作为独立的 CLI 应用程序使用,也可与 GitHub Actions 集成。它特别支持 MCP(模型上下文协议),支持 stdio 和 SSE 传输,可作为 MCP 服务器运行以增强 AI 交互。
试试问 AI
装完之后,这里有 3 个你可以让 AI 做的事:
什么时候选它
选择 aica 如果您需要一个开源、可定制的 AI 代码分析工具,可以作为 MCP 服务器集成,并与您首选的 LLM 提供商配合使用。
什么时候不要选它
避免使用 aica 如果您需要商业工具和官方支持,或需要超越 MCP 提供的高级 IDE 集成功能。
此 server 暴露的工具
从 README 抽取出 7 个工具reviewReview code changes using AI
agentExecute AI agent with a prompt
reindexReindex the code and document databases
summaryGenerate a summary of code changes
commitCommit changes with an AI-generated commit message
create-prCreate a pull request on GitHub
commit-messageGenerate a commit message based on code changes
说明:Tool names were inferred from CLI commands in the README. The MCP server is documented but the actual MCP tools are not explicitly listed, only the commands that can be executed through the CLI.
可对比工具
安装
# 首先安装 bun 再构建 aica
# 官方安装文档: https://bun.sh/docs/installation#installing
git clone https://github.com/dotneet/aica.git
cd aica
bun install
bun run build
cp ./dist/aica /usr/local/bin
# 配置 MCP 服务器
echo '[mcp]
setupFile = "mcp.json"' > ~/.config/aica/aica.toml
# 要在 Claude Desktop 中使用,请添加到 ~/.config/claude-desktop/config.json:
{
"mcpServers": {
"aica": {
"command": "aica",
"args": ["mcp", "server"]
}
}
}aica 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。