# Setup

## Setup
**Claude Code / Cursor / Windsurf.** Add to your MCP client config (e.g., `.mcp.json`):

```json
{
  "mcpServers": {
    "scoreapi": {
      "command": "npx",
      "args": ["@crscreditapi/b2c-mcp-customer"],
      "env": {
        "SCOREAPI_PROD_BASE_URL": "https://efx-wgt.stitchcredit.com/api",
        "SCOREAPI_PROD_CUSTOMER_USERNAME": "you@example.com",
        "SCOREAPI_PROD_CUSTOMER_PASSWORD": "your-prod-password",
        "SCOREAPI_DEV_BASE_URL": "https://efx-dev.stitchcredit.com/api",
        "SCOREAPI_DEV_CUSTOMER_USERNAME": "you@example.com",
        "SCOREAPI_DEV_CUSTOMER_PASSWORD": "your-dev-password"
      }
    }
  }
}
```
After installing, verify:
- **Claude Code:** run `claude mcp list` — you should see `scoreapi - ✓ Connected`.
- **Claude Desktop / Cursor:** restart the app; the tools surface automatically when an AI session starts.

Version: v3

## Description:

  - `Setup` ()
    Claude Code / Cursor / Windsurf. Add to your MCP client config (e.g., .mcp.json): {
  "mcpServers": {
    "scoreapi": {
      "command": "npx",
      "args": ["@crscreditapi/b2c-mcp-customer"],
      "env": {
        "SCOREAPI_PROD_BASE_URL": "https://efx-wgt.stitchcredit.com/api",
        "SCOREAPI_PROD_CUSTOMER_USERNAME": "you@example.com",
        "SCOREAPI_PROD_CUSTOMER_PASSWORD": "your-prod-password",
        "SCOREAPI_DEV_BASE_URL": "https://efx-dev.stitchcredit.com/api",
        "SCOREAPI_DEV_CUSTOMER_USERNAME": "you@example.com",
        "SCOREAPI_DEV_CUSTOMER_PASSWORD": "your-dev-password"
      }
    }
  }
}
{
  "mcpServers": {
    "scoreapi": {
      "command": "npx",
      "args": ["@crscreditapi/b2c-mcp-customer"],
      "env": {
        "SCOREAPI_PROD_BASE_URL": "https://efx-wgt.stitchcredit.com/api",
        "SCOREAPI_PROD_CUSTOMER_USERNAME": "you@example.com",
        "SCOREAPI_PROD_CUSTOMER_PASSWORD": "your-prod-password",
        "SCOREAPI_DEV_BASE_URL": "https://efx-dev.stitchcredit.com/api",
        "SCOREAPI_DEV_CUSTOMER_USERNAME": "you@example.com",
        "SCOREAPI_DEV_CUSTOMER_PASSWORD": "your-dev-password"
      }
    }
  }
} After installing, verify: Claude Code: run claude mcp list — you should see scoreapi - ✓ Connected.Claude Desktop / Cursor: restart the app; the tools surface automatically when an AI session starts.

