Borrowing it
Nothing to install: this file belongs to BigKAA/qmcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/BigKAA/qmcp/master/AGENTS.mdgit clone --depth 1 https://github.com/BigKAA/qmcpWrote 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/bigkaa/qmcp/agents-md)<a href="https://agentmods.dev/instructions/bigkaa/qmcp/agents-md"><img src="https://agentmods.dev/badge/instructions/bigkaa/qmcp/agents-md/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.
<a href="https://agentmods.dev/instructions/bigkaa/qmcp/agents-md"><img src="https://agentmods.dev/badge/instructions/bigkaa/qmcp/agents-md.svg" alt="Reviewed on agentmods" width="80" 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.02759 | $0.02759 |
| Opus 5.5 | $0.01104 | $0.01104 |
| Sonnet 5.5 | $0.00552 | $0.00552 |
| Haiku 4.5 | $0.00276 | $0.00276 |
Grade C, and why
qmcp AGENTS.md scanned grade C with 2 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 today.
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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
make test && rm -rf dist/ && uv build Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
1. Verify Qdrant is running: `curl http://192.168.218.190:6333` How it starts
The opening of the file, as written. The whole thing — 381 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md - Instructions for AI Agents
This file contains instructions for AI agents working on or with this project.
Project Overview
- Project Name: qmcp (QDrant MCP Server)
- Purpose: Semantic search server for code and documentation using Qdrant vector database
- Language: Python 3.11+
- Framework: FastMCP (MCP Python SDK)
Key Commands
Quick Start
# Install dependencies
make install
# Install as MCP server for OpenCode
make mcp-install
# Run tests
make test
# Lint code
make lint
Development
# Run in development mode (with MCP inspector)
make mcp-dev
# Run with coverage
make test-cov
# Format code
make format
Architecture
See ARCHITECTURE.md for detailed system architecture.
File Structure
qmcp/
├── src/
│ ├── qmcp/
│ │ ├── server.py # FastMCP server, tools definition
│ │ ├── client.py # Qdrant client wrapper
│ │ ├── config.py # Pydantic settings
│ │ ├── indexer.py # Code indexing logic
│ │ ├── watcher.py # File system watcher
│ │ ├── cleanup.py # Stale vector cleanup
│ │ ├── logging_config.py # Logging configuration
│ │ ├── parser/ # Multi-language parsers
│ │ │ ├── base.py # Parser interface
│ │ │ ├── python.py # AST parser
│ │ │ └── multi.py # tree-sitter parsers
│ │ └── models.py # Pydantic models
│ └── main.py # Entry point
├── tests/
│ ├── test_server.py
│ ├── test_indexer.py
│ ├── test_parser.py
│ ├── test_watcher.py
│ └── test_cleanup.py
├── chart/ # Helm chart (optional, for production)
├── Makefile
└── pyproject.toml
Adding New Features
Adding a New Tool
-
Add tool function to
src/qmcp/server.py:@mcp.tool() async def my_new_tool(param: str = Field(...)) -> dict: """Tool description for LLM.""" # Implementation return result -
Add tests to
tests/test_server.py
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.
- today Changed · +8 lines · +230 tokens per session scan A → C 8807aa4d0bf7
- 2mo ago First seen · 373 lines · 2,529 tokens per session scan A 68becda12301
qmcp AGENTS.md is an instructions file published in the GitHub repository BigKAA/qmcp (1 stars, last pushed today), licensed Apache-2.0. It adds 2,759 tokens to every session, about $0.0110 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
qmcp AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| qmcp AGENTS.mdBigKAA/qmcp | Instructions file | 1 | today | Apache-2.0 | C | 2,759 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,649 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |