OpenParable
Skip to content
← Back to skills

MCP Activation

Agent Building
mcp-activation

MCP Activation is an Agent Skill for agent building published in the netalertx/NetAlertX repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/netalertx/NetAlertX/blob/HEAD/.github/skills/mcp-activation/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/mcp-activation, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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