Skip to main content
Glama

Project Content Server

プロジェクトコンテンツサーバー

プロジェクト ファイルとそのコンテンツへのアクセスを提供する MCP サーバー。

インストール

  1. リポジトリをクローンする
  2. 依存関係をインストールします:
    npm install
  3. プロジェクトをビルドします。
    npm run build

使用法

サーバーを起動します。

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 }

よくあるエラーは次のとおりです:

  • 無効なプロジェクトパス
  • 権限拒否エラー
  • ファイルシステムエラー

ライセンス

マサチューセッツ工科大学

You must be authenticated.

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

プロジェクト ファイルとそのコンテンツへのアクセスを提供し、ユーザーがエラー処理と構成オプションを使用して指定されたプロジェクト ディレクトリからファイル データを取得できるようにする MCP サーバー。

  1. インストール
    1. 使用法
      1. API
    2. 構成
      1. エラー処理
        1. ライセンス

          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,387
            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

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/MaheshDoiphode/mcp-cline-project-content-server'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server