Skip to main content
Glama
MaheshDoiphode

Project Content Server

프로젝트 콘텐츠 서버

프로젝트 파일과 그 내용에 대한 액세스를 제공하는 MCP 서버입니다.

설치

  1. 저장소를 복제합니다

  2. 종속성 설치:

    지엑스피1

  3. 프로젝트를 빌드하세요:

    npm run build

Related MCP server: MCP Server

용법

서버를 시작합니다:

node build/index.js

API

최신 프로젝트 데이터

프로젝트 디렉토리에서 모든 파일과 그 내용을 가져옵니다.

매개변수:

  • 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

One-click Deploy
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MaheshDoiphode/mcp-cline-project-content-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server