AGENTS_MCP_GUIDE

A guide for specialized STM32 coding agents that explains how to use an MCP server for STM32 documentation. STM32 is a family of microcontrollers used in embedded devices, and the guide covers document search, peripheral details, code examples, and related resources.

In plain words
What is it for?
For looking up STM32 documentation, peripheral information, code examples, errata, and troubleshooting material through the `stm32-docs` server.
Why use it?
It shows agents where to find STM32 documentation and how to request it, reducing guesswork when working with microcontroller hardware.

Agent

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 agents/creativec09/stm32/agents_mcp_guide
Clone the repo
git clone --depth 1 https://github.com/creativec09/stm32
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,149 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.04149
Opus 5 $0.00000 $0.02074
Sonnet 5 $0.00000 $0.00830
Haiku 4.5 $0.00000 $0.00415

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

Security

Grade A, and why

AGENTS_MCP_GUIDE 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 2d 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.

mcp_server/agents/AGENTS_MCP_GUIDE.md · 587 lines

How it starts

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

STM32 Agents - MCP Integration Guide

Overview

All STM32 specialized agents have access to the stm32-docs MCP server for documentation retrieval. This guide provides comprehensive documentation for all MCP tools, resources, and best practices.

MCP Server Details

  • Server Name: stm32-docs
  • Tool Access Pattern: mcp__stm32-docs__<tool_name>
  • Resource Access Pattern: stm32://<resource_path>
  • Purpose: Query STM32 documentation, code examples, errata, and troubleshooting databases

Available MCP Tools

Core Search Tools

Tool Purpose Parameters Return Type
search_stm32_docs Semantic search across all documentation query (str), num_results (int, default=5), peripheral (str, optional), require_code (bool, default=False) Formatted markdown with relevance scores
get_peripheral_docs Get comprehensive peripheral documentation peripheral (str), topic (str, optional), include_code (bool, default=True) Markdown documentation sections
get_code_examples Find code examples topic (str), peripheral (str, optional), num_examples (int, default=3) Code examples with source citations
get_register_info Get register-level documentation register_name (str) Register bit fields and configuration
list_peripherals List available peripherals with doc counts None Peripheral list with chunk counts

HAL/LL Function Tools

Tool Purpose Parameters Return Type
search_hal_function Search for HAL/LL function documentation function_name (str) Function docs with parameters and examples
lookup_hal_function Enhanced HAL/LL lookup with peripheral context function_name (str) Detailed function documentation

Initialization and Configuration Tools

Tool Purpose Parameters Return Type
get_init_sequence Get complete initialization sequence peripheral (str), use_case (str, optional) Init code with clock, GPIO, peripheral setup
get_clock_config Get clock configuration guidance target_frequency (str, optional), clock_source (str, optional) Clock tree configuration code
get_init_template Get complete peripheral init template peripheral (str), mode (str, optional) Full initialization template

Read the full file on GitHub · 587 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. 2d ago First seen · 587 lines · 0 tokens per session scan A 3112617b7e9a

Subscribe to this mod's changes

AGENTS_MCP_GUIDE is an agent published in the GitHub repository creativec09/stm32 (11 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,149 tokens. 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 agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens