zapsign-mcp-project

Persistent project instructions for a ZapSign MCP server. They describe its architecture, technologies, API references, authentication, and the document, signer, and template tools it contains.

In plain words
What is it for?
Use them when implementing or reviewing ZapSign MCP features, especially TypeScript, Cloudflare Workers, OAuth, MCP, or ZapSign API work.
Why use it?
They give coding agents the project context and required references before making changes to the server.

Cursor rule for Cursor

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 rules/zapsign/api-mcp/zapsign-mcp-project
Clone the repo
git clone --depth 1 https://github.com/ZapSign/api-mcp

Made for: Cursor.

Per session 507 This file is loaded in full into every session.
When invoked 507 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.00507 $0.00507
Opus 5 $0.00253 $0.00253
Sonnet 5 $0.00101 $0.00101
Haiku 4.5 $0.00051 $0.00051

Measured yesterday against content hash c010789081bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

zapsign-mcp-project 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 yesterday.

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.

.cursor/rules/zapsign-mcp-project.mdc · 36 lines

What it actually says

ZapSign MCP Server — Project Context

Key Context (read before ANY task)

  • @file AGENTS.md — Coding standards, dev commands, task protocol, and commit convention
  • The assigned task, issue, or pull request — Scope, acceptance criteria, dependencies, and blockers
  • Relevant code, tests, and documentation — Current contract for the affected area

Architecture Summary

Remote MCP server: Claude AI → OAuth 2.1 (Cloudflare OAuthProvider) → ZapSign API v1. Stack: TypeScript strict, Cloudflare Workers, @modelcontextprotocol/sdk ^1.27.0, agents 0.6.0. 12 tools across 3 domains: documents (5), signers (4), templates (3).

Key References (fetch when implementing MCP or auth features)

Before Implementing ANY Task

  1. Read AGENTS.md and the assigned task before inspecting or changing code
  2. Record a focused failing test or executable evidence check before making a change
  3. Follow the checkpoint protocol after completing the task
  4. Do not run tests against the real ZapSign API unless the task explicitly authorizes them and the sandbox preflight passes
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. yesterday First seen · 36 lines · 507 tokens per session scan A c010789081bd

Subscribe to this mod's changes

zapsign-mcp-project is a cursor rule published in the GitHub repository ZapSign/api-mcp (1 stars, last pushed 4d ago), licensed MIT. It adds 507 tokens to every session, about $0.0025 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.