Installation

Install and build the IndexMind MCP server locally.

The IndexMind MCP server lives in the packages/mcp-server/ directory of the IndexMind repository. It is a Node.js application that you build locally and point your IDE at.

Install and build

  1. Clone or navigate to the repository

    If you haven't already cloned the IndexMind repository, do so now. If you already have it locally, navigate to the root of the repo.

    git clone https://github.com/your-org/indexmind.git
    cd indexmind
    
  2. Navigate to the MCP server package

    cd packages/mcp-server
    
  3. Install dependencies

    npm install
    
  4. Build the server

    npm run build
    

    This compiles the TypeScript source into the dist/ directory.

  5. Verify the build

    Run the built server with the --help flag to confirm everything compiled correctly.

    node dist/index.js --help
    

    You should see output listing the available CLI flags:

    Options:
      --api-url      Override the API endpoint
      --project-id   Set the default project context
      --readonly     Disable write tools
      --log-level    Set log verbosity (error, info, debug)
      --help         Show this help message
    

The dist/ directory is gitignored. You must run npm run build after every git pull to ensure you are running the latest version of the MCP server.

Next steps

With the server built, head to IDE Setup to connect it to your editor, or review Environment & Flags to understand the available configuration options.