mcp-consulting-kit
Copilot instructions2 starsChanged 7 months agoMITView on GitHub
- Reads credentials
- Installs packages
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this copilot-instructions.md into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
All 4 servers launch together via launch-servers.ps1 in the repo root.
- Distinctive: line 28
Keep shared middleware bootstrap in every server startup:
- Very specific: line 33
All responses should preserve X-Request-ID.
- Very specific: line 60
Prefer edits in shared security code (showcase-servers/common/security.py) over duplicating logic in individual services.
- Very specific: line 61
Keep endpoint handlers thin: validation + orchestration in mcp_tools.py/clients, not in route functions.
- Very specific: line 65
Treat C:\Users\puddi\Projects\fusional-knowledge-base\ as the canonical context source for project status and priorities.
- Distinctive: line 72
If code reality conflicts with the knowledge base, report the conflict and prefer verified code/runtime facts, then update knowledge-base …
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Copilot Instructions for MCP Consulting Kit
Agent Delegation Model
- agent-dople: Responsible for maintaining server integrity, security, and stability, and for running each server (
business-intelligence-mcp,api-integration-hub,content-automation-mcp, and theFusionALexecution engine on port 8009). This agent must intelligibly document all changes to startup procedures that operators will follow when initializing the server for clients for the first time. Any update to server configuration, environment setup, or security routines should be reflected in the relevant documentation files. - hunter-agent: Responsible for keeping the quickstart guide up to date. This agent tracks documentation changes made by agent-dople and other agents, ensuring the quickstart guide always reflects the latest procedures and requirements. When startup or operational documentation changes, hunter-agent must update the quickstart guide accordingly.
- master-agent: Responsible for managing all commits and pushes to the repository. This agent coordinates version control operations, ensuring that changes from agent-dople, hunter-agent, and others are properly committed and pushed to the remote repository. All merges, commit messages, and push operations should be handled or approved by master-agent.
- fusional-agent: Responsible for the FusionAL execution engine (
C:\Users\puddi\projects\FusionAL\core\). Manages dynamic MCP server registration, sandboxed code execution, and AI-generated server deployment. FusionAL is the platform's runtime engine — agent-dople manages the static showcase servers, fusional-agent manages everything dynamic. Security applied to FusionAL must follow the same conventions inshowcase-servers/common/security.py.
Big picture architecture
- This repo is a service-delivery framework with three static showcase servers under
showcase-servers/plus the FusionAL dynamic execution engine:business-intelligence-mcp(NL→SQL + DB execution) — port 8101api-integration-hub(Slack/GitHub/Stripe wrappers) — port 8102content-automation-mcp(scraping + RSS parsing) — port 8103FusionAL(dynamic code execution, server generation, registry) — port 8009 atC:\Users\puddi\projects\FusionAL\core\
- Each showcase server is intentionally standalone (
main.py,mcp_tools.py,requirements.txt,Dockerfile) and shares security/observability viashowcase-servers/common/security.py. - FusionAL uses the same
security.pymodule, resolved via path discovery at startup. - Request flow pattern: endpoint in
main.py→ Pydantic request model inmcp_tools.py→ integration layer (db.py,clients/*, orscraper.py). - FusionAL flow: Claude Desktop →
docker/mcp-gateway→ FusionAL/execute,/register,/catalog→ Docker sandbox or dynamic server. - All 4 servers launch together via
launch-servers.ps1in the repo root.
Security and middleware conventions (critical)
- Protected POST routes always compose both dependencies in this order:
Depends(verify_api_key)Depends(enforce_rate_limit)
- Keep shared middleware bootstrap in every server startup:
configure_cors(app)configure_observability(app)initialize_rate_limit_store(app)
- API key model is rotation-friendly:
API_KEYS(active),API_KEY(legacy fallback),REVOKED_API_KEYS(denylist). - All responses should preserve
X-Request-ID; security headers and log redaction are applied centrally incommon/security.py.
Service-specific behavior to preserve
- BI server (
showcase-servers/business-intelligence-mcp/):handle_nl_query()must runnormalize_sql()+validate_sql_is_safe()beforerun_query().- SQL safety is strict: read-only
SELECT/WITH, single statement, no comments, and blocked write/DDL keywords. - LLM provider selection is env-driven (
LLM_PROVIDER=claude|rule|local) inllm_provider.py;localis currently a placeholder.
- API hub (
showcase-servers/api-integration-hub/): orchestration lives inmcp_tools.py(e.g., create GitHub issue then optional Slack notify). - Content automation (
showcase-servers/content-automation-mcp/): keep extraction logic inscraper.py; endpoints remain thin wrappers inmain.py.
Developer workflow (Windows-first)
- Security smoke tests (root):
./scripts/run-security-smoke.ps1scripts\run-security-smoke.cmd
- The smoke script auto-discovers Python (
$env:VIRTUAL_ENV, repo.venv, then systempython) and runs:showcase-servers/common/test_security_common.pyshowcase-servers/business-intelligence-mcp/test_security.py
- Local server run pattern (inside each service folder):
pip install -r requirements.txtuvicorn main:app --host 0.0.0.0 --port <8101|8102|8103>
CI and repo quirks
- CI workflow is
.github/workflows/security-smoke.yml. - Vulnerability waivers belong in
.trivyignoreand should remain temporary. - BI code, tests, and CI paths are standardized to
showcase-servers/business-intelligence-mcp/.
Change guidance for agents
- Prefer edits in shared security code (
showcase-servers/common/security.py) over duplicating logic in individual services. - Keep endpoint handlers thin: validation + orchestration in
mcp_tools.py/clients, not in route functions. - Preserve env-var compatibility (
API_KEYfallback, port defaults,REDIS_URLdegraded fallback behavior) unless asked to break compatibility.
Knowledge Base Bootstrap (required)
- Treat
C:\Users\puddi\Projects\fusional-knowledge-base\as the canonical context source for project status and priorities. - At the start of each new task/session, load and prioritize these files before proposing plans or code changes:
C:\Users\puddi\Projects\fusional-knowledge-base\00-CURRENT-STATUS\STATUS.mdC:\Users\puddi\Projects\fusional-knowledge-base\00-CURRENT-STATUS\PRIORITIES.md
- For repo/state ambiguity, consult:
C:\Users\puddi\Projects\fusional-knowledge-base\06-CONTEXT\FAQ.mdC:\Users\puddi\Projects\fusional-knowledge-base\06-CONTEXT\DECISIONS.md
- If code reality conflicts with the knowledge base, report the conflict and prefer verified code/runtime facts, then update knowledge-base docs in the same workstream.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

