Connect with MCP
Connect your agent to artifact.cafe without installing the CLI.
MCP lets your agent publish artifacts, read feedback, and use other artifact.cafe tools without a shell. Connect to https://artifact.cafe/mcp with Streamable HTTP. You need an artifact.cafe account.
Use the CLI to publish a local folder with images or other binary files, or to wait for new comments. Use MCP to publish text files from a chat or to work with artifacts from your agent.
ChatGPT
Use ChatGPT on the web. Your ChatGPT plan and workspace permissions control whether you can add a custom MCP server and use write tools. Some plans let you use only read tools from a custom MCP server.
- Open Plugins in ChatGPT.
- Select +, then select Add custom MCP server.
- Name the server
artifact.cafeand enterhttps://artifact.cafe/mcpunder Connection. - Choose OAuth for authentication.
- Review and accept the risk warning.
- Select Create as a plugin.
- When ChatGPT asks you to connect, sign in to artifact.cafe.
- Review the permissions and workspaces on the consent page before you approve access.
- Install the plugin if ChatGPT offers that option.
- In a new chat, type
@and select the plugin.
If ChatGPT shows Apps instead of Plugins, follow the legacy setup in OpenAI's connection guide. If you cannot add a server, ask your ChatGPT workspace admin to check your permissions.
Claude
On an individual Pro or Max plan, add the connector from Claude on the web:
- In Claude on the web, open Customize > Connectors.
- Select + Add > Add custom connector.
- Name it
artifact.cafeand enterhttps://artifact.cafe/mcp. - Select Continue and review the authentication settings.
- Select Continue, then choose Sign in now under Authentication.
- Under OAuth client, choose Claude's published identity.
- Select Add and sign in to artifact.cafe when prompted.
- Review the permissions and workspaces before you approve access.
- In your chat, open + > Connectors and enable
artifact.cafe.
On a Team or Enterprise plan, ask your organization owner to add the connector. Then select Connect next to it in Customize > Connectors. See Claude's connector guide for organization setup.
Use an API key
- Sign in to artifact.cafe.
- Open Settings > API keys in the dashboard.
- Create an account API key that starts with
ack_. - Set
ARTIFACT_CAFE_API_KEYin the environment that starts Claude Code, Codex, or Cursor.
Keep the key in the environment. Do not paste it into a chat or store it in a repository. An API key has no workspace limit.
Claude Code
Add artifact-cafe to mcpServers in .mcp.json in your project. If the file does not exist, create it with this content:
{
"mcpServers": {
"artifact-cafe": {
"type": "http",
"url": "https://artifact.cafe/mcp",
"headers": {
"Authorization": "Bearer ${ARTIFACT_CAFE_API_KEY}"
}
}
}
}Start Claude Code in that project. Open /mcp to check the connection.
Codex
Register the server from your terminal:
codex mcp add artifact-cafe --url https://artifact.cafe/mcp --bearer-token-env-var ARTIFACT_CAFE_API_KEYStart Codex from the environment where you set the key.
Cursor
Use an account API key for Cursor. Add artifact-cafe to mcpServers in ~/.cursor/mcp.json. If the file does not exist, create it with this content:
{
"mcpServers": {
"artifact-cafe": {
"url": "https://artifact.cafe/mcp",
"headers": {
"Authorization": "Bearer ${env:ARTIFACT_CAFE_API_KEY}"
}
}
}
}Start Cursor from the environment where you set the key.
Try a prompt
Start with a read to check the connection. Paste one prompt into your agent:
Use artifact.cafe to list the workspaces and folders you can access.
List the open comment threads on artifacts I manage. Give me the artifact title and version for each thread.
Get the artifact.cafe design guide. Publish a sample report with a heading and one paragraph in my Personal workspace. Give me the review link and tell me what the check found.
Propose setting a password on the sample report. Give me the approval link so I can enter the password there.
See the MCP tool reference for arguments, results, and limits.
Disconnect
- OAuth: In artifact.cafe, open Settings > Security > MCP and select Disconnect next to the app. This stops new calls but does not cancel a call in progress.
- API key: In artifact.cafe, open Settings > API keys and revoke the key. Remove the server from your agent settings if you no longer need it. Revoking a key stops each client that uses it.
Troubleshoot
| What you see | What to do |
|---|---|
| ChatGPT says No tools available for this app. | If the app already appears in Settings > Security > MCP, disconnect it there. Connect the app and finish the artifact.cafe consent step. Select the plugin in your chat before you retry. |
| In Claude, sign-in to artifact.cafe does not start, or Claude reports a registration error. | Edit the connector. Under OAuth client, select Claude's published identity. The server does not accept automatic registration. |
The tool says unauthorized. | For OAuth, disconnect the app in Settings > Security > MCP if it appears there. Then connect it again. For an API key, check for ack_ at the start of the key. Check that your agent starts with ARTIFACT_CAFE_API_KEY set. |
The tool says forbidden. | Check your MCP permissions. For a write, check that you manage the artifact. |
The tool says workspace_not_selected, or a workspace is missing. | Check the app's workspace selection. To add a workspace, disconnect the app in Settings > Security > MCP. Then connect it again. |
| Your agent cannot find an artifact. | Open it in the browser with the same account. |
| A publish times out before you get a link. | Ask your agent to retry with the same arguments. See publish retries. |
The tool says rate_limited. | Wait for the number of seconds in retryAfter before you retry. |