Skip to content

Cursor affectUI Prompt/add_component

How to: Cursor affectUI add_component

client:Cursor transport:streamable-http prompt:add_component

Add affectUI to Cursor

  1. 01

    Open ~/.cursor/mcp.json and merge this in. Keep any servers already there.

{
  "mcpServers": {
    "affectui": {
      "url": "https://www.affectui.com/api/mcp"
    }
  }
}
  1. 02

    Save the file and restart Cursor.

  2. 03

    add_component is surfaced in the client's prompt or command menu. Unlike a tool, you invoke it deliberately — Cursor will not call it for you.

  3. 04

    If it does not appear, check that affectUI is connected and that you are looking at its prompts rather than its tools.

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Same prompt, other clients

Read from the server itself, by connecting to it and calling prompts/list on 5 November 2026. A listing does not declare its prompts, so asking is the only way to know them, and this is what the server actually offers rather than what its listing claims. Names only are stored; connect the server for each prompt's arguments.