From 1e65b0db14ea03b9a5c69805abdc449483c13f2d Mon Sep 17 00:00:00 2001 From: nmolchanov Date: Sat, 30 May 2026 00:29:24 +0500 Subject: [PATCH] chore: add MCP Registry server.json for com.greenapi/whatsapp Publishes metadata for the public remote MCP server at mcp.greenapi.com to the official MCP Registry. Uses DNS-based authentication via the greenapi.com domain. Declares both streamable-http and sse transports with X-Instance-Id/X-Api-Token proxy auth headers. Co-Authored-By: Claude Opus 4.7 (1M context) --- .gitignore | 4 ++++ server.json | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 server.json 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 + } + ] + } + ] +}