跳到主要內容

Claude

Preconditions

Preconditions

  1. Open Claude Settings > Developer
  2. There should be no MCP configuration under normal circumstances.

image.png

Installation

Install the Blocklet MCP

  • Visit Dashboard => Integrations => MCP Blocklet => Claude

image.png

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

image.png

Confirm Installation

  1. Restart Claude
  2. Open Settings to view
  3. Verify that the Blocklet Server is displayed and its status is running.

image.png

Testing MCP

  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 their corresponding output.

image.png

Things to Note

  • The URL in the installation command points to the test environment.
  • Ensure Claude is restarted after installation for the configuration to take effect.