Agent guide
Add Comments with Cursor
Use Cursor to wire the package, the session, and the token route. Read AGENTS.md before inventing tools. Call list_comment_capabilities first.
Connect MCP
- Open Comments → Keys and use Add to Cursor (OAuth).
- Sign in and allow workspace access. Scope is
comments:mcp. - The server id is
bootstrapware-commentsand the URL ishttps://comments.bootstrapware.co/mcp.
{
"mcpServers": {
"bootstrapware-comments": {
"type": "http",
"url": "https://comments.bootstrapware.co/mcp"
}
}
}That JSON is what the keys page installs. The marketplace plugin repository does not list bootstrapware-comments yet. Do not look for Comments tools on the Importer, Feedback, Chat, or Onboard servers. A test secret in Authorization is a fallback. Live and secret keys stay on the dashboard.
Tool order
list_comment_capabilitiescreate_comment_appwith a name.nextStepssay to update the draft, publish, ensure the test key, then fetch the snippet.update_comment_draftwithallowedOriginsfor localhost and production.nameis optional. Do not send a comment body.publish_comment_app. ItsnextStepsnameensure_comment_test_publishableandget_comment_install_snippet.ensure_comment_test_publishable. PasteenvLineinto.env.local.get_comment_install_snippet. TheappIdis real. The component usesuser, notviewerId.
Then add the server token route from the Next.js guide and pass the real session user. Do not invent user_ada in production. That id is the example persona in examples/comments-nextjs.
Related: AGENTS.md · API overview · API keys