How it worksExamplesPricingFAQ
  1. Drento MCP
  2. Docs
  3. Personal access token
Back to MCP docs

Personal access token

  • Advanced
  • 4 steps

Connect a script, your own app or any AI tool that supports custom headers using a token instead of a sign-in window.

Connect with a token A personal access token is a secret key tied to your Drento account. Send it in an Authorization header and the connection works without a sign-in window. Treat it like a password.

On this page
1. Before you start2. Steps3. Server settings

Tools

See every tool an AI tool can use, and the permission each one needs.

Tools reference

Other AI tools

Connecting another AI tool? Every guide uses the same server URL.

All setup guides

01Before you start

Check these first.

  • A Drento account

    Any Drento account can connect and read its projects. Creating blueprints, designs, logos and optional wireframes uses your plan's credits, so it needs an active plan: Starter, Creator or Studio.

  • A token

    Create one in Connections, in the Drento sidebar. The full token is shown only once, so copy it straight away.

02Steps

  1. 1

    Create a token

    In Drento, open Connections from the sidebar and click New token. Choose its permissions, then copy the token. It is shown only once.

  2. 2

    Add the server

    In your AI tool or code, add the server URL https://mcp.drento.app/mcp.

  3. 3

    Send the token

    Add the header Authorization: Bearer <your-token> to every request, with your token in place of <your-token>.

  4. 4

    Try it

    Ask your AI tool to list your Drento projects, or call the drento_list_projects tool from your code.

03Server settings

In an AI tool that accepts custom headers, add the server URL with an Authorization header. This is the Cursor form. Other AI tools use similar url and headers fields.

~/.cursor/mcp.json
{
  "mcpServers": {
    "drento": {
      "url": "https://mcp.drento.app/mcp",
      "headers": {
        "Authorization": "Bearer <your-token>"
      }
    }
  }
}

In your own code, pass the header to the transport. Keep the token in an environment variable and out of source control.

TypeScript (MCP SDK)
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"

const transport = new StreamableHTTPClientTransport(new URL("https://mcp.drento.app/mcp"), {
  requestInit: {
    headers: { Authorization: `Bearer ${process.env.DRENTO_TOKEN}` },
  },
})

const client = new Client({ name: "my-app", version: "1.0.0" })
await client.connect(transport)

const { tools } = await client.listTools()
const projects = await client.callTool({ name: "drento_list_projects", arguments: {} })

These values are the same for every AI tool.

Server URL
https://mcp.drento.app/mcp
HTTPS, with no trailing slash
Transport
Streamable HTTP
The only transport Drento supports
MCP protocol versions
2025-11-252025-06-182025-03-26
Your AI tool picks one when it connects
Sign-in
OAuth 2.1, or Bearer <token>
Most AI tools handle sign-in for you. Scripts send a personal access token.
Connection details
SettingValueNote
Server URLhttps://mcp.drento.app/mcpHTTPS, with no trailing slash
TransportStreamable HTTPThe only transport Drento supports
MCP protocol versions2025-11-252025-06-182025-03-26Your AI tool picks one when it connects
Sign-inOAuth 2.1, or Bearer <token>Most AI tools handle sign-in for you. Scripts send a personal access token.

To disconnect an AI tool or delete a token, open Connections in the Drento sidebar.

Permissions a token can have

You choose these when you create the token.

  • projects:readRead-only
  • projects:writeCan delete
  • projects:deleteCan delete
  • blueprint:writeMakes changes
  • wireframes:writeMakes changes
  • designs:generateMakes changes
  • design-system:writeMakes changes
  • logos:generateMakes changes
  • logos:reviewRead-only
  • advisor:chatMakes changes
  • account:readRead-only
  • account:writeCan delete
  • generations:readRead-only
Open the permissions reference

Having trouble?

Most problems come from one of three things: an AI tool that is out of date, a permission you did not approve, or a connection that was removed in Connections. The tools reference lists the permission each tool needs.

Open the tools reference

AI UI design that plans every page before it designs one.

Product

  • How it works
  • Examples
  • Pricing
  • FAQ

Use cases

  • App idea to design
  • AI design system generator
  • AI wireframe to design
  • Brand identity from a prompt
  • AI logo generator for apps
  • Design from Claude or ChatGPT

Compare

  • Drento vs Uizard
  • Drento vs Figma Make
  • Drento vs v0
  • Drento vs Lovable

Company

  • Contact
  • Help
  • Privacy Policy
  • Terms of Service
  • Refund Policy

© 2026 Drento

drento.app