MCP ExplorerExplorer

Mcp Cline Project Content Server

@MaheshDoiphodeon 10 months ago
5 MIT
FreeCommunity
AI Systems
MCP server for accessing project files and their contents.

Overview

What is Mcp Cline Project Content Server

The mcp-cline-project-content-server is an MCP server designed to provide access to project files and their contents, enabling users to retrieve and manage project data efficiently.

Use cases

Use cases include retrieving the latest project data for analysis, integrating with other tools for project management, and providing file access in collaborative development environments.

How to use

To use the mcp-cline-project-content-server, clone the repository, install the necessary dependencies using ‘npm install’, and build the project with ‘npm run build’. Start the server by executing ‘node build/index.js’.

Key features

Key features include the ability to retrieve all files and their contents from a specified project directory, configurable server settings via environment variables, and structured error handling for common issues.

Where to use

The mcp-cline-project-content-server can be used in software development environments, project management tools, and any application requiring access to project files and their contents.

Content

Project Content Server

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

Project Content Server MCP server

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

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers