sprout-mcp-server AGENTS.md

sprout-mcp-server AGENTS.md is an instructions file for Codex, OpenCode from oliverames/sprout-mcp-server. It costs 945 tokens per session, scanned A, original, MIT.

Project instructions for a TypeScript server that connects coding agents to Sprout Social, a social-media management service. They describe its setup, structure, authentication, tests, and API tools.

In plain words
What is it for?
Building, testing, inspecting, running, authenticating, and publishing the Sprout Social MCP server.
Why use it?
They give an agent the project rules and commands needed to work in the codebase without guessing how it is organised or checked.

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/oliverames/sprout-mcp-server/agents-md.svg)](https://agentmods.dev/instructions/oliverames/sprout-mcp-server/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/oliverames/sprout-mcp-server/agents-md"><img src="https://agentmods.dev/badge/instructions/oliverames/sprout-mcp-server/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 945 This file is loaded in full into every session.
When invoked 945 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.00945 $0.00945
Opus 5 $0.00473 $0.00473
Sonnet 5 $0.00189 $0.00189
Haiku 4.5 $0.00094 $0.00094

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

Security

Grade A, and why

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

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

AGENTS.md · 77 lines

How it starts

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

Sprout Social MCP Server

Quick Start

  • npm install — install deps
  • npm run build — compile TypeScript
  • npm run check — build, test, audit production dependencies, and inspect the npm package
  • npm run dev — watch mode (tsc --watch)
  • npm test — run tests (vitest run)
  • npm run test:watch — tests in watch mode
  • npm run login — execute interactive user login flow
  • npm start — run server (uses static token, M2M OAuth, or saved user login)
  • npm run publish:npm — publish to npm as @oliverames/sprout-mcp-server

Architecture

  • TypeScript MCP server using stdio transport
  • 28 tools across 6 API domains: 27 API/workflow tools plus authentication status
  • Filter builder translates friendly params to Sprout's custom DSL
  • Triple auth: API token, OAuth M2M, or Interactive User OAuth (zero-config persistence)

Source Structure

src/
  index.ts              Entry point — auth, customer discovery, tool registration
  constants.ts          API URLs, rate limits, validation constraints
  types.ts              Shared TypeScript interfaces
  schemas/common.ts     Reusable Zod schemas for tool input validation
  services/
    auth.ts             API token + OAuth M2M token management
    api-client.ts       HTTP client with retries, rate limiting, 202 polling
    filter-builder.ts   Translates typed params → Sprout's filter DSL
    formatter.ts        Markdown/JSON formatting + truncation
  tools/
    catalog.ts          Catalog inventory and registration
    metadata.ts         8 tools — account structure discovery
    analytics.ts        4 tools — profile, post, and reporting
    messages.ts         2 tools — inbox message queries and pagination
    listening.ts        3 tools — topic messages, metrics, and trends
    publishing.ts       8 tools — drafts, campaigns, and media upload
    cases.ts            2 tools — case queries and triage
tests/
  tools/                Per-domain test files (mirrors src/tools/)
  services/             Per-service test files (mirrors src/services/)

Read the full file on GitHub · 77 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 · 77 lines · 945 tokens per session scan A 1063a284dd88

Subscribe to this mod's changes

sprout-mcp-server AGENTS.md is an instructions file published in the GitHub repository oliverames/sprout-mcp-server (0 stars, last pushed yesterday), licensed MIT. It adds 945 tokens to every session, about $0.0047 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.