plain

Guidelines for using Plain, a support platform, to manage customer records, companies, support conversations, assignments, labels, notes, and help content.

In plain words
What is it for?
Finding and updating customers, companies, and support threads, drafting or sending replies, changing thread status, and managing support metadata.
Why use it?
They give the coding assistant instructions for handling support-work tasks consistently inside Plain.

Cursor rule

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/team-plain/cursor-plugin-mcp/plain
Clone the repo
git clone --depth 1 https://github.com/team-plain/cursor-plugin-mcp
Per session 720 This file is loaded in full into every session.
When invoked 720 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.00720 $0.00720
Opus 5 $0.00360 $0.00360
Sonnet 5 $0.00144 $0.00144
Haiku 4.5 $0.00072 $0.00072

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

Security

Grade A, and why

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

rules/plain.mdc · 64 lines

How it starts

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

Plain MCP

You have access to the Plain MCP server which connects to the user's Plain workspace. Use these tools to help with customer support workflows.

Available tools

Threads

  • getThreads / getThreadDetails / searchThreads: Query and search support threads.
  • replyToThread: Send a reply to a customer thread.
  • addGeneratedReply: Add an AI-generated draft reply for review.
  • assignThread / unassignThread: Assign or unassign threads to team members.
  • markThreadAsDone / markThreadAsTodo: Change thread status.
  • snoozeThread: Snooze a thread until a specified time.
  • changeThreadPriority: Adjust thread priority.
  • addLabels / removeLabels: Manage thread labels.
  • createNote: Add an internal note to a thread.

Customers

  • getCustomers / getCustomerDetails / searchCustomers: Look up customer information.
  • getCustomerThreads: Get all threads for a specific customer.
  • upsertCustomer: Create or update a customer record.

Tenants

  • getTenants / getTenantDetails / searchTenants: Query tenant (company) information.
  • upsertTenant: Create or update a tenant.
  • upsertTenantField: Set custom fields on a tenant.

Thread fields

  • getThreadFieldSchemas: List available thread field schemas.
  • createThreadFieldSchema / updateThreadFieldSchema / deleteThreadFieldSchema: Manage thread field schemas.
  • upsertThreadField / bulkUpsertThreadFields: Set custom field values on threads.
  • reorderThreadFieldSchemas: Change the display order of thread fields.

Labels

  • getLabels: List all label types.
  • createLabelType / updateLabelType: Manage label types.
  • archiveLabelType / unarchiveLabelType: Archive or restore label types.
  • moveLabelType: Reorder a label type.

Help center

  • getHelpCenters / getHelpCenterArticles / getHelpCenterArticle: Browse help center content.
  • getHelpCenterArticleBySlug: Look up an article by its URL slug.
  • getHelpCenterArticleGroups: Get article groupings.
  • upsertHelpCenterArticle: Create or update a help center article.

Read the full file on GitHub · 64 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. yesterday First seen · 64 lines · 720 tokens per session scan A 884bf7a4e158

Subscribe to this mod's changes

plain is a cursor rule published in the GitHub repository team-plain/cursor-plugin-mcp (2 stars, last pushed 5mo ago), licensed MIT. It adds 720 tokens to every session, about $0.0036 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.