Agents
Connect Cursor
Add the Artifact MCP server in Cursor settings, then save an always-on project rule.
- In Artifact, open Integrations, choose Cursor, and create a token.
- In Cursor, open Cursor Settings, then Tools & MCP, then New MCP Server. Cursor opens ~/.cursor/mcp.json.
- Add the artifact server. If the file already has other servers, add only the artifact entry inside mcpServers.
- From the project root, create .cursor/rules/artifact.mdc and paste the agent rule from Integrations. The rule should be set to always apply.
- Return to Tools & MCP. Artifact should be enabled and list its tools. Turn each Artifact tool on. Restart Cursor once if the server does not appear.
- Send the test prompt, then check Home.
~/.cursor/mcp.json
{
"mcpServers": {
"artifact": {
"type": "http",
"url": "https://app.artifactcomputing.com/mcp",
"headers": { "Authorization": "Bearer YOUR_ARTIFACT_TOKEN" }
}
}
}To disconnect Cursor, remove the artifact entry, delete the project rule, restart Cursor, and revoke the token in Artifact.