Project Content Server

by MaheshDoiphode

Recommended
5 stars
7 downloads
Not rated
GitHub

About

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.

Details

Author
MaheshDoiphode
Repository
MaheshDoiphode/mcp-cline-project-content-server
GitHub stars
5
Downloads
7
License
MIT License
Categories
File Management, Developer Tools

Setting up with Highlight

Follow these steps to add this server as a custom Highlight plugin:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Project Content Server
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 -y
    • Argument 2 @highlight/mcp-server

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

The server can be configured using environment variables:

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

latest_project_data

Get all files and their contents from a project directory. Parameters: projectPath (string): Path to the project directory.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "project content server": {
            "env": {},
            "args": [
                "-y",
                "@highlight/mcp-server"
            ],
            "command": "npx"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Macos

{
    "env": [],
    "args": [
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "npx"
}

Windows

{
    "env": [],
    "args": [
        "/c",
        "npx",
        "-y",
        "@highlight/mcp-server"
    ],
    "command": "cmd"
}

Project Content Server

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

<a href="https://glama.ai/mcp/servers/qmqbqlz2c4">Project Content Server MCP server</a>

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

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.