npm cognigy-ai-mcp-management-serverstdioMITupdated 8d ago
Model Context Protocol server for managing Cognigy.AI virtual agents through the Management API This is an independent, open-source MCP server and is not affiliated with, endorsed by, or sponsored by Cognigy or NiCE. It requires your own valid Cognigy.AI account and API key, used in accordance with Cognigy's commercial license terms. "Cognigy" and "Cognigy.AI" are trademarks of their respective owners.
What can you do with cognigy ai mcp management server?
Cognigy.AI Management MCP Server

Model Context Protocol server for managing Cognigy.AI virtual agents through the Management API
This is an independent, open-source MCP server and is not affiliated with, endorsed by, or sponsored by Cognigy or NiCE. It requires your own valid Cognigy.AI account and API key, used in accordance with Cognigy's commercial license terms. "Cognigy" and "Cognigy.AI" are trademarks of their respective owners.
What is this?
cognigy-ai-mcp-management-server is a local MCP server that enables AI coding assistants (Claude, Cursor, etc.) to build, configure, test, and operate Cognigy.AI conversational AI agents programmatically.
Instead of clicking through the Cognigy UI, you can now:
- Create and manage flows, nodes, and intents via natural language
- Run NLU training and regression tests automatically
- Deploy snapshots and packages across environments
- Configure LLMs, Knowledge AI, and integrations
Built for: Developers, solution architects, and SI partners who build on Cognigy.AI.
Requirements
- Node.js 20.0.0 or higher
- Cognigy.AI account with API access (Trial, SaaS, or on-premises)
- API Key generated from Cognigy UI (My Profile → API Keys)
Installation
# 1. Install the Cognigy REST API client (required peer dependency)
npm install @cognigy/rest-api-client
# 2. Install this MCP server
npm install -g cognigy-ai-mcp-management-server
Important: The @cognigy/rest-api-client package is licensed under "Cognigy Proprietary License". By installing it, you agree to Cognigy's license terms.
Configuration
Set environment variables before running:
# Required: Your Cognigy API endpoint
export COGNIGY_BASE_URL=https://api-trial.cognigy.ai
# Required: Your API key (never commit this!)
export COGNIGY_API_KEY=your-api-key-here
# Optional: Default project for operations
export COGNIGY_DEFAULT_PROJECT_ID=your-project-id
Common Base URLs:
| Environment | Base URL |
|---|---|
| Trial | https://api-trial.cognigy.ai |
| SaaS EU | https://api-app.cognigy.ai |
| SaaS US | https://api-app-us.cognigy.ai |
| Dedicated | https://api-<company>.cognigy.cloud |
MCP Client Configuration
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"cognigy": {
"command": "npx",
"args": ["cognigy-ai-mcp-management-server"],
"env": {
"COGNIGY_BASE_URL": "https://api-trial.cognigy.ai",
"COGNIGY_API_KEY": "your-api-key-here"
}
}
}
}
Claude Code
Add to .mcp.json in your project root:
{
"mcpServers": {
"cognigy": {
"command": "npx",
"args": ["cognigy-ai-mcp-management-server"],
"env": {
"COGNIGY_BASE_URL": "https://api-trial.cognigy.ai",
"COGNIGY_API_KEY": "your-api-key-here"
}
}
}
}
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"cognigy": {
"command": "npx",
"args": ["cognigy-ai-mcp-management-server"],
"env": {
"COGNIGY_BASE_URL": "https://api-trial.cognigy.ai",
"COGNIGY_API_KEY": "your-api-key-here"
}
}
}
}
Available Tools
This server provides 132 MCP tools organized by domain:
| Category | Tools | Description |
|---|---|---|
| Projects & Flows | 5 | List projects, flows, flow settings, logs |
| Nodes | 9 | CRUD operations, search, move, AI output generation |
| Intents & NLU | 10 | Intent management, training, scoring, audit |
| Endpoints | 2 | List and inspect endpoint configurations |
| Sessions | 2 | Inject/reset conversation context |
| Conversations | 3 | Fetch conversations, transcripts |
| Playbooks & Testing | 6 | Run playbooks, regression tests |
| Snapshots | 9 | Create, restore, package, diff, promote |
| Packages | 7 | Create, merge, upload, download |
| Connections | 5 | Manage API connections (secrets redacted) |
| LLMs | 7 | Configure generative AI providers |
| NLU Connectors | 5 | External NLU (Dialogflow, LUIS, etc.) |
| Knowledge AI | 21 | Stores, sources, chunks, connectors (RAG) |
| Functions | 9 | Custom code functions, instances |
| Extensions | 6 | Upload, configure, manage extensions |
| Contact Profiles | 11 | Profile CRUD, merge, export (GDPR) |
| Analytics | 4 | Conversation, call, knowledge metrics |
| Audit | 2 | Audit event logs |
| Handover | 7 | Live agent providers and services |
| Search | 1 | Organization-wide resource search |
| Tasks | 2 | Async task status tracking |
Key Features
- Safe by default: All mutating tools use
dryRun: trueby default - Async-aware: Long-running operations poll until completion
- Security: API keys only in memory, secrets automatically redacted
- Pagination: All list operations support
limitandskip
Development & Testing
Mock-first Development
Run against Prism mock server (no Cognigy account needed):
# Terminal 1: Start mock server
npm run mock
# Terminal 2: Run tests
npm test
Live API Testing
# Create .env from template
cp .env.example .env
# Edit .env with your credentials
# Run development server
npm run dev
Build
npm run build # Compile TypeScript
npm test # Run test suite (49 tests)
npm run lint # Check code style
Regenerate Types (optional)
If you need to update the generated types from a newer Cognigy API:
npm run update:spec # Download latest OpenAPI spec
npm run gen:types # Regenerate TypeScript types
Important: Dependencies
This package requires @cognigy/rest-api-client as a peer dependency. This means:
- You must install it separately (see Installation above)
- You accept Cognigy's license terms by installing their package
- We do not bundle or redistribute any Cognigy code
You are responsible for:
- Reviewing and accepting Cognigy's proprietary license terms
- Having appropriate rights to use the Cognigy API
- Keeping your API credentials secure
The Cognigy REST API client is the official SDK maintained by Cognigy GmbH and is published on npm under "Cognigy Proprietary License".
License
This MCP server is released under the MIT License. See LICENSE for details.
Note: The MIT license applies only to this MCP server code. Dependencies (particularly @cognigy/rest-api-client) are subject to their own licenses.
Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Follow existing code patterns (Zod schemas, dryRun flags, etc.)
- Add tests for new tools
- Run
npm test && npm run buildbefore committing - Submit a Pull Request
Development Guidelines
- All tools must have Zod input validation
- Mutating tools must support
dryRunflag (default: true) - Tool descriptions should be LLM-friendly (1-2 sentences)
- Never log or expose API keys/secrets
- Test against mock server before live API
Support
- Issues: GitHub Issues
- Cognigy Docs: docs.cognigy.com
- MCP Spec: modelcontextprotocol.io
Built with Model Context Protocol SDK
Install
Add cognigy ai mcp management server to your client. Pick the one you use.
claude mcp add cognigy-ai-mcp-management-server -- npx -y cognigy-ai-mcp-management-servercodex mcp add cognigy-ai-mcp-management-server -- npx -y cognigy-ai-mcp-management-serveramp mcp add cognigy-ai-mcp-management-server -- npx -y cognigy-ai-mcp-management-server{
"mcpServers": {
"cognigy-ai-mcp-management-server": {
"command": "npx",
"args": [
"-y",
"cognigy-ai-mcp-management-server"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"cognigy-ai-mcp-management-server": {
"command": "npx",
"args": [
"-y",
"cognigy-ai-mcp-management-server"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"cognigy-ai-mcp-management-server","command":"npx","args":["-y","cognigy-ai-mcp-management-server"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"cognigy-ai-mcp-management-server": {
"command": "npx",
"args": [
"-y",
"cognigy-ai-mcp-management-server"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"cognigy-ai-mcp-management-server": {
"command": "npx",
"args": [
"-y",
"cognigy-ai-mcp-management-server"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"cognigy-ai-mcp-management-server": {
"command": "npx",
"args": [
"-y",
"cognigy-ai-mcp-management-server"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"cognigy-ai-mcp-management-server": {
"type": "local",
"command": "npx",
"args": [
"-y",
"cognigy-ai-mcp-management-server"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"cognigy-ai-mcp-management-server": {
"command": {
"path": "npx",
"args": [
"-y",
"cognigy-ai-mcp-management-server"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y cognigy-ai-mcp-management-serverRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
Score
39 / 100
Incomplete
- Documentation25/25
- Maintenance19/25
- Trust13/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 0 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 0.1.4Latest | Jul 27, 2026 |