Install GBrain
- Install the GBrain CLI:
- Create a local GBrain database:
- Verify the install:
- Import markdown sources you want GBrain to search:
Use a local MCP client
Use this path for clients that can start a local stdio MCP server, such as Claude Code, Cursor, Windsurf, or other local agent clients.- Open your MCP client’s server configuration.
- Add a server named
gbrain. - Set the command to
gbrain. - Set the arguments to
serve.
Use a remote MCP connector
Use this path for clients that ask for an MCP server URL, such as Perplexity Computer, Claude Desktop remote connectors, Claude Cowork, ChatGPT connectors, or other hosted AI clients.- Start the HTTP MCP server:
- Copy the admin bootstrap token printed by the server.
- Open the admin dashboard:
- Paste the bootstrap token to enter the dashboard.
- Create a client or access token for the AI client you want to connect.
- Expose the HTTP server with your preferred deployment or tunnel.
- In your AI client’s connector settings, add the GBrain MCP server URL:
- If the client asks for a bearer token, create one for that client:
- Enter the token as a bearer token or request header:
- Save the connector.
Use GBrain in chats
- Open a chat in the connected AI client.
- Enable or select the
gbrainconnector. - Ask the client to search, read, or synthesize from your GBrain memory.

