Claude Code / Cursor / MCP — Run campaigns: how to connect
Which AI do you use
What should it do
Claude Code / Cursor / MCP · 24haowan merchant console MCP (API token) Account needed
Paid merchants generate an API token in their account and plug it into their own AI or script
In the 24haowan console, go to Account → API Token and generate a token starting with sk-hw- (paid merchants)
Claude Code: run this, replacing the token with yours
claude mcp add --transport http 24haowan-merchant https://agent.24haowan.com/mcp \ --header "Authorization: Bearer sk-hw-…"In Cursor, add this to ~/.cursor/mcp.json (or the project's .cursor/mcp.json), with the same Authorization header Written from the vendor docs; not yet tested on a real client
{ "mcpServers": { "24haowan-merchant": { "url": "https://agent.24haowan.com/mcp", "headers": { "Authorization": "Bearer sk-hw-…" } } } }Once connected, say:
“List the campaigns I created this month — which ones are not published yet?”