
ab498/code-context-provider-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
MCP 서버는 AI 조수에 대한 코드 컨텍스트 및 분석을 제공합니다. WebAssembly Tree-sitter Parsers를 사용하여 디렉토리 구조 및 코드 기호를 추출하십시오. Zero Native Dependencies.
개요
- 디렉토리 트리 구조 생성 - Analyze JavaScript / TypeScript 및 Python 파일 - 추출 코드 기호 (기능, 변수, 클래스, 수입, 수출) - AI 조수와 원활한 통합을위한 MCP 프로토콜과 호환 Smithery를 통해 Claude Desktop용 Code Context Provider를 자동으로 설치하십시오. 디렉토리를 분석하고 코드 기호와 함께 구조를 반환 (옵션). Parameters: - 절대Path (string, required): 분석 할 디렉토리에 절대 경로 (boolean, 옵션): JavaScript/TypeScript 및 Python 파일을 분석하는 것 (기본값: false) - includeSymbols (boolean, 옵션): 응답 (과태: false)에 코드 기호를 포함 여부 - symbolType (enum, 옵션) : includeSymbols가 true (options: 'function', 'variables', 'classes', 'imports', 'exports', 'all', default: 'all') - filePatterns (문자, 선택): 분석 파일 패턴 (예 : ['.js', '.py', 'config.
개요(AI 번역)
MCP 서버는 AI 조수에 대한 코드 컨텍스트 및 분석을 제공합니다. WebAssembly Tree-sitter Parsers를 사용하여 디렉토리 구조 및 코드 기호를 추출하십시오. Zero Native Dependencies.
특징
- 디렉토리 트리 구조 생성
- Analyze JavaScript/TypeScript 및 Python 파일
- 추출 코드 기호 (기능, 변수, 클래스, 수입, 수출)
- AI 조수와 원활한 통합을위한 MCP 프로토콜과 호환
빠른 사용법 (MCP 체제)
Smithery를 통해 설치
Smithery를 통해 Claude Desktop용 Code Context Provider를 자동으로 설치하십시오.
윈도우
맥 OS/리눅스
또는 npm로 글로벌 설치:
다음 실행에 의해 그것을 사용:
사용 가능한 도구
get_code_context
디렉토리를 분석하고 코드 기호와 함께 구조를 반환 (옵션).
모수:
absolutePath(문자,필수): 디렉토리에 절대 경로analyzeJs(불린, 옵션): JavaScript/TypeScript 및 Python 파일 분석 여부 (기본값: false)includeSymbols(불린, 옵션): 응답에 코드 기호를 포함 여부 (기본: false)
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Code Context Provider MCP
MCP server that provides code context and analysis for AI assistants. Extracts directory structure and code symbols using WebAssembly Tree-sitter parsers with Zero Native Dependencies.
Features
- Generate directory tree structure
- Analyze JavaScript/TypeScript and Python files
- Extract code symbols (functions, variables, classes, imports, exports)
- Compatible with the MCP protocol for seamless integration with AI assistants
Quick Usage (MCP Setup)
Installing via Smithery
To install Code Context Provider for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @AB498/code-context-provider-mcp --client claude
Windows
{
"mcpServers": {
"code-context-provider-mcp": {
"command": "cmd.exe",
"args": [
"/c",
"npx",
"-y",
"code-context-provider-mcp@latest"
]
}
}
}
MacOS/Linux
{
"mcpServers": {
"code-context-provider-mcp": {
"command": "npx",
"args": [
"-y",
"code-context-provider-mcp@latest"
]
}
}
}
OR install globally with npm:
npm install -g code-context-provider-mcp
Then use it by running:
code-context-provider-mcp # if you're not using @latest, you may want to clear the cache for latest version using `Remove-Item -Path "$env:LOCALAPPDATA\npm-cache\_npx" -Recurse -Force` for windows and `rm -rf ~/.npm/_npx` for linux/macos
Available Tools
get_code_context
Analyzes a directory and returns its structure along with code symbols (optional).
Parameters:
absolutePath(string, required): Absolute path to the directory to analyzeanalyzeJs(boolean, optional): Whether to analyze JavaScript/TypeScript and Python files (default: false)includeSymbols(boolean, optional): Whether to include code symbols in the response (default: false)
설치
npx -y code-context-provider-mcp@latest설정
{
"mcpServers": {
"code-context-provider-mcp": {
"command": "cmd.exe",
"args": [
"/c",
"npx",
"-y",
"code-context-provider-mcp@latest"
]
}
}
}