Databao docs

MCP server

Connect to the Databao MCP server from Cursor or another AI tool

You can use the Databao context engine and agent through an MCP server.

At the moment, running the Databao MCP server directly from the command line isn't supported.

Instead, you can connect to the MCP server from Cursor, Claude desktop, or another AI agent.

Cursor

  1. In Cursor, open SettingsCursor settings and select Tools & MCP.

  2. Click Add custom MCP.

  3. In the mcp.json file, add the Databao MCP details as follows:

    mcp.json
    {
      "mcpServers": {
        "databao": {
          "command": "databao",
          "args": ["--project-dir", "<project-path>", "mcp"]
        }
      }
    }
  4. Save the changes and restart Cursor.

  5. In Cursor, open a new chat with the Cursor AI assistant.

  6. In the chat window, click @ and select mcp.json.

  7. Ask a question related to the project context, for example:

    Where is order status derived in this project?
    Show me where customer lifetime value is computed.

Claude desktop

  1. In Claude desktop, click on your name at the bottom left and select Settings.

  2. Switch to Developer.

  3. Click Edit config.

    Claude will open a new Finder window with the config file.

  4. Open the config file and add the Databao MCP details as follows. Save the file.

    {
      "mcpServers": {
        "databao": {
          "command": "databao",
          "args": ["--project-dir", "<project-path>", "mcp"]
        }
      }
    }
  5. In Claude, open a new chat.

  6. Click and enable the toggle next to all-results-tool-server.

  7. Ask a question related to the project context, for example:

    Where is order status derived in this project?
    Show me where customer lifetime value is computed.

    Claude will use the context built by Databao to answer your question.

On this page