MCP.so
ログイン

Scaffold MCP Server

@Beer-Bears

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

Beer-Bears

投稿者

Ketrin XD

Scaffold MCP Server について

Scaffold is a specialized RAG system that transforms entire codebase into a living knowledge graph, capturing the deep structural relationships between files, classes, and functions. This provides AI agents with the crucial context to accurately understand, maintain, and reason a

Scaffold MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "Scaffold": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "--name",
        "scaffold-mcp",
        "-p",
        "8000:8080",
        "-v",
        "${PROJECT_PATH}:/app/codebase",
        "-e",
        "CHROMA_SERVER_HOST=${CHROMA_SERVER_HOST}",
        "-e",
        "CHROMA_SERVER_PORT=${CHROMA_SERVER_PORT}",
        "-e",
        "CHROMA_COLLECTION_NAME=${CHROMA_COLLECTION_NAME}",
        "-e",
        "NEO4J_USER=${NEO4J_USER}",
        "-e",
        "NEO4J_PASSWORD=${NEO4J_PASSWORD}",
        "-e",
        "NEO4J_URI=${NEO4J_URI}",
        "-t",
        "ghcr.io/beer-bears/scaffold:latest"
      ],
      "env": {
        "CHROMA_SERVER_HOST": "<CHROMA_HOST>",
        "CHROMA_SERVER_PORT": "<CHROMA_PORT>",
        "CHROMA_COLLECTION_NAME": "scaffold_data",
        "NEO4J_USER": "<NEO4J_USER>",
        "NEO4J_PASSWORD": "<NEO4J_PASSWORD>",
        "NEO4J_URI": "bolt://<NEO4J_USER>:<NEO4J_PASSWORD>@<NEO4J_HOST>:NEO4J_PORT>",
        "PROJECT_PATH": "<PATH_TO_YOUR_PROJECT>"
      }
    }
  }
}

Scaffold MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Scaffold?

Scaffold is a specialized Retrieval-Augmented Generation (RAG) system that provides deep, structural understanding of large codebases to LLMs and AI agents. It transforms source code into a living knowledge graph, enabling precise, context-aware interactions. This MCP server allows clients like Cursor to interface with the Scaffold knowledge graph to construct, maintain, and reason about complex software projects.

How to use Scaffold?

First, run the required database dependencies (Neo4j and ChromaDB) in Docker on a shared network. Then, configure your MCP client (e.g., mcp.json in Cursor) with a Docker command and environment variables that point to your databases and the absolute path to your codebase. The server exposes a single tool get_code_entity_information that can be invoked from the AI agent.

Key features of Scaffold

  • Graph-Based RAG: Represents codebases as interconnected graphs of files, classes, and functions.
  • Living Knowledge Base: Keeps the AI's understanding synchronized with code structure.
  • Eliminate Context Blindness: Provides project-specific architecture and logic to agents.
  • Precise Context Injection: Delivers targeted information about code entities.
  • Hybrid Search: Combines graph traversal with vector search for comprehensive context.

Use cases of Scaffold

  • Ask an AI agent what a specific class (e.g., PaymentService) does.
  • Find the source code and relationships of a particular function (e.g., save_graph_to_db).
  • Understand what a code entity like FileNode is and which other methods use it.

よくある質問

1

What are the runtime dependencies for Scaffold?

Scaffold requires Neo4j and ChromaDB to be running in Docker on a shared network before the MCP server container starts.

2

How do I fix a "Connection Refused" error?

Ensure the database containers (`scaffold-neo4j` and `scaffold-chromadb`) are running and all three containers are on the same Docker network. Also verify that the user, password, and hostnames in the environment variables match the running databases.

3

Why does the server report "File not found"?

The `PROJECT_PATH` environment variable must be an absolute path on your host machine. Relative paths (like `.` or `~/`) may not work correctly.

4

Where does Scaffold store its data?

Data is stored in the Neo4j graph database and ChromaDB vector store, both running in Docker containers with persistent volumes (`neo4j_data` and `chroma_data`).

5

What transport does Scaffold use?

Scaffold runs as a Docker container that exposes a port (8000 mapped to container port 8080) for MCP communication over HTTP.

コメント

「開発者ツール」の他のコンテンツ