cidx.dev logo
← Back to Resources

Setting Up the CIDX CLI for MCP Integration

Install the CIDX CLI globally:

npm install -g cidx

Initialize and configure CIDX:

cidx init
  • This will open a browser window. Log in or register with GitHub (if you are already registered, just log in).
  • Authorize CLI integration when prompted.
  • Once complete, close the browser window and return to your terminal.
  • The CLI will automatically set up your account keys.

Connect CIDX to the MCP installation window:

cidx --mcp

Copy and paste the output into the MCP installation window to complete setup.

Ready to supercharge your AI Agent with CIDX MCP's knowledge engine? This guide will walk you through the setup process.

That's it! Your CIDX CLI is now configured and ready to use with MCP integrations.