Connect to Claude Code
Register the dibales.ai MCP server in Claude Code with one command, then sign in and allow access in your browser.
This guide registers dibales.ai in Claude Code, the Claude app that runs in your computer's terminal. You only do it once. The example uses the dibales.ai account Rina Wulandari with the agent Kopi Senja.
This guide is for the new dibales.ai dashboard. What MCP is and what it can do is explained in MCP.
Before you start
- A dibales.ai account with an agent on an active Plus or Pro plan.
- Claude Code installed, so you can start it in the terminal with the
claudecommand. - A browser on the same computer to sign in to dibales.ai.
💡 Claude Code can upload photos or videos from your computer straight into a Post Scheduler post, plus images for automation messages. Claude and ChatGPT can't do these uploads yet.
1. Open Integrations
Open the dibales.ai dashboard. On a phone, open the menu first with the ☰ icon at the top right.

- In the sidebar, click Integrations.
2. Open the MCP page

- In the AI apps section, click MCP. The line at the bottom shows how many apps are connected, such as No apps connected yet.
3. Copy the Claude Code command

- Click the Claude Code tab. A short version of the steps appears under the tabs.
- In the command box (step 1 on that page), click Copy. The MCP server URL is already part of the command, so you don't need to copy it separately.
4. Run the command in your terminal
Open a terminal, paste the command, then press Enter:
claude mcp add --transport http dibales-ai https://api.app.dibales.ai/mcp
Claude Code registers a server named dibales-ai.
💡 By default, this command only applies to the folder you run it in. To use dibales.ai in every folder, run the version with --scope user:
claude mcp add --transport http --scope user dibales-ai https://api.app.dibales.ai/mcp
5. Start authentication from Claude Code
- In the same folder, run
claude. - Type
/mcp, then press Enter. - Choose dibales-ai, then choose Authenticate.
Your browser opens the dibales.ai page.
6. Sign in and allow access
- If you're not signed in, sign in to your dibales.ai account first, as in Sign Up & Log In.
- The page Connect Claude Code to dibales.ai appears, with the App on this computer label. That label is normal for apps that run on your own computer. The app name may include the server name, such as Claude Code (dibales-ai).

- Signed in as: make sure this is the right dibales.ai account. If it isn't, click Switch account and sign in with the right one.
- Agents it can access: the agents Claude Code can manage. Agents labeled Subscription inactive still show up, but can't be managed until the plan is renewed. Above it, What Claude Code can do sums up the access being requested.
- Click Allow. Go back to the terminal: Claude Code is now connected to dibales.ai.
If you change your mind, click Deny. Claude Code gets no access, and you can repeat step 5 at any time.
7. Check the result
Go back to the MCP page in dibales.ai and reload it.

- Claude Code (or the same name as on the consent page) appears under Connected apps with App on this computer below it. Connected since shows when you chose Allow, and Last used still says Never.
Then test it from Claude Code:
- Type: Show my dibales.ai agents.
- If Claude Code asks for permission to use a tool from dibales-ai, allow it.
- If it works, Claude Code shows your agents, their plans, and their connected accounts. Last used in dibales.ai also changes from Never to the last time Claude Code accessed your account.
Troubleshooting
| Problem | Fix |
|---|---|
command not found: claude |
Claude Code isn't installed or isn't on your terminal's PATH. Install Claude Code first, then open a new terminal. |
dibales-ai isn't in the /mcp list |
The command in step 4 ran in a different folder. Run claude from that same folder, or repeat step 4 with --scope user. |
| The browser doesn't open after Authenticate | Claude Code usually shows a sign-in link. Copy it and open it in a browser on the same computer. |
| This request has expired | The consent page is valid for 10 minutes and works only once. Repeat step 5. |
| Sign-in didn't carry over | Your sign-in couldn't be read after you were sent back. Close that page, then repeat step 5. |
| Couldn't send your choice. Try again. | Click Allow once more. If it still fails, repeat step 5. |
| Claude Code replies Langganan agent ini tidak aktif. ("This agent's subscription is inactive.") | That agent's plan has ended. Renew it in Billing. |
Next steps
Try your first post or automation by chatting in Manage Through Chat.