ember-mcp copilot-instructions.md

Repository instructions for ember-mcp, an MCP server that provides Ember.js documentation, API references, guides, and recommended practices. Ember.js is a JavaScript framework for building web applications.

In plain words
What is it for?
Use them to search Ember documentation, look up APIs, apply recommended practices, identify the project's package manager, and configure the ember-mcp server.
Why use it?
They tell an agent where to find reliable Ember information and which documentation tool to use for different questions. This reduces guesswork when giving Ember advice or changing an Ember project.

Instructions file for GitHub Copilot

Install

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.

agentmods
npx agentmods add instructions/ember-tooling/ember-mcp/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/ember-tooling/ember-mcp

Made for: GitHub Copilot.

Per session 583 This file is loaded in full into every session.
When invoked 583 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00583 $0.00583
Opus 5 $0.00292 $0.00292
Sonnet 5 $0.00117 $0.00117
Haiku 4.5 $0.00058 $0.00058

Measured 3d ago against content hash 20a8bc0bcb7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ember-mcp 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 3d 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.

.github/copilot-instructions.md · 81 lines

How it starts

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

GitHub Copilot Instructions for ember-mcp

About This Repository

This repository builds ember-mcp, an MCP (Model Context Protocol) server that provides comprehensive access to Ember.js documentation, API references, guides, and community best practices.

Using the ember-mcp MCP Server

IMPORTANT: When working on Ember.js projects or providing Ember.js guidance, you should use the ember-mcp MCP server built by this repository. It provides 7 specialized tools for accessing Ember documentation and best practices.

How to Configure ember-mcp

For local development in this repository:

{
  "mcpServers": {
    "ember-docs": {
      "command": "node",
      "args": ["/absolute/path/to/ember-mcp/index.js"]
    }
  }
}

For production use:

{
  "mcpServers": {
    "ember": {
      "command": "npx",
      "args": ["-y", "ember-mcp"]
    }
  }
}

When to Use the MCP Tools

  • Use search_ember_docs for general Ember.js queries
  • Use get_api_reference for specific API documentation
  • Use get_best_practices when providing implementation advice (ALWAYS)
  • Use detect_package_manager BEFORE suggesting package installation commands
  • See README.md for complete tool documentation

Working with This Codebase

Code Style

  • Modern ES modules (ESM) - use import/export
  • Use descriptive variable names
  • Minimal comments - code should be self-documenting
  • Follow existing patterns in the codebase

Architecture

  • index.js: Main MCP server with tool handlers
  • lib/documentation-service.js: Documentation parsing and search
  • lib/npm-service.js: npm registry integration
  • lib/package-manager-detector.js: Package manager detection
  • lib/formatters.js: Output formatting

Development Workflow

  • This project uses pnpm as its package manager
  • Development mode: pnpm dev (auto-restart on changes)
  • Run tests: pnpm test
  • Watch mode: pnpm test:watch

Adding New Tools

  1. Define tool schema in setupHandlers() in index.js
  2. Add handler method (e.g., handleNewTool())
  3. Add to switch statement in request handler
  4. Update README.md documentation
  5. Add tests in test/ directory

Read the full file on GitHub · 81 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. 3d ago First seen · 81 lines · 583 tokens per session scan A 20a8bc0bcb7d

Subscribe to this mod's changes

ember-mcp copilot-instructions.md is an instructions file published in the GitHub repository ember-tooling/ember-mcp (27 stars, last pushed 16d ago), licensed MIT. It adds 583 tokens to every session, about $0.0029 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-30.