Selent MCP 标志

Selent MCP

组织
selent-ai

MCP for Meraki API and Selent tools

发布者selent-ai
代码仓库selent-mcp
语言Python
复刻数
6
星标数
17
可用工具
0
传输类型stdio
分类
链接
  • 将工具接入 AI 工作流

    Selent MCP 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 17 个星标和 6 个复刻。

Selent MCP

A powerful Model Context Protocol (MCP) server that provides dynamic access to the entire Meraki Dashboard API plus advanced compliance and security auditing capabilities. Instead of creating hundreds of individual tools, Selent MCP uses intelligent discovery to find and execute any Meraki API endpoint on demand.

🚀 Features

Dynamic API Discovery

  • Universal Access: Query any of 400+ Meraki API endpoints without pre-defined tools
  • Single-Call Optimization: Common queries (organizations, device status, etc.) found instantly
  • Intelligent Search: Natural language queries to find relevant endpoints
  • Parameter Discovery: Automatic detection of required and optional parameters
  • Smart Validation: Generic parameter validation with helpful error messages

Compliance & Security Auditing 🛡️

  • Multi-Framework Support: PCI DSS, HIPAA, SOC2, ISO 27001, NIST Cybersecurity Framework
  • Automated Compliance Scanning: Comprehensive security assessments across your entire Meraki organization
  • Critical Finding Detection: Identifies security gaps and compliance violations
  • Actionable Recommendations: Specific remediation steps for each finding
  • Detailed Reporting: Executive summaries and technical details for compliance documentation

Backup & Restore Operations 🔄

  • Organization Backup: Create complete backups of your Meraki organization
  • Component Restore: Restore individual devices or networks from backups
  • Status Monitoring: Real-time progress tracking for backup and restore operations
  • Error Handling: Comprehensive error reporting and recovery guidance

Advanced Network Analysis 📊

  • Network Topology Analysis: Comprehensive device relationships and connections
  • Device Health Monitoring: Performance metrics and diagnostics
  • Security Auditing: Network-wide security assessments
  • Performance Analytics: Bottleneck identification and optimization recommendations
  • Configuration Drift Detection: Identify inconsistencies across networks

Note: Advanced features (backup/restore, compliance auditing) require a Selent API key. Contact Selent to obtain access.

🐳 Quick Start with Docker

1. Prerequisites

  • Docker installed and running
  • Meraki Dashboard API key (Get one here)
  • Selent API key (optional, required for advanced features - contact Selent)

2. Deploy the Server

Option A: Use Public Docker Image (Recommended)

bash
# Set your API keys
export MERAKI_API_KEY="your_meraki_api_key_here"
export SELENT_API_KEY="your_selent_api_key_here"  # Optional, for advanced features

# Run directly from Docker Hub (always pulls latest)
docker run \
  --pull=always \
  -e MERAKI_API_KEY=$MERAKI_API_KEY \
  -e SELENT_API_KEY=$SELENT_API_KEY \
  -i --rm selentai/selent-mcp:latest

Option B: Build from Source

bash
# Clone the repository
git clone <repository-url>
cd selent-mcp

# Build the Docker image
docker build -t selent-mcp:latest .

docker-compose up -d

Testing the Build:

bash
docker run -i --rm \
  -e MERAKI_API_KEY=test_key \
  -e SELENT_API_KEY=test_key \
  selent-mcp:latest

3. Configure Claude Desktop

Update your Claude Desktop configuration file:

Location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)

Single Meraki API Key (Production)

json
{
  "mcpServers": {
    "Selent MCP": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--pull=always",
        "-e",
        "MERAKI_API_KEY=your_meraki_api_key_here",
        "-e",
        "SELENT_API_KEY=your_selent_api_key_here",
        "selentai/selent-mcp:latest"
      ]
    }
  }
}

Multiple Meraki API Keys (Multi-Organization Support)

Manage multiple Meraki organizations by providing multiple API keys with labels:

json
{
  "mcpServers": {
    "Selent MCP": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--pull=always",
        "-e",
        "MERAKI_API_KEY=org1:api_key_1,org2:api_key_2,org3:api_key_3",
        "-e",
        "SELENT_API_KEY=your_selent_api_key_here",
        "selentai/selent-mcp:latest"
      ]
    }
  }
}

Multi-Key Format: label1:api_key_1,label2:api_key_2,...

With multiple keys configured, you can:

  • List all available API keys and their labels
  • Switch between different organizations
  • Execute API calls against specific organizations

4. Restart Claude Desktop

Restart Claude Desktop to load the new MCP server.

5. Test Your Configuration

Once Claude Desktop restarts, test your setup:

# Test basic API access
"What Meraki organizations do I have access to?"

# Test compliance tools (requires Selent API key)
"What compliance types are available?"

