basercms-mcp: Instructions file for GitHub Copilot

.github/copilot-instructions.md

basercms-mcp copilot-instructions.md is an instructions file for GitHub Copilot from ecatchup/basercms-mcp. It costs 552 tokens per session, scanned A, original, MIT.

A project instruction file for building Model Context Protocol servers in CakePHP and baserCMS, a content-management system. It describes the required libraries, tool layout, naming rules, and testing method.

In plain words
What is it for?
Use it when adding baserCMS tools, organizing source files, handling uploads, or testing the MCP server.
Why use it?
It gives coding agents project-specific rules for implementing and checking new server functions consistently.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is ecatchup/basercms-mcp's own configuration. It tells GitHub Copilot how to work on basercms-mcp 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 basercms-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ecatchup/basercms-mcp. 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/ecatchup/basercms-mcp/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/ecatchup/basercms-mcp

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 basercms-mcp copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ecatchup/basercms-mcp/copilot-instructions/github.svg)](https://agentmods.dev/instructions/ecatchup/basercms-mcp/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/ecatchup/basercms-mcp/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/ecatchup/basercms-mcp/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 basercms-mcp copilot-instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ecatchup/basercms-mcp/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/ecatchup/basercms-mcp/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 552 This file is loaded in full into every session.
When invoked 552 The same file — it is already loaded in full.
Security scan A 0 findings. 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.00552 $0.00552
Opus 5.5 $0.00221 $0.00221
Sonnet 5.5 $0.00110 $0.00110
Haiku 4.5 $0.00055 $0.00055

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

Security

Grade A, and why

basercms-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 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.

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 · 41 lines

What it actually says

Copilot Instructions

フレームワーク

CakePHP 5系 baserCMS 5系

ドキュメント

MCPの実装について

  • MCPの実装には、basercms-js-sdk を使用します。
  • MCPサーバーのライブラリには、modelcontextprotocol/sdk を利用します。
  • MCPサーバーとして利用できる機能は、src/tools/ に配置します。
  • baserCMSのエンティティを操作する機能は、baserCMSのプラグインごとにフォルダで分類し(bc-blog等)、エンティティごとに複数形でファイルを作成します(blog-posts.ts)、

機能の命名規則

  • 単一取得:get{EntityName}
  • 複数取得:get{EntityNames}
  • 作成:add{EntityName}
  • 更新:edit{EntityName}
  • 削除:delete{EntityName}

動作確認

  • MCPサーバーの動作確認は、src/index.ts を実行することで行います。その際、.env を読み込む仕様になっています。
  • 各機能の動作確認は、src/index.ts に、MCPサーバーのパラメーターを標準入力より渡すか、request.json にMCPサーバーのパラメーターを記述した上で、src/index.ts に引数として渡すことで行います。
  • 動作確認の際は、ts-node を利用する前提とします。
  • 新しいメソッドを実装したら、そのまま、動作確認を行います。その際、新しくファイルを作らず直接実行しないでください。
  • やむを得ず、新しくファイルを作成する必要があった場合には、実行後に削除してください。
  • 結果の確認は最後のターミナルコマンドから取得します。
  • 動作確認のコマンド実行に限り、承認を得ず実行することができます。

注意事項

ファイルアップロードについて

ファイルアップロードの際は、Node.js の場合、fs を利用してアップロードします。

import fs from 'fs';
const value = fs.createReadStream('./asset_sample/test.jpg');
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 · 41 lines · 552 tokens per session scan A a1b312a6ea4f

Subscribe to this mod's changes

basercms-mcp copilot-instructions.md is an instructions file published in the GitHub repository ecatchup/basercms-mcp (0 stars, last pushed 1y ago), licensed MIT. It adds 552 tokens to every session, about $0.0022 per session on Opus 5.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.

Related

basercms-mcp copilot-instructions.md compared with instructions from other repositories

basercms-mcp copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
basercms-mcp copilot-instructions.mdecatchup/basercms-mcpInstructions file01y agoMITA552GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot