MCP Z-API
Servidor MCP remoto com 217 tools cobrindo a API da Z-API (WhatsApp), protegido por OAuth 2.1 com PKCE.
Endpoint MCP
https://SEU-DOMINIO.vercel.app/api/mcp
Transporte Streamable HTTP. O atalho /mcp aponta para o mesmo handler.
Conectar no Claude Code
claude mcp add --transport http zapi https://SEU-DOMINIO.vercel.app/api/mcp
O cliente descobre o servidor OAuth automaticamente via /.well-known/oauth-protected-resource, se registra sozinho (RFC 7591) e abre a tela de login. Autentique com OAUTH_LOGIN_USERNAME e OAUTH_LOGIN_PASSWORD.
Tools por area
| Area | Tools |
|---|---|
| canais | 23 |
| grupos | 22 |
| instancia | 20 |
| mensagens-interativas | 20 |
| mensagens | 19 |
| comunidades | 17 |
| perfil-business | 16 |
| catalogo-business | 15 |
| mobile-seguranca | 15 |
| webhooks | 14 |
| chats-contatos | 13 |
| parceiro | 9 |
| privacidade | 8 |
| status | 6 |
| Total | 217 |
Descoberta OAuth 2.1
/.well-known/oauth-protected-resource— RFC 9728/.well-known/oauth-authorization-server— RFC 8414/oauth/register— Dynamic Client Registration (RFC 7591)/oauth/authorize— PKCE S256 obrigatorio/oauth/token— authorization_code e refresh_token