Netsapiens Mcp
БесплатноПоддерживаетсяMCP server for the NetSapiens API: per-user sign-in, role-aware tools, version-aware availability
Описание
MCP server for the NetSapiens API: per-user sign-in, role-aware tools, version-aware availability
README
NetSapiens MCP Server
Run your NetSapiens phone system from Claude, ChatGPT, or any MCP client.
Each person signs in as themselves, and their assistant gets tools for calls, voicemail, messages, queues, agents, and provisioning.
Quickstart · Connect a client · Reference · Contributing
💬 Ask it things
| Say this | The assistant uses |
|---|---|
| "Why did the call from 602-555-0143 go to voicemail?" | diagnose_call |
| "How many calls did we take yesterday?" | call_volume |
| "Which queues have people waiting right now?" | queue_health |
| "Tell me everything about Dana Reyes." | user_profile |
| "Summarize my new voicemails." | voicemail_inbox_summary |
| "Forward my calls to my cell." | schedule_forwarding |
| "Move me from Support to Sales." | switch_queue |
| "Set up a new user with a desk phone and a number." | provision_user |
✨ Highlights
- 🔐 Sign in as yourself. In HTTP mode, users log in through an OAuth 2.1 browser flow. Passwords never reach the model.
- 🎚️ Sees what your role allows. Four role tiers, from user to system admin, decide which tools each person gets.
- 🧬 Matches your host. The server reads your NetSapiens release (44.3 through 46.0) and serves the tools documented for it.
- 🛠️ More than 40 task-shaped tools. Find a user, trace a call, check a queue, read a voicemail, provision a queue.
- 🔎 The whole API. More than 1,300 operations are available through
search_apiandcall_api. - 💾 Stays signed in. Sessions live in an encrypted SQLite store and survive restarts. Add Firestore to share them across instances.
- 🛡️ Guardrails you control. Read-only mode, destructive-action confirmation, per-tool disable patterns, and automated secret scrubbing.
- 📦 Runs anywhere.
npxfor a single user, Docker Compose for a team, or import it as a library.
🧭 How it works
The official server at docs.ns-api.com/mcp helps an assistant read the API documentation. This server lets the assistant work on your system as the signed-in user, with that user's permissions.
🚀 Quickstart
Local Stdio (Single User via npx)
Run the server directly from the npm registry using npx:
export NETSAPIENS_API_URL="https://netsapiens.example.com"
export NETSAPIENS_API_TOKEN="your-api-token"
npx --yes netsapiens-mcp@3
Alternatively, provide OAuth credentials for stdio authentication:
export NETSAPIENS_API_URL="https://netsapiens.example.com"
export NETSAPIENS_OAUTH_CLIENT_ID="your-client-id"
export NETSAPIENS_OAUTH_CLIENT_SECRET="your-client-secret"
export NETSAPIENS_OAUTH_USERNAME="[email protected]"
export NETSAPIENS_OAUTH_PASSWORD="your-password"
npx --yes netsapiens-mcp@3
Hosted HTTP (Docker Compose)
Deploy the multi-user HTTP service with SQLite persistence:
# Copy sample configuration and set your secret
cp .env.example .env
# Edit .env with NETSAPIENS_API_URL, a random 32+ character MCP_SESSION_SECRET,
# and a stable unique MCP_MFA_REPLAY_AUDIENCE for this persistent store.
docker compose up -d
The service will listen on port 3000 at http://localhost:3000/mcp.
The unauthenticated /health endpoint reports available sign-in methods, effective MFA configuration readiness, and the MFA attempt limit in signIn, without exposing credentials. Process health remains independent of MFA readiness.
For a direct listener, forwarded IP headers are ignored. Set MCP_TRUST_PROXY_HOPS=1 only when every request reaches the server through one trusted proxy that controls those headers.
Sign-in attempts share a store-backed limit across server instances. If the store cannot count an attempt, sign-in returns 503. Configure Firestore TTL on <namespace>_rate_limits.ttlAt; SQLite upgrades its database to schema 4, which older releases cannot open. Before upgrading SQLite, take and verify a SQLite-aware backup with writes quiesced. Roll back with a schema-4-compatible binary or restore that backup, accepting that writes made after the backup are lost.
Optional sign-in policy
HTTP operators can set MCP_SECOND_FACTOR_POLICY to this JSON object:
{"tiers":["domain_admin","reseller","system_admin"],"acceptProviderSignIn":true,"acceptPastedToken":false,"applyToExistingSessions":true}
The policy is disabled when unset and applies only to the primary NETSAPIENS_API_URL platform. These tiers select the exact NetSapiens scopes Office Manager, Reseller, and Super User, not Site Manager, Domain Admin, or Call Center Supervisor. Unknown scope or an unavailable identity lookup fails closed without revoking the session.
Selected accounts must complete an explicitly identified NetSapiens authenticator challenge, or use an independently implemented trusted provider sign-in. Trusting provider sign-in is not evidence that the provider performed MFA. Pasted tokens are refused for these scopes with the configuration above. Existing sessions for selected scopes without signed server assurance must sign in again, including sessions issued before this policy existed.
This option rejects malformed configuration and cannot be combined with a custom HTTP auth provider. Rotating MCP_SESSION_SECRET invalidates stored assurance signatures, so affected privileged users must sign in again.
🔌 Connecting MCP Clients
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"netsapiens": {
"command": "npx",
"args": ["--yes", "netsapiens-mcp@3"],
"env": {
"NETSAPIENS_API_URL": "https://netsapiens.example.com",
"NETSAPIENS_API_TOKEN": "your-api-token"
}
}
}
}
Claude Code
Connect to a hosted HTTP server deployment:
claude mcp add --transport http netsapiens https://mcp.example.com/mcp
Or run locally via stdio:
claude mcp add netsapiens -- npx --yes netsapiens-mcp@3
Claude.ai Custom Connector
For web and team workspaces:
- In Claude.ai Settings > Integrations, select "Add custom MCP connector".
- Enter your server's endpoint:
https://mcp.example.com/mcp. - Claude will register dynamically via OAuth 2.1 Dynamic Client Registration.
- Users complete login on the NetSapiens MCP login page.
📚 Documentation
| Guide | What's in it |
|---|---|
| Reference | Role tiers, supported versions, storage, security limits, every environment variable, library usage |
| Contributing | Development setup and how to submit version observations |
| Security | Reporting a vulnerability |
📄 License
MIT License. See LICENSE.
Установить Netsapiens Mcp в Claude Desktop, Claude Code, Cursor
unyly install netsapiens-mcpСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add netsapiens-mcp --env NETSAPIENS_API_TOKEN="" --env NETSAPIENS_API_URL="" --env NETSAPIENS_OAUTH_CLIENT_ID="" --env NETSAPIENS_OAUTH_CLIENT_SECRET="" --env NETSAPIENS_OAUTH_PASSWORD="" --env NETSAPIENS_OAUTH_USERNAME="" -- npx -y netsapiens-mcpПошаговые гайды: как установить Netsapiens Mcp
FAQ
Netsapiens Mcp MCP бесплатный?
Да, Netsapiens Mcp MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Netsapiens Mcp?
Да, требуются переменные окружения: NETSAPIENS_API_TOKEN, NETSAPIENS_API_URL, NETSAPIENS_OAUTH_CLIENT_ID, NETSAPIENS_OAUTH_CLIENT_SECRET, NETSAPIENS_OAUTH_PASSWORD, NETSAPIENS_OAUTH_USERNAME. Unyly подставит их в конфиг при установке.
Netsapiens Mcp — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Netsapiens Mcp в Claude Desktop, Claude Code или Cursor?
Открой Netsapiens Mcp на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Изменения
Версии и запрашиваемые доступы со временем.
- Новая версия опубликована
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Unyly Deploy
Deploy sites and MCP servers to Unyly straight from your AI agent
автор: UnylyTemplate MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectServer Sequential Thinking
MCP server for sequential thinking and problem solving
автор: GitHub ActionsAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: duxiaohuiPayMCP
Lightweight payments layer for MCP servers: turn tools into paid endpoints with a two-line decorator. [PyPI](https://pypi.org/project/paymcp/) · [npm](https://w
автор: blustAIdemo
demo — MCP server via Smithery
автор: yoojoohans-jpgServer For Power BI
Enables exploring Microsoft Fabric / Power BI workspaces and semantic models, and executing ad-hoc DAX queries.
автор: Mitsubishi-FusoCompare Netsapiens Mcp with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
