Project Content Server

Integrations

  • Provides access to project files and their contents from a specified directory, allowing retrieval of all files and their contents in a structured format.

  • Supports working with npm-based projects, allowing installation of dependencies and building projects through npm commands.

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

You must be authenticated.

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

An MCP server that provides access to project files and their contents, allowing users to retrieve file data from specified project directories with error handling and configuration options.

  1. Installation
    1. Usage
      1. API
    2. Configuration
      1. Error Handling
        1. License

          Related MCP Servers

          • -
            security
            F
            license
            -
            quality
            An MCP server that allows Claude AI to perform filesystem operations including reading, writing, listing, moving files, and searching directories within specified allowed paths.
            Last updated -
            5
            1
            JavaScript
          • 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,241
            Python
            Apache 2.0
            • Apple
          • -
            security
            F
            license
            -
            quality
            A Filesystem MCP server that allows an LLM to read and list files from a specified directory on your local machine through the Model Context Protocol.
            Last updated -
            2
            Python
          • -
            security
            A
            license
            -
            quality
            A dynamic MCP server implementation that automatically loads tools, resources, and prompts from their respective directories, allowing for easy extension and configuration.
            Last updated -
            Python
            MIT License

          View all related MCP servers

          ID: qmqbqlz2c4