Skip to main content

Developer guide · Preview release

DreamozTech local MCP connection

Connect a desktop AI client to your web app using the existing DreamozTech API. No second database or new DreamozTech login is needed.

Download preview package

Not published to npm. This local connection is not a hosted OAuth MCP service and does not replace the planned native service.

Before you connect

  • Install Node.js 22 or later and a desktop client that supports local stdio MCP.
  • Pro, AI Pro and active trials can read app pages and product summaries. Only AI Pro and active trials can use DreamozTech AI tools.
  • Copy the app API key and secret from Dashboard → Build Web Apps → Web API. A key alone is not a bearer token. The local connection exchanges both credentials for a short-lived REST token.
  • For staging, use the preview origin and staging app credentials, not your production credentials.

Install the preview package

In the folder containing your download, run:

npm install --prefix ./dreamoztech-mcp ./dreamoztech-mcp-0.1.0.tgz

Use the full path to the installed file in your client configuration. On Windows, use forward slashes or escaped backslashes.

Choose your client

Claude Desktop

Open Settings → Developer → Edit Config. Merge the DreamozTech entry into your existing mcpServers configuration without removing other connections.

Fill in the absolute installed path, app key and secret locally, then restart Claude Desktop. Open its tools list and check that DreamozTech appears.

{
  "mcpServers": {
    "dreamoztech": {
      "command": "node",
      "args": [
        "/ABSOLUTE/PATH/dreamoztech-mcp/node_modules/@dreamoztech/mcp-server/src/cli.mjs"
      ],
      "env": {
        "DREAMOZTECH_BASE_URL": "https://dreamoztech.com",
        "DREAMOZTECH_API_KEY": "YOUR_APP_API_KEY",
        "DREAMOZTECH_API_SECRET": "YOUR_APP_API_SECRET",
        "DREAMOZTECH_ALLOW_DRAFT_WRITES": "false"
      }
    }
  }
}

Available tools and safe draft saving

list_pages, list_products and get_page read the connected app. get_ai_credits and ai_builder_chat require AI Pro or an active trial. Ask “List the pages in my connected app” to check the connection without spending an AI credit.

AI chat spends one shared dashboard/API credit and returns a proposal, not a saved page. Draft writes are disabled by default. To enable them, set DREAMOZTECH_ALLOW_DRAFT_WRITES to true locally and restart the connection.

After you approve a proposal, ai_builder_apply saves it as hidden drafts. Proposals expire after 30 minutes and belong to the same running connection. Review drafts in the dashboard before publishing. After a save timeout, check the dashboard before generating another proposal.

No customer, order, payment, refund or contact-message tools are exposed. General page creation and product updates are not part of the current REST API and are not invented by this connection.

Credentials, privacy and troubleshooting

Keep the configuration private and out of source control. Never paste credentials into AI chats. Your desktop client can send tool results, including draft content, to its AI provider; connect only if you accept that provider's data handling.

Each local entry uses one app's credentials. Use separate entries for separate stores. For a rejected token or secret, check your saved credentials; for a plan error, check your subscription. Regenerating the app secret revokes its existing REST tokens and stops future exchanges using the old secret. This revokes all integrations using that app secret, not one individual desktop connection.

The native OAuth MCP stages, connection management and granular server scopes remain separate future work.

Open your web apps