BlackOps MCP for Claude CoWork

Connect Claude CoWork to BlackOps with MCP so Claude can manage your posts, tweets, notes, and account context directly in chat.

Configuration

Add this to your Claude MCP config:

{
  "mcpServers": {
    "blackops": {
      "command": "npx",
      "args": ["-y", "@blackopscenter/mcp-server@latest"],
      "env": {
        "BLACKOPS_API_KEY": "YOUR_BLACKOPS_API_KEY"
      }
    }
  }
}

Environment Variables

  • BLACKOPS_API_KEY (required): Your BlackOps bearer token
  • BLACKOPS_API_BASE (optional): Override API base URL. Defaults to https://blackopscenter.com.

Quick Validation

  1. Restart Claude CoWork fully after saving config.
  2. Ask: List all blackops MCP tools exactly as registered.
  3. Ask: Run mcp__blackops__get_me and return raw JSON.
  4. Ask: Run mcp__blackops__get_posts with {"domain":"yourdomain.com","limit":5} and return id,title,status only.

Operating Guidance

  • Resolve account and site context first (get_me, get_x_accounts), then create/update/publish.
  • Always send explicit domain for site-scoped operations.
  • Before generating copy, fetch context tools first (get_brand_voice, get_ai_context) so output matches the site voice.

Troubleshooting

Server is loaded but calls fail with 404

Run get_me and verify your target domain is in accessible_sites. Then retry with an explicit domain.

403 on publish

Check that site_id and x_account_id belong to the same site, and verify provider-side posting restrictions.

Tool startup parse errors

MCP requires JSON-RPC on stdout only. Any logs should go to stderr.

Related Docs

Claude CoWork MCP - BlackOps Center Developer Docs