Skip to main content
Glama
MaheshDoiphode

Project Content Server

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

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

インストール

  1. リポジトリをクローンする

  2. 依存関係をインストールします:

    npm install
  3. プロジェクトをビルドします。

    npm run build

Related MCP server: 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 }

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

  • 無効なプロジェクトパス

  • 権限拒否エラー

  • ファイルシステムエラー

ライセンス

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

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

Latest Blog Posts

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