Project Content Server - UBOS

✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

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

Featured Templates

View More
AI Agents
AI Video Generator
244 1221 5.0
AI Engineering
Python Bug Fixer
117 916
Customer service
Service ERP
124 632
Customer service
Multi-language AI Translator
135 521
AI Assistants
AI Chatbot Starter Kit v0.1
127 524

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.