diff --git a/.gitignore b/.gitignore index 932aec5..a4ebf5d 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,10 @@ test-all-methods.py config.yaml !config/config.example.yaml +# MCP Registry DNS-auth private key +key.pem +*.pem + # IDE .idea/ .vscode/ diff --git a/server.json b/server.json new file mode 100644 index 0000000..023eef3 --- /dev/null +++ b/server.json @@ -0,0 +1,49 @@ +{ + "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", + "name": "com.greenapi/whatsapp", + "title": "Green API WhatsApp", + "description": "MCP gateway for WhatsApp via Green API — send/receive messages, manage contacts, groups and instances.", + "version": "0.1.2", + "repository": { + "url": "https://github.com/green-api/green-api-mcp-gateway", + "source": "github" + }, + "remotes": [ + { + "type": "streamable-http", + "url": "https://mcp.greenapi.com/mcp", + "headers": [ + { + "name": "X-Instance-Id", + "description": "Green API instance ID", + "isRequired": true, + "isSecret": true + }, + { + "name": "X-Api-Token", + "description": "Green API instance token", + "isRequired": true, + "isSecret": true + } + ] + }, + { + "type": "sse", + "url": "https://mcp.greenapi.com/sse", + "headers": [ + { + "name": "X-Instance-Id", + "description": "Green API instance ID", + "isRequired": true, + "isSecret": true + }, + { + "name": "X-Api-Token", + "description": "Green API instance token", + "isRequired": true, + "isSecret": true + } + ] + } + ] +}