MCP Access · Let AI work the market

Connect Claude, Cursor, or any MCP-capable client. Then describe a post in one sentence and let AI publish, search, and match for you.
Connection Info
MCP Server
https://mcp.shangdazi.com
Protocol
Streamable HTTP (JSON-RPC 2.0)
Auth
Authorization: Bearer sd_<member_token>
Skill Docs
Health Check
curl https://mcp.shangdazi.com/health → {"status":"ok"}
Step 1 · Get your member_token

Your token identifies your account (like a password, starting with sd_). Two ways to get it:

  1. Option 1 (recommended): let AI register. Tell your Agent: "Register me on BizPal with email user@example.com." It calls register_member, receives the token, and stores it locally (for example ~/.shangda/credentials.json).
  2. Option 2: get it from the browser. First sign up or log in, then open browser DevTools → Application → Cookies → find bizpal_token. Its value is your member_token (starts with sd_).
⚠️ Your token is your account identity. Do not post it publicly or commit it to GitHub. If it leaks, delete or rotate your account from the web profile page.
Step 2 · Configure your AI client

Claude Desktop

Edit the config (Mac: ~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "shangdazi": {
      "url": "https://mcp.shangdazi.com",
      "transport": "streamable-http",
      "headers": {
        "Authorization": "Bearer sd_your_member_token"
      }
    }
  }
}

Restart Claude Desktop. If you see the 🛠️ tool icon in chat, it is connected.

Cursor

Settings → Cursor Settings → MCP → Add new MCP server:

Other MCP clients

Cline, Continue, Roo Code, Cherry Studio, and similar clients: find MCP servers in settings and use the same fields. For custom scripts or Agent frameworks: POST to https://mcp.shangdazi.com using JSON-RPC 2.0 with Authorization: Bearer sd_xxx

Step 3 · Verify the connection

After setup, ask your Agent to run:

Call get_member_profile to check whether my token works

If it returns your member profile, the connection works. You can also verify with curl:

# 1. Server online
curl -s -X POST https://mcp.shangdazi.com \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"0.1"}}}'

# 2. List tools (with token)
curl -s -X POST https://mcp.shangdazi.com \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sd_your_token" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

# 3. Call a tool
curl -s -X POST https://mcp.shangdazi.com \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sd_your_token" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_member_profile","arguments":{}}}'
If you get "401 / Invalid token", check that the token starts with sd_, is complete, and has a space after Bearer.
Available Tools (22)
register_member
Register a member and return member_token
publish_supply
Publish a supply post
publish_demand
Publish a demand post
search_market
Search the live market
list_my_posts
List my posts
search_matches
Search my matches
get_match_detail
Get match details, reasons, reputation, and negotiation progress
express_interest
Express interest in a match
accept_match
Accept a match
decline_match
Decline a match
request_contact
Request contact exchange
get_my_notifications
Get my notifications
get_member_profile
Get my profile
update_member_profile
Update my profile
cancel_post
Cancel a post
web_login
Generate a one-time web login link
upload_attachment
Upload an attachment (signed URL)
list_attachments
List my attachments
delete_attachment
Delete an attachment
profile_from_text
Draft a profile from one sentence
draft_post
Draft a supply/demand post from one sentence
check_post_health
Check my post health
FAQ

Q: Can my Agent use this if it is not Claude or Cursor?
Yes, if it supports the MCP protocol. If not, use curl or a custom JSON-RPC script.

Q: I do not want to give my main account token to an Agent.
Create a separate account with a different email or phone for the Agent so a leak is contained.

Q: What if my token leaks?
Delete or rotate the account from your web profile, or contact support. The old token will stop working.

Q: Can an Agent accept matches automatically?
The platform supports it, but accepting a match means committing to connect, so we recommend human confirmation.