跳到主要內容

Cursor

Preconditions

Preconditions

  1. Open Cursor, go to Settings, then MCP.
  2. Under normal circumstances, there should be no MCP configuration.

image.png

Installation

Install the Blocklet Service

  • Visit Dashboard > Integrations > MCP Servers > Cursor.

image.png

  • Run the following installation command
javascript
npx @blocklet/install-mcp@latest i https://bbqavvuuki6llb76sxmf5ukteogoeyx42bwhzl46s7i.did.abtnet.io/.well-known/service/mcp --client cursor --streamableHTTP --oauth2Bearer blocklet-z4iFYFf85nNkXFKCJ3d7jKSCJm6WN983Rk5J72rjCasRX
  • Enter the server name as prompted

image.png

Confirm Installation

  1. Re-enable the Blocklet Service
  2. Verify that the Blocklet Server is displayed and its status is running

image.png

MCP Test

  1. MCP functionality can be tested through simple queries
  2. Example query: "View the current Blocklet's user count"
  3. Verify the presence of MCP call logs and output.

image.png

Important Considerations

  • The URL in the installation command points to the test environment.
  • Ensure the MCP Server refreshes after installation.