프로젝트 콘텐츠 서버
프로젝트 파일과 그 내용에 대한 액세스를 제공하는 MCP 서버입니다.
설치
저장소를 복제합니다
종속성 설치:
지엑스피1
프로젝트를 빌드하세요:
npm run build
Related MCP server: MCP Server
용법
서버를 시작합니다:
node build/index.jsAPI
최신 프로젝트 데이터
프로젝트 디렉토리에서 모든 파일과 그 내용을 가져옵니다.
매개변수:
projectPath(문자열): 프로젝트 디렉토리 경로
요청 예시:
{
"name": "latest_project_data",
"arguments": {
"projectPath": "/path/to/project"
}
}응답 예시:
{
"file1.txt": "Contents of file1",
"subdir/file2.js": "Contents of file2"
}구성
서버는 환경 변수를 사용하여 구성할 수 있습니다.
PORT: 서버를 실행할 포트(기본값: stdio)
오류 처리
서버는 다음 형식으로 오류를 반환합니다.
{
"content": [{
"type": "text",
"text": "Error message"
}],
"isError": true
}일반적인 오류는 다음과 같습니다.
잘못된 프로젝트 경로
권한 거부 오류
파일 시스템 오류
특허
MIT
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.