Agent Skillsnetalertx/NetAlertX › mcp-activation

mcp-activation

GitHub

配置MCP连接以启用NetAlertX实时API交互,支持数据库查询、网络扫描和设备管理。

.github/skills/mcp-activation/SKILL.md netalertx/NetAlertX

触发场景

需要实时访问NetAlertX API进行调试或运维时 在devcontainer环境中初始化MCP工具链时

安装

npx skills add netalertx/NetAlertX --skill mcp-activation -g -y
更多选项

非标准路径

npx skills add https://github.com/netalertx/NetAlertX/tree/main/.github/skills/mcp-activation -g -y

不安装直接使用

npx skills use netalertx/NetAlertX@mcp-activation

指定 Agent (Claude Code)

npx skills add netalertx/NetAlertX --skill mcp-activation -a claude-code -g -y

安装 repo 全部 skill

npx skills add netalertx/NetAlertX --all -g -y

预览 repo 内 skill

npx skills add netalertx/NetAlertX --list

SKILL.md

Frontmatter
{
    "name": "mcp-activation",
    "description": "Enables live interaction with the NetAlertX runtime. This skill configures the Model Context Protocol (MCP) connection, granting full API access for debugging, troubleshooting, and real-time operations including database queries, network scans, and device management."
}

MCP Activation Skill

This skill configures the environment to expose the Model Context Protocol (MCP) server to AI agents running inside the devcontainer.

Prerequisites

  1. Devcontainer connected: You must be working inside the NetAlertX devcontainer.
  2. Backend running: The Python backend must be running — it generates app.conf containing the API token. Use the devcontainer-services skill if it's not running.

Usage

This skill assumes you are already running within the NetAlertX devcontainer.

  1. Generate Configurations: Run the configuration generation script to extract the API Token and update the VS Code MCP settings.

    /workspaces/NetAlertX/.devcontainer/scripts/generate-configs.sh
    
  2. Reload Window: Request the user to reload the VS Code window to activate the new tools.

    I have generated the MCP configuration. Please run the 'Developer: Reload Window' command to activate the MCP server tools. In VS Code: open the Command Palette (Windows/Linux: Ctrl+Shift+P, macOS: Cmd+Shift+P), type Developer: Reload Window, press Enter — or click the Reload button if a notification appears. 🔁 After you reload, tell me “Window reloaded” (or just “reloaded”) and I’ll continue.

Why use this?

Access the live runtime API to perform operations that are not possible through static file analysis:

  • Query the database
  • Trigger network scans
  • Manage devices and events
  • Troubleshoot real-time system state

版本历史

  • 8aec57b 当前 2026-07-24 22:14

同 Skill 集合

.gemini/skills/devcontainer-management/SKILL.md
.gemini/skills/mcp-activation/SKILL.md
.gemini/skills/project-navigation/SKILL.md
.gemini/skills/settings/SKILL.md
.gemini/skills/skills-index/SKILL.md
.gemini/skills/testing-workflow/SKILL.md
.github/skills/api-development/SKILL.md
.github/skills/authentication/SKILL.md
.github/skills/code-standards/SKILL.md
.github/skills/database-patterns/SKILL.md
.github/skills/database-reset/SKILL.md
.github/skills/devcontainer-configs/SKILL.md
.github/skills/devcontainer-services/SKILL.md
.github/skills/devcontainer-setup/SKILL.md
.github/skills/docker-build/SKILL.md
.github/skills/docker-prune/SKILL.md
.github/skills/plugin-run-development/SKILL.md
.github/skills/project-navigation/SKILL.md
.github/skills/sample-data/SKILL.md
.github/skills/settings-management/SKILL.md
.github/skills/skills-overview/SKILL.md
.github/skills/testing-workflow/SKILL.md

元信息

文件数
0
版本
548d698
Hash
cf09296c
收录时间
2026-07-24 22:14

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-25 09:27
浙ICP备14020137号-1 $访客地图$