Skip to main content
Glama

Titanmind WhatsApp MCP

by TitanmindAGI
MIT License
15
  • Apple
  • Linux
mcp.py670 B
from titan_mind.utils.app_specific.utils import to_run_mcp_in_server_mode_or_std_io from titan_mind.utils.general.mcp import get_the_headers_from_the_current_mcp_request import os def get_the_api_key() -> str: if to_run_mcp_in_server_mode_or_std_io(): api_key = get_the_headers_from_the_current_mcp_request().get("api-key") else: api_key = os.environ.get("api-key") return api_key def get_the_business_code() -> str: if to_run_mcp_in_server_mode_or_std_io(): business_code = get_the_headers_from_the_current_mcp_request().get("bus-code") else: business_code = os.environ.get("bus-code") return business_code

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TitanmindAGI/titanmind-whatsapp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server