Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/aiminnovations/mongodb-mcp-juniper/copilot-instructionsgit clone --depth 1 https://github.com/aiminnovations/mongodb-mcp-juniperWrote 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.
[](https://agentmods.dev/instructions/aiminnovations/mongodb-mcp-juniper/copilot-instructions)<a href="https://agentmods.dev/instructions/aiminnovations/mongodb-mcp-juniper/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/aiminnovations/mongodb-mcp-juniper/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00797 | $0.00797 |
| Opus 5 | $0.00398 | $0.00398 |
| Sonnet 5 | $0.00159 | $0.00159 |
| Haiku 4.5 | $0.00080 | $0.00080 |
Grade A, and why
mongodb-mcp-juniper copilot-instructions.md scanned grade A with 0 findings 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 5d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Project Overview
This project is a server implementing the MCP (Model Context Protocol) that allows users to interact with their MongoDB clusters and MongoDB Atlas accounts. It is built using TypeScript, Node.js and the official Anthropic @modelcontextprotocol/sdk SDK.
Folder Structure
/src: Contains the source code of the MCP Server./src/tools: Contains the implementation of MCP tools./src/tools/atlas/: Contains the implementation of MCP tools that are specific to MongoDB Atlas./src/tools/mongodb/: Contains the implementation of MCP tools that are specific to MongoDB clusters./src/resources: Contains the implementation of MCP Resources./tests: Contains the test code for the MCP Server./tests/accuracy: Contains the test code for the accuracy tests, that use different models to ensure that tools have reliable descriptions./tests/integration: Contains tests that start the MCP Server and interact with it to ensure that functionality is correct./tests/unit: Contains simple unit tests to cover specific functionality of the MCP Server.
Libraries and Frameworks
- Zod for message and schema validation.
- Express for the HTTP Transport implementation.
- mongosh NodeDriverServiceProvider for connecting to MongoDB.
- vitest for testing.
- @modelcontextprotocol/sdk for the protocol implementation.
Coding Standards
- For declarations, use types. For usage, rely on type inference unless it is not clear enough.
- Always follow the eslint and prettier rule formats specified in
.eslint.config.jsand.prettierrc.json. - Use classes for stateful components and functions for stateless pure logic.
- Use dependency injection to provide dependencies between components.
- Avoid using global variables as much as possible.
- New functionality MUST be under test.
- Tools MUST HAVE integration tests.
- Tools MUST HAVE unit tests.
- Tools MAY HAVE accuracy tests.
Architectural Guidelines and Best Practices
Every agent connected to the MCP Server has a Session object attached to it. The Session is the main entrypoint for dependencies to other components. Any component that MUST be used by either a tool or a resource MUST be provided through the Session.
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.
- 5d ago First seen · 72 lines · 797 tokens per session scan A 97f60302eb28
mongodb-mcp-juniper copilot-instructions.md is an instructions file published in the GitHub repository aiminnovations/mongodb-mcp-juniper (0 stars, last pushed 10mo ago), licensed Apache-2.0. It adds 797 tokens to every session, about $0.0040 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
mongo-java-driver AGENTS.md
AGENTS.md instructions for mongodb/mongo-java-driver, covering agents.md - mongodb java driver, git, core rules, build and style.
js-bson AGENTS.md
AGENTS.md instructions for mongodb/js-bson, covering agents.md, project overview, commands, benchmarks and structure.
agent-skills GEMINI.md
Gemini CLI instructions for mongodb/agent-skills, covering mongodb gemini extension and configuration.
mail-time CLAUDE.md
Instructions for veliovgroup/mail-time, covering claude.md, what this repo is, where to look first, mental model for changes and common pitfalls to avoid.
build-applications-w-copilot-agent-mode octofit_tracker_django_backend.instructions.md
Instructions for skills/build-applications-w-copilot-agent-mode, covering octofit tracker logic + data tier guidelines, logic tier (node.js + express + typescript) and data tier (mongodb + mongoose).
mongodb-connection-string-url AGENTS.md
AGENTS.md instructions for mongodb-js/mongodb-connection-string-url, covering agents.md, project overview, commands, structure and code conventions.