JustAI MCP
The JustAI MCP server connects an AI assistant, such as Claude or Codex, to your JustAI workspace. MCP (Model Context Protocol) is the open standard that AI assistants use to work with other tools. After you connect, you can ask the assistant to plan and build journeys, write and review messages, size audiences, and report on results. The assistant signs in as you and works in one environment of your organization.
You can ask questions like these:
- “List my live journeys and summarize what each one does.”
- “Build a three-email onboarding journey from this brief, validate it, and show me the diagram.”
- “How many customers on the trial plan have no company name on their profile?”
- “Review the emails in my win-back journey against our brand guidelines.”
- “How did my onboarding journey perform over the last 30 days?”
Server address
Section titled “Server address”When your assistant asks for the server URL, enter this address:
https://platform.justwords.ai/mcpHow sign-in works
Section titled “How sign-in works”You sign in with your own JustAI login. You don’t need a JustAI API key, and you don’t need an OAuth client ID or secret, because your assistant registers itself with JustAI the first time it connects.
-
Your assistant opens a JustAI page in your browser. Sign in to JustAI if it asks you to.
-
On Authorize JustAI Platform, check the application name and the site that JustAI will send the access code to.
Continue only if you recognize both.
-
In Account, select your organization.
-
In Environment, select the environment the assistant should work in.
-
Select Authorize.
You return to your assistant, and it can use JustAI.
The connection works only in the account and environment you selected. To work in a different environment, disconnect JustAI in your assistant, connect again, and select the other environment. Changing the workspace’s languages needs an organization admin, and JustAI checks your role each time the assistant tries.
To remove the assistant’s access, disconnect or remove JustAI in your assistant’s connector settings.
Connect your assistant
Section titled “Connect your assistant”These steps add JustAI in Claude on the web. Connectors you add there are also available in Claude Desktop.
-
In Claude, open Customize > Connectors.
-
Select + Add, then Add custom connector.
-
Enter
JustAIas the name and the server address as the URL. Select Continue. -
Under Authentication, select Sign in now. Under OAuth client, select Register automatically. Leave Request headers empty.
-
Select Add, then sign in to JustAI.
On Team and Enterprise plans, an Owner adds the connector for the whole organization in Organization settings > Connectors. Members then find JustAI in Customize > Connectors and select Connect. On the Free plan, you can add one custom connector.
-
Add the server:
Terminal window claude mcp add --transport http justai-platform https://platform.justwords.ai/mcpTo use JustAI in every project, run this command instead:
Terminal window claude mcp add --transport http --scope user justai-platform https://platform.justwords.ai/mcp -
Start Claude Code and run
/mcp. -
Select justai-platform, then sign in to JustAI in your browser.
If you install the JustAI plugin, skip step 1. The plugin adds the server for you.
-
Add the server:
Terminal window codex mcp add justai-platform --url https://platform.justwords.ai/mcp -
Start the sign-in:
Terminal window codex mcp login justai-platform -
Sign in to JustAI in your browser.
Other assistants that support remote MCP servers with OAuth sign-in can connect to the same server address. When the assistant asks how to authenticate, choose OAuth. If it offers to register automatically, let it, and leave any client ID and client secret fields empty.
The JustAI plugin
Section titled “The JustAI plugin”The JustAI plugin adds this connection together with skills that guide the assistant through common work: campaign briefs, audience analysis, building journeys, content review, campaign reports, and competitive briefs.
To install the plugin in Claude Code, run these commands:
claude plugin marketplace add justwordsai/justaiclaude plugin install justai@justaiThen start Claude Code, run /mcp, select justai-platform, and sign in. In Codex, add the justwordsai/justai marketplace, install justai, and run codex mcp login justai-platform.
What the assistant can do
Section titled “What the assistant can do”The assistant chooses tools from what you ask. It reads and changes the same journeys, messages, and settings that you see in JustAI.
| Area | What the assistant can do |
|---|---|
| Journeys | List and read journeys. Create journeys, and change their steps, waits, exits, sender, and languages. Validate a journey, check its readiness, show its diagram, list its versions, set its key metric, and publish a reviewed draft of a live or paused journey. |
| Messages | Create, edit, and duplicate emails, SMS, push, and in-app messages, and create variants of them. Check an email’s HTML. Email you a proof of a message from a journey’s sending profile. |
| Email library | Work with layouts, saved blocks, images, tags, and folders. Import an HTML email written for Braze as a layout. |
| Translations | Read and edit a message’s translations, approve the languages you have signed off, and change the workspace’s languages. These tools work only when languages are turned on for your workspace. |
| Audiences | List profile attributes and the values seen for each, preview how many people match an audience, and save an audience as a segment. |
| Events | List your custom events and read the details of one event. |
| Analytics | Read a journey’s analytics and the workspace holdout results for your whole program. Answer questions with charts, and save charts to dashboards. Read and change the workspace holdout. |
| Sending profiles | List the sending profiles a journey can use, and show whether each one is ready to send. |
| Guidelines | Read and save your Brand & tone guidelines and Skills. |
Audience tools show attribute names, the values seen for each attribute, and how many people match. They don’t read individual customer profiles.
What stays with you
Section titled “What stays with you”- Turning journeys on, pausing them, and archiving them. The assistant has no tool for these. You do them in JustAI. The assistant always creates new journeys off.
- Publishing. When the assistant changes a live or paused journey, it changes the journey’s draft. The published version keeps running until someone publishes, apart from the changes listed below. When you ask the assistant to publish, JustAI instructs it to first show you how the draft differs from the published version and whether the journey is ready, then wait for you to confirm. JustAI refuses the publish if the draft changed after the assistant read it. A paused journey stays paused.
- Saving audiences. JustAI instructs the assistant to show you the audience count first and to save the segment only after you tell it to. If the count changes before the save, JustAI refuses the save so you can check the new count.
- Sending. The assistant doesn’t send journey messages to your customers. It can email a proof of a message to you, or to an address you name.
Some changes take effect in live journeys without a publish:
- Approving a translation lets that translation send in journeys that are already live.
- Editing an approved translation withdraws its approval. People in that language get the original message until someone approves the translation again.
- Changing the workspace’s languages, or how each person’s language is read, can change which language people in live journeys receive.
- Changing the workspace holdout changes which people receive every journey that takes part in the holdout.
- Setting a journey’s key metric changes what the journey’s analytics lead with right away. It doesn’t change what the journey sends.
Keep your assistant’s tool approvals on for changes to journeys, translations, and workspace settings, so that you confirm each change before it runs. Check your assistant’s settings to choose when it asks.
Example prompts
Section titled “Example prompts”Start with a request that has the assistant read your workspace, then build on what it finds.
Plan a campaign
Plan a win-back campaign for customers who have not logged in for 30 days. Ask me what you need before you build anything.
Size an audience
How many customers on the trial plan have no company name on their profile? Save that audience as “Incomplete trial profiles”.
Build a journey
Build the onboarding journey from this brief, validate it, and show me the diagram.
Review content
Review the emails in my onboarding journey against our brand guidelines. List each problem with the step it is in.
Check a draft before you publish
What changed in my upsell journey’s draft compared with what is live? Is it ready?
Report on results
How did my onboarding journey perform over the last 30 days? Add a chart of sends, opens, and clicks to a dashboard.
Send a proof
Send me a proof of the first email in my onboarding journey.
Troubleshooting
Section titled “Troubleshooting”| Issue | Fix |
|---|---|
| The assistant says JustAI’s tools aren’t available | Connect JustAI and sign in, as shown in Connect your assistant. In Claude, also check that JustAI is turned on for the conversation, from + > Connectors. In Claude Code, run /mcp. |
| JustAI shows “Unable to authorize JustAI Platform” | JustAI couldn’t read the sign-in request or verify your assistant. Start the connection again from your assistant. If the message stays, contact your JustAI team and include the text under the heading. |
| Account shows “No accounts found.” | Your JustAI login is not a member of an organization. Ask your organization’s JustAI admin to invite you. |
| Environment shows “Unable to load environments. Try again later.” | Start the connection again from your assistant. If the message stays, contact your JustAI team. |
| JustAI reports that you are not authorized | Your sign-in expired or was revoked, or you no longer have access to the environment you selected. Disconnect JustAI in your assistant, connect again, and sign in. |
| The assistant sees different journeys or data than you see in JustAI | The assistant works in the environment you selected when you signed in. Compare it with the environment shown under your name at the bottom of the left sidebar in JustAI. To change it, disconnect and connect again. |
| A journey doesn’t validate | Ask the assistant for a readiness check. It names the failing step and the reason. |
| A step type from your brief is missing | Ask the assistant which step types your workspace can build. Some depend on your JustAI plan and setup. |
| The assistant can’t change the workspace’s languages | Only a workspace admin can change them. Ask an admin to change them in Settings > Languages. |
| A change fails because someone else changed the journey | Ask the assistant to read the journey again and reapply your change. |
| The assistant won’t turn a journey on | This is by design. Review the readiness check and the diagram, then turn the journey on yourself in JustAI. |
