# Rede — how to use (mcp.ai)

Sales, receivables and statements for your Rede (card machine) account via session capture, with your authorization. You provide your Rede portal email and password and the platform logs into your account to read your own data, on the same area you use in the portal. Read-only: sales and transactions by period, receivables schedule and financial statement. Pairs with the Banco MCP to reconcile card machine and bank.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_rede?ms=1782685740000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `rede_list`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/rede`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/rede/_endpoints`

## Example prompts
- "My Rede sales from the last 7 days"
- "What's my receivables schedule on Rede?"
- "Show my Rede account statement this month"

## More
- Page: https://mcp.ai/rede
- Agent spec (llms.txt): https://mcp.ai/rede/llms.txt
- Postman collection: https://mcp.ai/rede/postman.json
