Skip to main content
Glama
Project Content Server

Project Content Server

项目内容服务器

提供对项目文件及其内容的访问的 MCP 服务器。

安装

  1. 克隆存储库

  2. 安装依赖项:

    npm install
  3. 构建项目:

    npm run build

Related MCP server: File Tools MCP Server

用法

启动服务器:

node build/index.js

API

最新项目数据

从项目目录中获取所有文件及其内容。

参数:

  • projectPath (字符串):项目目录的路径

示例请求:

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

响应示例:

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

配置

可以使用环境变量来配置服务器:

  • PORT :运行服务器的端口(默认值:stdio)

错误处理

服务器返回以下格式的错误:

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

常见错误包括:

  • 项目路径无效

  • 权限被拒绝错误

  • 文件系统错误

执照

麻省理工学院

Available Tools

1 tool
latest_project_dataC

Get latest project data including file names and contents

Inputs: projectPath (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of confusion or overlap between tools. The single tool 'latest_project_data' has a clear and distinct purpose of retrieving project data, so disambiguation is perfect.

    Naming Consistency5/5

    Since there is only one tool, naming consistency is inherently perfect. The tool name 'latest_project_data' follows a clear verb_noun pattern (get is implied in the description), and there are no other tools to cause inconsistency.

    Tool Count2/5

    A single tool is generally too few for a server named 'Project Content Server', which suggests a scope that might include operations like creating, updating, or deleting project data. This minimal set feels thin and incomplete for the implied domain.

    Completeness2/5

    The server's name implies handling project content, but the tool only provides read access to latest data. There are significant gaps, such as no ability to create, update, delete, or manage project files, which will likely cause agent failures in typical workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that provides file and directory tools for LLMs, including project structure analysis, file reading, and project context resources, with support for .gitignore patterns.
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      A secure file management MCP server enabling file operations like listing, reading, creating, renaming, moving, copying, deleting, and searching within a restricted workspace.
      10
      MIT