binance-mcp-server copilot-instructions.md

binance-mcp-server copilot-instructions.md is an instructions file for GitHub Copilot from AnalyticAce/binance-mcp-server. It costs 1,190 tokens per session, scanned A, original, MIT.

Project-specific coding instructions for a Python server built with FastAPI and FastMCP, including guidance on readability, structure, error handling, and dependencies. FastMCP is a Python framework for building Model Context Protocol servers.

In plain words
What is it for?
Use it when developing or reviewing this Binance MCP server, especially its Python code, API behavior, exception handling, dependencies, and MCP integration.
Why use it?
It gives contributors shared expectations for maintaining and extending the server. The excerpt also points to the Model Context Protocol quickstart for server implementation guidance.

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/analyticace/binance-mcp-server/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/AnalyticAce/binance-mcp-server

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/analyticace/binance-mcp-server/copilot-instructions.svg)](https://agentmods.dev/instructions/analyticace/binance-mcp-server/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/analyticace/binance-mcp-server/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/analyticace/binance-mcp-server/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,190 This file is loaded in full into every session.
When invoked 1,190 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.01190 $0.01190
Opus 5 $0.00595 $0.00595
Sonnet 5 $0.00238 $0.00238
Haiku 4.5 $0.00119 $0.00119

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

Security

Grade A, and why

binance-mcp-server 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 4d 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 · 134 lines

How it starts

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

Copilot Instructions - Best Development Practices

This guide establishes development standards and best practices for our tech stack: Python, FastAPI, FastMCP. Following these practices ensures maintainable, sustainable, and high-quality systems. when building the mcp server follow the guidelines available at https://modelcontextprotocol.io/quickstart/server using the #fetch tool

General Instructions

  • Always prioritize readability and clarity.
  • For algorithm-related code, include explanations of the approach used.
  • Write code with good maintainability practices, including comments on why certain design decisions were made.
  • Handle edge cases and write clear exception handling.
  • For libraries or external dependencies, mention their usage and purpose in comments.
  • If possible use available tools to search libary documentation to write and suggestion updated code.
  • Use consistent naming conventions and follow language-specific best practices.
  • Write concise, efficient, and idiomatic code that is also easily understandable.

Python Development

Code Style & Structure

  • Structure projects using a clear module hierarchy
  • Use the typing module for type annotations (e.g., List[str], Dict[str, int]).
  • Create meaningful docstrings (Google style recommended)
  • Break down complex functions into smaller, more manageable functions.
  • Maintain proper indentation (use 4 spaces for each level of indentation).
  • Place function and class docstrings immediately after the def or class keyword.
  • Use blank lines to separate functions, classes, and code blocks where appropriate.

Python Best Practices

  • Prefer explicit code over implicit
  • Use virtual environments venv
  • Use uv as a package manager for Python projects
  • Implement comprehensive error handling with specific exception types
  • Follow SOLID principles for OOP code
  • Leverage dataclasses for data containers
  • Use enums for related constants

Testing and Edge Cases

  • Write unit tests with pytest (aim for >80% coverage)
  • Implement integration and end-to-end tests
  • Use test fixtures for reusable test components
  • Mock external dependencies and services
  • Practice TDD where applicable
  • Always include test cases for critical paths of the application.
  • Account for common edge cases like empty inputs, invalid data types, and large datasets.
  • Include comments for edge cases and the expected behavior in those cases.
  • Write unit tests for functions and document them with docstrings explaining the test cases.

Read the full file on GitHub · 134 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. 4d ago First seen · 134 lines · 1,190 tokens per session scan A 997995bbfe83

Subscribe to this mod's changes

binance-mcp-server copilot-instructions.md is an instructions file published in the GitHub repository AnalyticAce/binance-mcp-server (47 stars, last pushed 1mo ago), licensed MIT. It adds 1,190 tokens to every session, about $0.0060 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.

Related

Other instructions, from other repositories

binance-trading-bot AGENTS.md

AGENTS.md instructions for chrisleekr/binance-trading-bot, covering engineering charter, project, architecture principles, core invariants and stack.

chrisleekr/binance-trading-bot · 4,323 tokens

binance-trading-bot CLAUDE.md

Claude Code instructions for chrisleekr/binance-trading-bot, a project described as: Automated Binance trading bot with pluggable strategies, historical backtesting, and a live dashboard.

chrisleekr/binance-trading-bot · 3 tokens

binance-trading-bot GEMINI.md

Gemini CLI instructions for chrisleekr/binance-trading-bot, a project described as: Automated Binance trading bot with pluggable strategies, historical backtesting, and a live dashboard.

chrisleekr/binance-trading-bot · 3 tokens

binance-net

Use Binance.Net when generating C#/.NET code that interacts with the Binance cryptocurrency exchange — including Spot, Margin, USD-M Futures, COIN-M Futures, Options, sub-accounts, brokerage, REST endpoints, WebSocket subscriptions, account management, market data, or order placement. Triggers on any request…

JKorf/Binance.Net · 2,351 tokens

Binance.Net copilot-instructions.md

Instructions for JKorf/Binance.Net, covering copilot instructions for binance.net, use binance.net, not raw http, client setup, result handling and api structure.

JKorf/Binance.Net · 640 tokens

CryptoExchanges.Net CLAUDE.md

Instructions for OrodruinLabs/CryptoExchanges.Net, covering cryptoexchanges.net — project instructions, git convention and code conventions.

OrodruinLabs/CryptoExchanges.Net · 489 tokens