
mattmorgis/nuanced-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
A Model Context Protocol (MCP) 서버는 nuanced library를 통해 LLM에 대한 그래프 분석 기능을 제공합니다
개요
A Model Context Protocol (MCP) 서버는 뉘앙스드 라이브러리를 통해 LLM에 대한 그래프 분석 기능을 제공합니다. 이 MCP 서버는 LLM을 사용하여 표준 도구 및 리소스를 통해 기능 호출 그래프에 액세스하여 코드 구조를 이해합니다. AI 조수는 다음과 같습니다. - Python 저장소에 대한 호출 그래프를 초기화 - 기능 통화 관계 탐색 - 기능 간의 분석 의존성 - 더 이상 contextually aware 코드 지원 제공 - 주어진 저장소 경로에 대한 코드 그래프를 초기화 - 입력 : repo path (string) - 다른 초기 저장소로 전환 - 입력: repo path (문자) - 모든 초기화 된 저장소 목록 - 입력 없음 - 특정 함수에 대한 호출 그래프를 가져옵니다 - 입력: - file path (string) - function name (string) - repo path (string, 옵션) - 지정하지 않은 경우 활성 저장소를 사용 - 코드베이스의 모든 모듈 또는 파일 의존성을 찾으십시오 - 입력 (최소 1 필요) : - file path (문자, 선택 사항) - module name (문자, ...
개요(AI 번역)
A Model Context Protocol (MCP) 서버는 뉘앙스드 라이브러리를 통해 LLM에 대한 그래프 분석 기능을 제공합니다.
개요
이 MCP 서버는 LLM을 사용하여 표준 도구 및 리소스를 통해 기능 호출 그래프에 액세스하여 코드 구조를 이해합니다. AI 조수는 다음과 같습니다.
- Python 저장소에 대한 호출 그래프 초기화
- 기능 호출 관계를 탐구
- 기능 간의 분석 의존성
- contextually aware code 지원 제공
API를
도구
-
initialize graph는
-
주어진 저장소 경로에 대한 코드 그래프를 초기화
-
입력:
repo_path(문자) -
** 스위치 저장소 **
-
다른 초기화 저장소로 전환
-
입력:
repo_path(문자) -
**list repositories **
-
모든 초기화 저장소 목록
-
입력 없음
-
get function call graph
-
특정 함수의 호출 그래프를 가져옵니다.
-
입력:
-
[T2]] (문자)
-
[T3]] (문자)
-
repo_path(문자, 선택 사항) - 지정하지 않은 경우 활성 저장소를 사용 -
**analyze dependencies **
-
codebase에서 모든 모듈 또는 파일 의존성을 찾습니다.
-
입력 (필수):
-
file_path(문자, 선택) -
module_name(문자, 선택)
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Nuanced MCP Server
A Model Context Protocol (MCP) server that provides call graph analysis capabilities to LLMs through the nuanced library.
Overview
This MCP server enables LLMs to understand code structure by accessing function call graphs through standardized tools and resources. It allows AI assistants to:
- Initialize call graphs for Python repos
- Explore function call relationships
- Analyze dependencies between functions
- Provide more contextually aware code assistance
API
Tools
-
initialize_graph
- Initialize a code graph for the given repository path
- Input:
repo_path(string)
-
switch_repository
- Switch to a different initialized repository
- Input:
repo_path(string)
-
list_repositories
- List all initialized repositories
- No inputs required
-
get_function_call_graph
- Get the call graph for a specific function
- Inputs:
file_path(string)function_name(string)repo_path(string, optional) - uses active repository if not specified
-
analyze_dependencies
- Find all module or file dependencies in the codebase
- Inputs (at least one required):
file_path(string, optional)module_name(string, optional)
-
analyze_change_impact
- Analyze the impact of changing a specific function
- Inputs:
file_path(string)function_name(string)
Resources
-
graph://summary
- Get a summary of the currently loaded code graph
- No parameters required
-
graph://repo/{repo_path}/summary
- Get a summary of a specific repository’s code graph
- Parameters:
repo_path(string) - Path to the repository
-
graph://function/{file_path}/{function_name}
- Get detailed information about a specific function
- Parameters:
file_path(string) - Path to the file containing the functionfunction_name(string) - Name of the function to analyze
Prompts
-
analyze_function
- Create a prompt to analyze a function with its call graph
- Parameters:
file_path(string) - Path to the file containing the functionfunction_name(string) - Name of the function to analyze
-
impact_analysis
- Create a prompt to analyze the impact of changing a function
- Parameters:
file_path(string) - Path to the file containing the functionfunction_name(string) - Name of the function to analyze
-
analyze_dependencies_prompt
- Create a prompt to analyze dependencies of a file or module
- Parameters (at least one required):
file_path(string, optional) - Path to the file to analyzemodule_name(string, optional) - Name of the module to analyze
Usage with Claude Desktop
Add this to your claude_desktop_config.json
UV
{
"mcpServers": {
"nuanced": {
"command": "uv",
"args": [
"--directory",
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"nuanced": {
"command": "uv",
"args": [
"--directory",
"/path/to/nuanced-mcp",
"run",
"nuanced_mcp_server.py"
]
}
}
}