MCP-Open-Discovery-with-AMQP: Instructions file for GitHub Copilot

.github/copilot-instructions.md

MCP-Open-Discovery-with-AMQP copilot-instructions.md is an instructions file for GitHub Copilot from nagual69/MCP-Open-Discovery-with-AMQP. It costs 2,631 tokens per session, scanned A, original, MPL-2.0.

Repository instructions for an MCP server that discovers and manages tools over several transports, including AMQP, a message-queue protocol. They describe its architecture, security components, and Windows testing workflow.

In plain words
What is it for?
Implementing or testing tools for network discovery, monitoring, infrastructure management, credentials, and server transports in that repository.
Why use it?
They help an agent make changes that fit the existing registry, transport, memory, credential, and discovery systems.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is nagual69/MCP-Open-Discovery-with-AMQP's own configuration. It tells GitHub Copilot how to work on MCP-Open-Discovery-with-AMQP itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything MCP-Open-Discovery-with-AMQP configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/mcpuser/plugins.

Reuse

Borrowing it

Nothing to install: this file belongs to nagual69/MCP-Open-Discovery-with-AMQP. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/nagual69/MCP-Open-Discovery-with-AMQP/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/nagual69/MCP-Open-Discovery-with-AMQP

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for MCP-Open-Discovery-with-AMQP copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/nagual69/mcp-open-discovery-with-amqp/copilot-instructions/github.svg)](https://agentmods.dev/instructions/nagual69/mcp-open-discovery-with-amqp/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/nagual69/mcp-open-discovery-with-amqp/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/nagual69/mcp-open-discovery-with-amqp/copilot-instructions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for MCP-Open-Discovery-with-AMQP copilot-instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/nagual69/mcp-open-discovery-with-amqp/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/nagual69/mcp-open-discovery-with-amqp/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,631 This file is loaded in full into every session.
When invoked 2,631 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.02631 $0.02631
Opus 5.5 $0.01052 $0.01052
Sonnet 5.5 $0.00526 $0.00526
Haiku 4.5 $0.00263 $0.00263

Measured 2mo ago against content hash b2dff52d5a9a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

MCP-Open-Discovery-with-AMQP copilot-instructions.md scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- Restricted core require interception (e.g., `fs`, `child_process`, `net`, `http`, `https`, `dns`, `tls`) unless permissions allow
.github/copilot-instructions.md · 168 lines

How it starts

The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MCP Open Discovery — AI Agent Guide (Concise, current)

Use this when coding in this repo. It reflects the code as-is and the workflows we actually use.

Architecture you need to know

  • Server: mcp_open_discovery_server.js creates one McpServer, registers tools/resources/prompts, and starts transports via tools/transports/core/transport-manager.js.
  • Registry & hot‑reload: tools/registry/index.js (CoreRegistry + HotReloadManager + mcp‑types adapter). Tool modules export { tools, handleToolCall }; the registry calls server.registerTool(...) for you.
  • Transports:
    • stdio: tools/transports/core/stdio-transport.js
    • http (SSE): tools/transports/core/http-transport.js with health and optional OAuth
    • amqp: tools/transports/amqp-transport-integration.js (server wrapper; base helpers in tools/transports/base-amqp-transport.js)
  • Data & security:
    • Memory/CMDB (SQLite + encryption): tools/memory_tools_sdk.js
    • Credentials (encrypted + audit): tools/credentials_tools_sdk.js, tools/credentials_manager.js
    • Discovery tools: tools/{network,nmap,snmp,proxmox,zabbix}_tools_sdk.js

How to run and test (Windows/PowerShell)

  • Docker (preferred): ./rebuild_deploy.ps1
  • Local dev (Node >= 23): npm start (uses TRANSPORT_MODE defaults). Scripts: start-stdio, start-http, start-amqp, start-all
  • Health: npm run health → http://localhost:3000/health
  • Quick tests (see testing/):
    • node testing/test_direct_sdk_registration.js (SDK register/connect smoke)
    • node testing/test_mcp_bidirectional_routing.js (transport)
    • node testing/audit_mcp_compliance.js (protocol checks)

Implementing tools (pattern that works here)

  • File: tools/<category>_tools_sdk.js
  • Export:
    • tools: [{ name, description, inputSchema, annotations? }] (Zod or JSON Schema)
    • async function handleToolCall(name, args) → switch by name; return structured object. Simple objects are auto‑wrapped by registry.
  • Don’t call server.registerTool in modules; registry does it: tools/registry/index.js.
  • Use descriptive names with prefixes (e.g., nmap_tcp_connect_scan, snmp_device_inventory).

Read the full file on GitHub · 168 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 168 lines · 2,631 tokens per session scan A b2dff52d5a9a

Subscribe to this mod's changes

MCP-Open-Discovery-with-AMQP copilot-instructions.md is an instructions file published in the GitHub repository nagual69/MCP-Open-Discovery-with-AMQP (2 stars, last pushed 7mo ago), licensed MPL-2.0. It adds 2,631 tokens to every session, about $0.0105 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

MCP-Open-Discovery-with-AMQP copilot-instructions.md compared with instructions from other repositories

MCP-Open-Discovery-with-AMQP copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
MCP-Open-Discovery-with-AMQP copilot-instructions.mdnagual69/MCP-Open-Discovery-with-AMQPInstructions file27mo agoMPL-2.0A2,631GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode