Skip to main content
Glama

Project Content Server

Project Content Server

An MCP server that provides access to project files and their contents.

Installation

  1. Clone the repository
  2. Install dependencies:
    npm install
  3. Build the project:
    npm run build

Usage

Start the server:

node build/index.js

API

latest_project_data

Get all files and their contents from a project directory.

Parameters:

  • projectPath (string): Path to the project directory

Example Request:

{ "name": "latest_project_data", "arguments": { "projectPath": "/path/to/project" } }

Example Response:

{ "file1.txt": "Contents of file1", "subdir/file2.js": "Contents of file2" }

Configuration

The server can be configured using environment variables:

  • PORT: Port to run the server on (default: stdio)

Error Handling

The server returns errors in the following format:

{ "content": [{ "type": "text", "text": "Error message" }], "isError": true }

Common errors include:

  • Invalid project path
  • Permission denied errors
  • File system errors

License

MIT

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

프로젝트 파일과 그 내용에 대한 액세스를 제공하는 MCP 서버로, 사용자는 오류 처리 및 구성 옵션을 사용하여 지정된 프로젝트 디렉터리에서 파일 데이터를 검색할 수 있습니다.

  1. 설치
    1. 용법
      1. API
    2. 구성
      1. 오류 처리
        1. 특허

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            MCP server for collecting code from files and directories into a single markdown document.
            Last updated -
            2
            8
            MIT License
          • -
            security
            A
            license
            -
            quality
            MCP Server simplifies the implementation of the Model Context Protocol by providing a user-friendly API to create custom tools and manage server workflows efficiently.
            Last updated -
            1
            4
            MIT License
          • A
            security
            A
            license
            A
            quality
            An MCP server that provides tools for reading, writing, and editing files on the local filesystem.
            Last updated -
            1
            1,531
            Apache 2.0
            • Apple

          View all related MCP servers

          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