sn-mcp-server AGENTS.md

sn-mcp-server AGENTS.md is an instructions file for Codex, OpenCode from signnow/sn-mcp-server. It costs 2,766 tokens per session, scanned A, original, MIT.

Project instructions for a SignNow MCP server, a service that translates AI-agent requests into SignNow API calls. They define response formatting, version boundaries, tests, and automatic checks run before commits and pushes.

In plain words
What is it for?
Use them when developing or reviewing the server, especially when changing tool behavior, response models, versioned interfaces, tests, linting, or commit and push checks.
Why use it?
They help keep responses useful to agents and catch formatting, type, import, and test problems early in development.

Instructions file for CodexOpenCode

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/signnow/sn-mcp-server/agents-md
Clone the repo
git clone --depth 1 https://github.com/signnow/sn-mcp-server

Made for: Codex, OpenCode.

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 sn-mcp-server AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/signnow/sn-mcp-server/agents-md.svg)](https://agentmods.dev/instructions/signnow/sn-mcp-server/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/signnow/sn-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/signnow/sn-mcp-server/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,766 This file is loaded in full into every session.
When invoked 2,766 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.02766 $0.02766
Opus 5 $0.01383 $0.01383
Sonnet 5 $0.00553 $0.00553
Haiku 4.5 $0.00277 $0.00277

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

Security

Grade A, and why

sn-mcp-server AGENTS.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.

AGENTS.md · 105 lines

How it starts

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

SignNow MCP Server

Stateless translation layer between AI agents and the SignNow API. Every tool response is curated through tools/models.py — never pass raw API JSON. Omit nulls, empty lists, and metadata the agent won't act on.

Agent-first

100% of the code is agent-written. When something comes out wrong, the fix belongs in automatic feedback (lint rules, type constraints, tests, import-linter contracts), not only in the code. Prose guidance in this file is the fallback, not the first line of defence.

Before closing a task where the human corrected you, ask: "what rule would have prevented this?" and propose adding it.

Self-check pyramid

Three layers, each bounded by what stays fast for its trigger. The point is to catch in the same conversation what CI would catch minutes later.

Trigger What runs Where defined Budget
git commit ruff-format + ruff on staged files; mypy src/ (~1 s); pytest tests/unit (~4 s) .pre-commit-config.yaml (stages: [pre-commit]) <10 s
git push full pytest (unit + integration + api) with coverage ≥70 %; lint-imports full-graph boundary check .pre-commit-config.yaml (stages: [pre-push]) <30 s
PR / push to main everything above + full-repo ruff + mypy + diff-coverage ≥80 % vs origin/main, posted as sticky PR comment .github/workflows/ci.yml <10 min

Install hooks with pre-commit install --install-hooks (SessionStart hook does this automatically in a fresh Claude Code session). Bypass with --no-verify only in genuine emergencies — if a hook is consistently wrong, fix the hook.

Enforced invariants

Rules in ## Boundaries below that can be checked mechanically, are — an edit that violates one fails immediately:

  • signnow_client → sn_mcp_server is forbiddenimport-linter contract in pyproject.toml.
  • sn_mcp_server.tools → starlette/uvicorn is forbidden — same contract set.
  • Every MCP tool returns a curated Pydantic model from sn_mcp_server.toolstests/unit/sn_mcp_server/test_tool_response_shapes.py parametrizes over register_tools() and fails on raw dict/list/Any returns.
  • Static types are cleanmypy src/ in strict mode, zero errors. New # type: ignore requires an inline reason.
  • Lint is clean repo-wideruff check src/ tests/ (no diff-only escape hatch). New # noqa requires a reason.
  • Coverage doesn't regress — global ≥70 % ([tool.coverage.report] fail_under), patch ≥80 % (CI diff-cover).

Read the full file on GitHub · 105 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 · 105 lines · 2,766 tokens per session scan A 2c381b6398bd

Subscribe to this mod's changes

sn-mcp-server AGENTS.md is an instructions file published in the GitHub repository signnow/sn-mcp-server (8 stars, last pushed 1mo ago), licensed MIT. It adds 2,766 tokens to every session, about $0.0138 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-31.

Related

Other instructions, from other repositories