# Test a compliance scan (requires Selent API key)
"Run a PCI compliance test"

# Test licensing features (requires Selent API key)
"Get licensing expirations for my organization"

The --pull=always flag ensures you automatically get the latest features and security updates without manual intervention.

📖 Usage Examples

Multi-Key Management

When multiple Meraki API keys are configured, you can manage them:

# List all configured API keys
"List all my Meraki API keys"
"Show me which API keys are configured"

# Switch between organizations
"Switch to organization org1"
"Use the org2 API key"

# Get current active key
"Which API key am I currently using?"
"Show me the current organization"

API Operations

# Get device information
"Get device Q4AB-WMAB-TAZU configuration for port number 4"

# List organizations
"Show me all my Meraki organizations"

# Get network clients
"List all clients in network N_12345"

# Firewall rules
"Get MX firewall rules for device Q2KN-Q6GH-CREQ"

# Search for API endpoints
"Find API endpoints related to switch ports"
"How do I get SSID configuration?"

Compliance Testing

# Get available compliance frameworks
"What compliance types are available?"

# Run PCI DSS compliance test
"Run PCI compliance test on my organization"

# Test SOC2 compliance
"Perform SOC2 compliance audit"

# NIST Cybersecurity Framework assessment
"Run NIST compliance check"

Backup & Restore

# Create organization backup
"Create a backup of my entire Meraki organization"

# Check backup status
"What's the status of backup abc123?"

# Restore a device
"Restore device Q2XX-XXXX-XXXX from backup abc123"

# Restore a network
"Restore network L_123456789 from backup abc123"

Advanced Analytics

# Network topology analysis
"Analyze the topology of network N_12345"

# Device health check
"Check the health of device Q2XX-XXXX-XXXX"

# Security audit
"Perform security audit on network N_12345"

# Performance analysis
"Analyze performance of network N_12345"

🛠 Development & Management

Container Management

bash
# Check status
docker ps --filter name=selent-mcp-server

# View logs
docker logs -f selent-mcp-server

# Restart
docker-compose restart

# Stop
docker-compose down

# Rebuild and restart
docker-compose up -d --build

🔧 Available Tools

Core API Tools

  • search_meraki_api_endpoints - Find API endpoints using natural language
  • execute_meraki_api_endpoint - Execute any Meraki API call
  • get_meraki_endpoint_parameters - Get parameter requirements for endpoints

Multi-Key Management Tools (available when multiple API keys configured)

  • list_api_keys - List all configured Meraki API keys
  • get_current_api_key - Get the currently active API key
  • switch_api_key - Switch to a different API key by label

Selent Advanced Tools (requires Selent API key)

  • selent_get_licensing_expirations - Get licensing expiration information
  • selent_get_organization_licensing_summary - Get organization licensing summary
  • selent_run_compliance_test - Run compliance tests (PCI, HIPAA, SOC2, ISO 27001, NIST)
  • selent_create_backup - Create organization backups
  • selent_restore_from_backup - Restore from backups

🔐 Security & Environment

Environment Variables

VariableRequiredDescriptionExamples
MERAKI_API_KEYYesYour Meraki Dashboard API key(s). Supports single or multiple keys.Single: your_api_keyMulti: org1:key1,org2:key2
SELENT_API_KEYOptionalYour Selent API key (required for advanced features)your_selent_api_key
SELENT_API_BASE_URLOptionalSelent API base URL. Defaults to production.Production: https://backend.selent.ai

Multi-Key Format: When using multiple Meraki API keys, format them as: label1:api_key_1,label2:api_key_2,...

  • Labels help identify which organization each key belongs to
  • Switch between keys using the key management tools
  • All keys remain available throughout the session

Security Best Practices

  • Never commit API keys to version control
  • Use environment variables or secure secret management
  • Scan Docker images for vulnerabilities in production
  • Set appropriate resource limits for containers
  • Use secure networks in production deployments

安装

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "selent-ai-selent-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "selent-mcp"
      ]
    }
  }
}

将 Selent MCP MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Selent MCP 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 Selent MCP 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Selent MCP MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "selent-ai-selent-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "selent-mcp"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Selent MCP MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Selent MCP MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Selent MCP 帮我完成这项任务吗?
Selent MCP
当然,我看过了。
以下是我使用 Selent MCP 得到的结果。

常见问题

Selent MCP MCP 服务器有什么用途?

Selent MCP 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Selent MCP MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Selent MCP。

为什么在 TypingMind 中使用 Selent MCP MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Selent MCP 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Selent MCP MCP 连接到 TypingMind?

Selent MCP 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Selent MCP MCP 在 TypingMind 中提供哪些工具?

Selent MCP 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Selent MCP MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Selent MCP 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