git clone https://github.com/sinch/sinch-mcp-server.git
cd sinch-mcp-server/mcp
npm install
npm run build
<your_project_root>/packages/mcp/.env
and replace the values with your own credentials. If .env file is not available, create it:CONVERSATION_PROJECT_ID=YOUR_PROJECT_ID
CONVERSATION_KEY_ID=YOUR_ACCESS_KEY_ID
CONVERSATION_KEY_SECRET=YOUR_ACCESS_KEY_SECRET
CONVERSATION_REGION=YOUR_REGION // Optional, defaults to "us"
DEFAULT_SMS_ORIGINATOR=YOUR_SINCH_PHONE_NUMBER // Needed only if you want to send SMS messages: it is the number that will be used as the sender for SMS messages
GEOCODING_API_KEY=YOUR_GOOGLE_GEOCODING_API_KEY // Needed only if you want to send location messages: it converts an address to a lat/lon
# Verification tools related environment variables
VERIFICATION_APPLICATION_KEY=YOUR_APP_KEY
VERIFICATION_APPLICATION_SECRET=YOUR_APP_SECRET
# Voice tools related environment variables
VOICE_APPLICATION_KEY=YOUR_APP_KEY // Can be the same value as VERIFICATION_APPLICATION_KEY
VOICE_APPLICATION_SECRET=YOUR_APP_SECRET // Can be the same value as VERIFICATION_APPLICATION_SECRET
CALLING_LINE_IDENTIFICATION=YOUR_CALLING_NUMBER // Needed only to make calls: it is the number that will be displayed to the user when they receive a call
# Mailgun tools related environment variables
MAILGUN_DOMAIN=YOUR_MAILGUN_DOMAIN
MAILGUN_API_KEY=YOUR_MAILGUN_API_KEY
MAILGUN_SENDER_ADDRESS=YOUR_MAILGUN_SENDER_ADDRESS
cd sinch-mcp-server/mcp
npm run start
ngrok http 8000
{
"mcpServers": {
"sinch": {
"command": "npx",
"args": [
"-y", "supergateway", "--sse", "https://<guid>.ngrok-free.app
/sse"
]
}
}
}