mcp

v0.1.4
@slng-ai/mcp Checked 8 hours ago Published 1 month ago

SLNG MCP server: create SLNG managed voice agents, attach phone numbers and place outbound calls from AI assistants.

@slng-ai/mcp is the SLNG Model Context Protocol server. It lets AI assistants (Claude, Claude Code, ChatGPT, Codex, Cursor) and agent frameworks create SLNG managed voice agents in a region you choose, attach an outbound phone number from your SLNG dashboard, and place calls. Every deploy and every call shows you a plan or a preview first and waits for your yes. Each release of this package pins one Unmute version (versions.json in the package, and CHANGELOG.md). Pin the package version in your client too, so updates happen on purpose.

Summary extracted from the README.

SLNG MCP server

@slng-ai/mcp is the SLNG Model Context Protocol server. It lets AI assistants (Claude, Claude Code, ChatGPT, Codex, Cursor) and agent frameworks create SLNG managed voice agents in a region you choose, attach an outbound phone number from your SLNG dashboard, and place calls. Every deploy and every call shows you a plan or a preview first and waits for your yes.

You can use it two ways:

  • Hosted, nothing to install: https://mcp.slng.ai/mcp. Sign in through its connect page with your API key, or send the key as a header. Setup for each client is in the SLNG docs.
  • On your own machine, with this package: the same server over stdio, started with npx. Use it when your client runs local MCP servers and you want agent builds to happen on your machine.

Run it locally

What you need

  • Node.js 22 or later (24 recommended).
  • The Unmute CLI, version 0.7.1 exactly, on your PATH. The server builds agents with it and refuses any other version. Download the archive for your platform from the v0.7.1 release (its checksums file is next to it), or with Go 1.26 or later run go install github.com/slng-ai/unmute@v0.7.1. Check with unmute --version.
  • uv on your PATH. Unmute uses it to read an agent's call state. The first build downloads Python 3.12 and a few packages (about 170 MB) into a cache, once.
  • An SLNG API key starting with slng_. Organization owners and admins create keys at https://app.slng.ai/api-keys.

Each release of this package pins one Unmute version (versions.json in the package, and CHANGELOG.md). Pin the package version in your client too, so updates happen on purpose.

Add it to your client

In each example the key stays in the SLNG_API_KEY environment variable of the shell that starts your client, and the config only refers to it.

Claude Code, in .mcp.json at the root of your project:

{
  "mcpServers": {
    "slng": {
      "command": "npx",
      "args": ["-y", "@slng-ai/mcp@0.1.4"],
      "env": { "SLNG_API_KEY": "${SLNG_API_KEY}" }
    }
  }
}

Codex, in ~/.codex/config.toml:

[mcp_servers.slng]
command = "npx"
args = ["-y", "@slng-ai/mcp@0.1.4"]
env_vars = ["SLNG_API_KEY"]
startup_timeout_sec = 60
tool_timeout_sec = 300

Codex gives a server 10 seconds to start and a tool call 60 seconds by default. The first npx download and an agent build can take longer, so raise both as shown.

Cursor, in ~/.cursor/mcp.json (or .cursor/mcp.json in one project):

{
  "mcpServers": {
    "slng": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@slng-ai/mcp@0.1.4"],
      "env": { "SLNG_API_KEY": "${env:SLNG_API_KEY}" }
    }
  }
}

Then ask your assistant "Using SLNG, who am I connected as?". The slng_whoami tool answers with your organization, and with the Unmute and uv versions the server found. If it says Unmute or uv is missing, your client started the server with a PATH that doesn't include them: start the client from a terminal where unmute --version works.

Settings

The server reads its settings from the environment. Only the key is required.

Variable What it does
SLNG_API_KEY Your SLNG API key. Without it the tools list still loads, and each tool that calls SLNG answers AUTH_INVALID.
SLNG_MCP_ALLOWED_CALLEES Comma-separated numbers or calling-code prefixes the server may call, for example +34911234567,+81. Set it for any agent that runs without a person approving each call.
SLNG_MCP_ORG_CALLEES Per SLNG organization id, the only numbers or prefixes that organization may call, on top of the list above, for example <org id>=+4930123456;<other org id>=+81. Organizations not listed are unaffected. Useful when several organizations share one server.
SLNG_MCP_CALLS_PER_HOUR, SLNG_MCP_CALLS_PER_DAY Call limits per key (defaults 10 and 50).
SLNG_MCP_RESIDENCY prefer_in_region (default) or in_region_only, which refuses models that don't run in the agent's region.
SLNG_MCP_MANIFEST A policy file for builds: an Unmute manifest path, or the name of a manifest saved with unmute manifest create.
SLNG_MCP_UV_CACHE_DIR Where uv keeps Python and packages (default: a slng-mcp/uv folder in your user cache).
SLNG_MCP_UV_OFFLINE true stops uv from downloading; builds then use only the filled cache.
LOG_LEVEL Log level on stderr (default info). Logs never contain your key, the numbers you call or transcripts.

slng-mcp --http runs the same server over Streamable HTTP, which is how mcp.slng.ai runs it. It needs SLNG_MCP_SECRET (32 characters or more) and takes each request's key from its Authorization header.

What it does

The tool names start with slng_, so they don't clash with tools from other servers.

Tool What it does
slng_whoami Shows the organization that owns the key, and the server's versions.
slng_list_regions Lists the agent regions and suggests one for a number or country.
slng_get_capabilities Lists the models and voices a region offers for a language, and where each model runs.
slng_list_agents Lists your agents.
slng_get_agent_guide Serves the agent-writing guide: Unmute's authoring guide plus notes for this server.
slng_build_agent Builds and validates an agent from the template or from an Unmute package.
slng_deploy_agent Shows the deploy plan, then deploys after confirmation.
slng_list_phone_numbers Lists the outbound numbers an agent can use.
slng_attach_phone_number Attaches an outbound number to an agent.
slng_prepare_call Shows the call preview and returns a confirm token.
slng_place_call Places the call after confirmation.
slng_get_call Reads a call's status, outcome, task results and transcript.
slng_create_test_session Starts a browser test session with an agent.
slng_delete_agent Deletes an agent, unless a call is live.

Safety. Deploys and calls take two steps: a plan or preview with a confirm token that works once, within 10 minutes, and only for exactly what was reviewed. Each tool tells your client whether it only reads or can change something, so the client asks you before deploys, deletes and calls. Premium-rate numbers are refused. If the server can't tell whether a call went out, it refuses to dial the same agent and number again while that call may be live (for up to 10 minutes if it never shows up). The assistant writes the greeting and the goodbye for your use case, and the greeting says an AI is calling by default: AI providers' usage policies and laws in several places expect it, so check what applies to your calls before leaving it out.

License

Copyright 2026 SLNG. Licensed under the Apache License, Version 2.0. The license doesn't grant permission to use SLNG's names or logos (its section 6). The Unmute authoring guide bundled in data/unmute-skill/ is under the MIT license; see the LICENSE file there.