MCP 精细代码分析添加福利群:解决AI开发者的「MCP实战痛点」一个 模型上下文协议 (MCP) 服务器,通过 nuanced 库为大型语言模型(LLMs)提供调用图分析功能。
此 MCP 服务器使 LLMs 能够通过标准化工具和资源访问函数调用图来理解代码结构。它允许 AI 助手:
initialize_graph
repo_path (字符串)switch_repository
repo_path (字符串)list_repositories
get_function_call_graph
file_path (字符串)function_name (字符串)repo_path (字符串, 可选) - 如果未指定则使用当前活动仓库analyze_dependencies
file_path (字符串, 可选)module_name (字符串, 可选)analyze_change_impact
file_path (字符串)function_name (字符串)graph://summary
graph://repo/{repo_path}/summary
repo_path (字符串) - 仓库路径graph://function/{file_path}/{function_name}
file_path (字符串) - 包含该函数的文件路径function_name (字符串) - 要分析的函数名称analyze_function
file_path (字符串) - 包含该函数的文件路径function_name (字符串) - 要分析的函数名称impact_analysis
file_path (字符串) - 包含该函数的文件路径function_name (字符串) - 要分析的函数名称analyze_dependencies_prompt
file_path (字符串, 可选) - 要分析的文件路径module_name (字符串, 可选) - 要分析的模块名称将以下内容添加到您的 claude_desktop_config.json 中
{
"mcpServers": {
"nuanced": {
"command": "uv",
"args": [
"--directory",
"/path/to/nuanced-mcp",
"run",
"nuanced_mcp_server.py"
]
}
}
}
