MCP
Use WAMA with AI (MCP)
WAMA can talk to popular AI tools through MCP (Model Context Protocol). After a short setup, you can ask the assistant about products, stock, and sales for one point of sale — the one you choose when you connect.
Server address (same for every tool):
Tip
You need a WAMA account. Prefer read only access unless the assistant must change stock or create sales.
Two ways to connect
| Method | Best when |
|---|---|
| Sign in with WAMA (recommended) | Your AI tool opens a browser and asks you to log in |
| Paste an API key | The tool only asks for a key, or sign-in is not available |
Sign in with WAMA
- Add the server address above in your AI tool.
- When asked for a client id, enter:
wama-mcp - Complete login in the browser, pick a point of sale, and choose read or read & write.
- Return to the AI tool — you are connected.
You can revoke access later in the web app: Settings → Integrations.
Paste an API key
- In WAMA web: Settings → Integrations → Create API key.
- Choose the point of sale and scope, then copy the key (shown only once).
- In the AI tool, add the same server address and put the key in the Authorization header as:
More detail: Integrations and the API guide.
Cursor
- Open Cursor Settings → MCP (or edit your MCP config file).
- Add a server named
wamawith URLhttps://mcp.wama.cloud/mcp. - Prefer sign-in: set client id
wama-mcpand scoperead(orread_writeif needed). - Approve the browser login, then try a simple question like “List a few products”.
Example config (sign-in):
Paste-key alternative: use the same URL and an Authorization header with Bearer wama_….
Claude Code
In a terminal:
Then run claude mcp login wama (or use /mcp in Claude Code) and finish the browser login.
Claude.ai
- Open Claude.ai settings for connectors / custom MCP.
- Add server URL
https://mcp.wama.cloud/mcp. - If asked for a client id, use
wama-mcp. - Complete the WAMA browser login and consent.
ChatGPT
- Turn on Developer mode (or custom MCP / connectors, depending on your ChatGPT plan).
- Add a custom MCP server with URL
https://mcp.wama.cloud/mcp. - Prefer client id
wama-mcp(no secret) when the UI allows it. - If ChatGPT only offers automatic client registration and it fails, use paste an API key instead.
VS Code / GitHub Copilot
- Open MCP / Copilot MCP settings (JSON).
- Add an HTTP server pointing to
https://mcp.wama.cloud/mcpwith OAuth client idwama-mcp. - Complete the browser login when prompted.
Example:
OpenAI Codex CLI
Add an HTTP MCP server with URL https://mcp.wama.cloud/mcp and OAuth client id wama-mcp. Follow the current Codex docs for the exact config file. Complete browser login when asked.
Windsurf
Add a remote MCP server https://mcp.wama.cloud/mcp with client id wama-mcp, then finish the browser login.
Other AI tools
If your tool supports remote MCP over HTTPS:
- Use URL
https://mcp.wama.cloud/mcp. - Client id
wama-mcp(no secret) when using sign-in. - Or paste an API key as
Authorization: Bearer wama_….
Desktop apps that open a local callback URL (http://localhost… or http://127.0.0.1…) are supported automatically.
What you can ask
With a connected assistant (examples):
- “Search products containing …”
- “What is the stock for product …?”
- “Give me a short sales summary for this week”
Write actions (adjust stock, create or complete a sale) need a read & write key or consent scope. Prefer read until you need those.
Safety tips
- One connection = one point of sale. Create another key or reconnect if you need a different warehouse/store.
- Treat API keys like passwords. Do not share them in chat, email, or public tickets.
- Revoke unused keys under Settings → Integrations.
- For developers building on the REST API (not MCP), see the API guide.