← Files sniff.tradeARCHIVED FILE
README.md
34 KB · Dec 1, 2026 · 00:14 UTC
# The sniff.trade plugin
This folder is the public sniff.trade plugin for ChatGPT, Codex and Claude (display name `sniff.trade`; `sniff` is only its package identifier). It packages eighteen skills and a getting-started skill around the read-only MCP server at `https://sniff.trade/api/mcp`. With it, an assistant can ask sniff.trade for what it already holds: the coins it covers and their stored measurements, what people wrote about them on FOMO and pump.fun, which themes and chains people write about, fear and greed by chain, how the bot's past calls were measured, the bot's daily recaps and published research. Version 0.4.0 adds a login: with a sniff account, the same server also reads a coin's live price, candles, details, contract checks, holders, traders and trades, wallets, public posts on X, Reddit, TikTok, YouTube and Telegram, the web, one coin's whole picture in one read, and callers' records.
The free tools start no live read, no coin analysis and no research job. The login tools read live, only for a person logged in to sniff, and only read. The plugin carries no trade buttons, venue links or prompts to sign up, and it never presents a coin as a buy.
## What is in this folder
| Path | What it is |
| --- | --- |
| `plugin.json` | The portable manifest (Agent Plugins 1.0.0). OpenAI reads its listing, review and publication fields under `extensions.com.openai`. |
| `mcp.json` | The MCP server for OpenAI: `streamable-http` at `https://sniff.trade/api/mcp`, auth `mixed` with dynamic client registration: the free tools need no login, the login tools use sniff's own OAuth login. |
| `.claude-plugin/plugin.json` | The same plugin for Claude Code and Anthropic's directory, with the server declared inline as `type: "http"`. |
| `skills/getting-started/` | What the plugin does and three things to try. Declared as OpenAI's `onboardingSkill`. |
| `skills/what-is-this-coin/` | One coin: `find_coin`, then `read_coin_analysis`. |
| `skills/how-do-they-compare/` | Two to five coins in one table. |
| `skills/what-are-people-saying/` | What people wrote about a coin, or about a word across every coin: `read_coin_posts`, `search_posts`. |
| `skills/is-the-talk-growing/` | Posts counted over time for a word, a coin or a theme: `count_posts`. |
| `skills/which-themes-are-popular/` | Themes by how many coins people wrote about, and a theme's coins: `list_themes`, `list_theme_coins`. |
| `skills/what-just-launched/` | The coins that launched in a span, then up to eight of them written up as a brief: `list_launched_coins`, `read_coin_analysis`, `read_coin_posts`. |
| `skills/how-is-a-chain-doing/` | A chain's report, its fear and greed and its posts by day: `read_chain_report`, `read_fear_greed`, `count_posts_by_chain`. |
| `skills/how-has-the-bot-done/` | How the bot's past calls were measured and what that found: `read_track_record`. |
| `skills/what-has-sniff-written/` | The research and the daily recaps: `list_research`, `search_research`, `read_research`, `list_recaps`, `search_recaps`, `read_recap`. |
| `skills/whats-the-price-now/` | Needs a login. A coin's price now and how it moved: `read_coin_price`, `read_coin_candles` and the other price tools. |
| `skills/who-holds-it-now/` | Needs a login. A coin's holders, first buyers, traders and trades, and the holders coins share. |
| `skills/who-made-this-coin/` | Needs a login. A coin's details, contract checks, what its creator did and which coins reuse its logo. |
| `skills/what-does-this-wallet-hold/` | Needs a login. One wallet's holdings, positions, trades and worth over time. |
| `skills/what-are-people-posting-online/` | Needs a login. Public posts on X, Reddit, TikTok, YouTube and Telegram. |
| `skills/what-does-the-web-say/` | Needs a login. Web search and the text of a page. |
| `skills/tell-me-everything-about-a-coin/` | Needs a login. One coin's whole picture in one read: `read_coin_brief`. |
| `skills/how-has-this-caller-done/` | Needs a login. A caller's record by sniff's own ledger: `read_caller`, `list_callers`. |
| `skills/which-coins-match-these-figures/` | Needs a login. Every listed coin found by its figures or its name: `search_coins_by_figures`, `search_market_coins`. |
| `skills/*/agents/openai.yaml` | Each skill's display name, its starter prompt and the MCP server it depends on. |
| `assets/` | The logo on white and on dark, the composer glyph light and dark, and the vector nose. Made by `bun plugin/make-assets.ts` from the site's brand mark. |
| `REVIEW.md` | The test prompts and the checks before submitting, for the owner. Left out of the zip. |
| `LICENSE` | MIT, for the package only. The data stays sniff.trade's. |
The two schemas the manifests cite are vendored at `plugin/schema/`, and `test/plugin-package.test.ts` checks the whole package against them and against the portal's limits. `plugin/zip.sh` builds the upload.
## The tools
Version 0.3.0 names every tool for what it gives back: `find` a coin from what you know of it, `read` one thing or one report in full, `list` a set to browse, `search` words inside what was written, `count` posts over time. The nineteen below need no login.
| Tool | Its name before 0.3.0 | What it returns |
| --- | --- | --- |
| `find_coin` | `search_coins` | The coins sniff covers that match a ticker, a name or a contract address, and the coins people wrote about over the last 180 days, each with how many posts sniff holds about it. |
| `read_coin_analysis` | `get_coin` | One coin's stored facts and, where sniff made one, its analysis: measurements of its holders, money flow and supply, dated. No stage, verdict or grade. |
| `read_coin_posts` | `get_coin_posts` | What people wrote about one coin on FOMO and pump.fun, newest first: time, source, likes and text, never who wrote it, with the posts counted by day. |
| `search_posts` | same name | Posts whose words match, best match first, each with its coin and a short excerpt, never who wrote it. |
| `count_posts` | new in 0.3.0 | Posts counted by UTC day or hour for a word, a coin, a theme or a chain: how many on FOMO and on pump.fun, their likes and how many coins. Counts only. |
| `list_themes` | `get_themes` | How many coins people wrote about under each theme over the last two days, with each theme's most written-about coins. |
| `list_theme_coins` | `get_theme` | One theme's coins with their stored counts. |
| `list_launched_coins` | `get_launched_coins` | The coins people wrote about under a theme in the last two days that launched in a span, with each launch (its oldest DexScreener pool's opening, as sniff stored it), age, themes and stored counts. |
| `read_chain_report` | `get_chains` | Each chain's report: holders against flippers, holder strength, and the results of past calls, which promise nothing. |
| `read_fear_greed` | `get_fear_greed` | Each chain's fear and greed reading from 0 to 100 against its own recent past, its zone, its line over a window and, for one chain, the ten inputs it is made of. Not a forecast. |
| `count_posts_by_chain` | new in 0.3.0 | For each UTC day, every FOMO post and, for each chain, the posts about its coins, the coins written about and the new ones. |
| `read_track_record` | `get_track_record` | How the bot's past calls were measured and how often they closed at 2× within a day, beside a random pick and the market. Past results promise nothing. |
| `list_research` | same name | The published research pieces: title, slug, date, summary, public address. |
| `read_research` | `get_research` | One published piece's text, in parts. |
| `search_research` | new in 0.3.0 | The newest pieces whose title, summary or text hold some words, with the passages and where each starts. |
| `list_recaps` | `get_recaps` | The bot's daily recaps since 3 September 2026: each day's points, the chains it names and its closing line. |
| `read_recap` | `get_recap` | One day's recap in full. |
| `search_recaps` | new in 0.3.0 | Every recap line that holds some words, newest day first. |
| `read_guide` | new in 0.3.0 | For a kind of question, the tools to call in order and the rules for the answer, and which tools need a login. Reads no data. |
### The tools that need a sniff login (0.4.0)
Thirty-nine more tools, listed to everyone, each declaring OAuth (`securitySchemes` `oauth2` with the scope `sniff.read`, on the tool and under `_meta`). Each description opens with the same words, "Needs a sniff login.". Called with nobody logged in, a tool answers "Log in to sniff to use this." with OpenAI's `mcp/www_authenticate` error, which makes the assistant offer its login; nothing is read and nothing is charged. Logged in, it runs the same tool the sniff Data API's connector runs, under the name below.
| Tool | The connector's tool it runs | What it is for |
| --- | --- | --- |
| `read_coin_price` | `token_price` | Read a coin's price now. |
| `list_coin_prices` | `tokens_prices` | List many coins' prices now. |
| `read_coin_price_at` | `token_price_at` | Read a coin's price at past moments. |
| `read_coin_price_history` | `token_price_history` | Read a coin's price over time. |
| `read_coin_candles` | `token_candles` | Read a coin's price candles. |
| `list_coin_candles` | `tokens_candles` | List candles for several coins. |
| `read_coin_details` | `token_metadata` | Read a coin's details. |
| `read_coin_security` | `token_security` | Read a coin's contract checks. |
| `list_coin_holders` | `token_holders` | List a coin's holders. |
| `list_coin_traders` | `token_traders` | List a coin's traders by profit. |
| `list_coin_trades` | `token_trades` | List a coin's trades. |
| `list_coin_first_buyers` | `token_first_buyers` | List a coin's first buyers. |
| `read_coin_creator_history` | `token_dev_history` | Read what a coin's creator did. |
| `find_logo_reuses` | `token_logo_reuses` | Find coins that reuse a logo. |
| `find_common_holders` | `common_holders` | Find holders coins share. |
| `search_market_coins` | `search_tokens` | Search every listed coin. |
| `search_coins_by_figures` | `search_tokens_by_figures` | Find coins by their figures. |
| `read_wallet_holdings` | `wallet_portfolio` | Read what a wallet holds. |
| `list_wallet_positions` | `wallet_positions` | List a wallet's positions. |
| `list_wallet_trades` | `wallet_trades` | List a wallet's trades. |
| `read_wallet_history` | `wallet_history` | Read a wallet's worth over time. |
| `list_wallet_deployed_coins` | `wallet_deployed_tokens` | List the coins a wallet launched. |
| `search_x_posts` | `x_search_posts` | Search posts on X. |
| `list_x_user_posts` | `x_user_posts` | List an X account's posts. |
| `read_x_profile` | `x_user_profile` | Read an X profile. |
| `read_x_post` | `x_post` | Read one X post. |
| `list_x_post_replies` | `x_post_replies` | List replies to an X post. |
| `search_reddit` | `reddit_search` | Search Reddit. |
| `list_reddit_comments` | `reddit_post_comments` | List a Reddit post's comments. |
| `search_tiktok` | `tiktok_search` | Search TikTok. |
| `list_tiktok_user_videos` | `tiktok_user_videos` | List a TikTok account's videos. |
| `list_tiktok_video_comments` | `tiktok_video_comments` | List a TikTok video's comments. |
| `search_youtube` | `youtube_search` | Search YouTube. |
| `list_telegram_posts` | `telegram_channel_posts` | List a Telegram channel's messages. |
| `search_web` | `web_search` | Search the web. |
| `read_web_page` | `web_page` | Read a web page. |
| `read_coin_brief` | `token_brief` | Read a coin's whole picture. |
| `list_callers` | `callers_list` | List callers by hit rate. |
| `read_caller` | `caller_profile` | Read a caller's record. |
**The names before 0.3.0 keep working.** OpenAI approved version 0.1.5 with eight tools under their first names (`search_coins`, `get_coin`, `get_themes`, `get_theme`, `get_chains`, `get_track_record`, `list_research`, `get_research`). OpenAI scans the live server every day; a tool dropped from its list leaves the approved plugin, and a new one waits for approval. So the server lists the eight first, exactly as approved, then the nineteen (`list_research` once), then the thirty-nine login tools, sixty-five in all, until the new names are live in ChatGPT. Then `MCP_OLD_NAMES` set to `off` on Vercel takes the eight out of the list. Every old name answers a call as it always did, listed or not.
A post comes without its author, and every post and recap text is treated before it is served: an @handle reads "a trader", profile, referral and venue links are taken out, and a wallet other than the coin's own reads "a wallet".
Every tool is annotated `readOnlyHint: true` and `destructiveHint: false`. The free tools are `openWorldHint: false` and public: no login, no account, no token, and each answer is data sniff already stored. The login tools are `openWorldHint: true` where they reach an outside service (the live market data, wallets, the social platforms and the web) and `false` for the two caller tools, which read sniff's own ledger. Outside the daily recaps, which are the bot's own past accounts as written, and the best run a caller's record names, the server never says which coins the bot called or what it wrote about them; the track record and the chain reports speak of the calls only in total. A coin's analysis comes back as measurements only (no stage, verdict, grade or band), and every past result says how it was measured and that it promises nothing. No answer links to a coin's page on sniff, which asks a signed-out reader to sign up; the research tools give each piece's public address. A coin whose ticker or name would not be printed on the site's front page comes back as "(withheld)", found by its address alone. The server introduces itself as `sniff.trade`, with a description and an icon for light and dark pages (`/plugin/icon-light.png`, `/plugin/icon-dark.png`). Its login is sniff's own OAuth server, the one the Data API's connector uses: protected resource metadata at `/.well-known/oauth-protected-resource/api/mcp` (and the same document at the root form), authorization server metadata at `/.well-known/oauth-authorization-server`, dynamic registration, PKCE S256, and tokens good at `https://sniff.trade/api/mcp` alone.
### Annotation justifications
The portal may ask for a one-line justification beside each tool's annotations (its `justification_required` check; the guidelines say they are no longer needed, so the two pages disagree). Each group has one line, true of its `readOnlyHint: true`, `destructiveHint: false` and its `openWorldHint`; a login tool's line says its read is counted on the person's own sniff account, since "changes nothing" would not be true of it. Paste it as it stands:
- The free tools (`openWorldHint: false`): Reads data sniff.trade has already stored; changes nothing; reaches no outside service.
- The live market and wallet tools (`openWorldHint: true`): Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service.
- The social and web tools (`openWorldHint: true`): Reads public posts or web pages live for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service.
- `read_coin_brief` (`openWorldHint: true`): Reads live market data and sniff.trade's stored data on one coin for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service.
- The two caller tools (`openWorldHint: false`): Reads sniff.trade's own stored ledger for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches no outside service.
| Tool | Justification |
| --- | --- |
| `find_coin` | Reads data sniff.trade has already stored; changes nothing; reaches no outside service. |
| `read_coin_analysis` | Reads data sniff.trade has already stored; changes nothing; reaches no outside service. |
| `read_coin_posts` | Reads data sniff.trade has already stored; changes nothing; reaches no outside service. |
| `search_posts` | Reads data sniff.trade has already stored; changes nothing; reaches no outside service. |
| `count_posts` | Reads data sniff.trade has already stored; changes nothing; reaches no outside service. |
| `list_themes` | Reads data sniff.trade has already stored; changes nothing; reaches no outside service. |
| `list_theme_coins` | Reads data sniff.trade has already stored; changes nothing; reaches no outside service. |
| `list_launched_coins` | Reads data sniff.trade has already stored; changes nothing; reaches no outside service. |
| `read_chain_report` | Reads data sniff.trade has already stored; changes nothing; reaches no outside service. |
| `read_fear_greed` | Reads data sniff.trade has already stored; changes nothing; reaches no outside service. |
| `count_posts_by_chain` | Reads data sniff.trade has already stored; changes nothing; reaches no outside service. |
| `read_track_record` | Reads data sniff.trade has already stored; changes nothing; reaches no outside service. |
| `list_research` | Reads data sniff.trade has already stored; changes nothing; reaches no outside service. |
| `read_research` | Reads data sniff.trade has already stored; changes nothing; reaches no outside service. |
| `search_research` | Reads data sniff.trade has already stored; changes nothing; reaches no outside service. |
| `list_recaps` | Reads data sniff.trade has already stored; changes nothing; reaches no outside service. |
| `read_recap` | Reads data sniff.trade has already stored; changes nothing; reaches no outside service. |
| `search_recaps` | Reads data sniff.trade has already stored; changes nothing; reaches no outside service. |
| `read_guide` | Reads data sniff.trade has already stored; changes nothing; reaches no outside service. |
| `read_coin_price` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `list_coin_prices` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `read_coin_price_at` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `read_coin_price_history` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `read_coin_candles` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `list_coin_candles` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `read_coin_details` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `read_coin_security` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `list_coin_holders` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `list_coin_traders` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `list_coin_trades` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `list_coin_first_buyers` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `read_coin_creator_history` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `find_logo_reuses` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `find_common_holders` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `search_market_coins` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `search_coins_by_figures` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `read_wallet_holdings` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `list_wallet_positions` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `list_wallet_trades` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `read_wallet_history` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `list_wallet_deployed_coins` | Reads live market data on a coin or a wallet for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `search_x_posts` | Reads public posts or web pages live for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `list_x_user_posts` | Reads public posts or web pages live for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `read_x_profile` | Reads public posts or web pages live for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `read_x_post` | Reads public posts or web pages live for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `list_x_post_replies` | Reads public posts or web pages live for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `search_reddit` | Reads public posts or web pages live for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `list_reddit_comments` | Reads public posts or web pages live for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `search_tiktok` | Reads public posts or web pages live for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `list_tiktok_user_videos` | Reads public posts or web pages live for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `list_tiktok_video_comments` | Reads public posts or web pages live for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `search_youtube` | Reads public posts or web pages live for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `list_telegram_posts` | Reads public posts or web pages live for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `search_web` | Reads public posts or web pages live for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `read_web_page` | Reads public posts or web pages live for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `read_coin_brief` | Reads live market data and sniff.trade's stored data on one coin for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches an outside service. |
| `list_callers` | Reads sniff.trade's own stored ledger for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches no outside service. |
| `read_caller` | Reads sniff.trade's own stored ledger for a person logged in to sniff; changes nothing it reads, and the read is counted on that person's sniff account; reaches no outside service. |
## Try it before you submit
### In ChatGPT on the web
1. Open [chatgpt.com/plugins](https://chatgpt.com/plugins), press the plus button and choose **Add custom MCP server**.
2. Name it, describe it, and under **Connection** enter `https://sniff.trade/api/mcp`.
3. Choose mixed authentication (unauthenticated and OAuth): the portal and ChatGPT read the rest from the server's metadata. Then **Create as a plugin**. Check the tools it found: sixty-five while the approved names are listed, fifty-eight after.
4. Start a new chat, type `@` and pick the plugin, then run the prompts in `REVIEW.md`. A login tool asks you to log in to sniff the first time; log in with a sniff account.
5. After a server change, open the connection again and press **Refresh**, then start a new chat.
### In the ChatGPT desktop app or Codex
The desktop app installs plugins from a marketplace file. Copy this folder to `~/.codex/plugins/sniff`, then write `~/.agents/plugins/marketplace.json`:
```json
{
"name": "local",
"plugins": [
{
"name": "sniff",
"source": { "source": "local", "path": "./plugins/sniff" },
"policy": { "installation": "AVAILABLE", "authentication": "ON_INSTALL" },
"category": "Finance"
}
]
}
```
Restart the app. In **Plugins**, pick the `local` source, install sniff and connect the server when asked. In the Codex CLI, run `codex` and enter `/plugins` to install it from the same marketplace. New chats and new CLI sessions see the skills.
### In Claude Code
From the repo root:
```sh
claude --plugin-dir plugin/sniff
```
Inside the session, run `/mcp` and check that `sniff` is connected. Then ask the questions in `REVIEW.md`. To check the manifest the way the directory does:
```sh
claude plugin validate --strict plugin/sniff
```
### The server alone
MCP Inspector calls each tool with inputs of your choosing and shows the raw result:
```sh
npx @modelcontextprotocol/inspector@latest
```
Choose the Streamable HTTP transport and the server URL.
## Build the zip
```sh
sh plugin/zip.sh
```
It writes `plugin/dist/sniff-plugin.zip` (ignored by git) with `sniff/` as the one top-level folder and leaves out `.claude-plugin/`, `REVIEW.md` and system files. The portal accepts a zip whose plugin root sits inside one top-level directory.
## Check the package
```sh
bun test --conditions=react-server test/plugin-package.test.ts
claude plugin validate --strict plugin/sniff
```
The test parses every JSON and YAML file and checks `plugin.json` and `mcp.json` against the vendored schemas. It holds the listing to the portal's limits: 30 characters for the display name and the short description, 4,000 for the long one, three starter prompts of 128, a brand colour with 2:1 contrast. It confirms that every picture is a square PNG of at least 48 pixels and that every skill names only the server's tools. It refuses an em dash anywhere.
## Submit to OpenAI
The plugin goes through the submission portal at [platform.openai.com/plugins](https://platform.openai.com/plugins). Everything below is for the owner; nothing in it needs a code change.
1. **Identity.** In the OpenAI Platform dashboard, complete business verification for sniff.trade (or individual verification for your own name). The directory shows the verified name as the developer. The submitting account needs **Apps Management write** or must be an organization owner, and the project must use global data residency.
2. **Upload.** Open **Plugins**, choose **Upload new or existing plugin**, pick the verified identity, choose **With MCP**, and upload `plugin/dist/sniff-plugin.zip`. The MCP server must be in this first upload; it cannot be added to a skills-only plugin later.
3. **Scan the server.** Enter `https://sniff.trade/api/mcp` and press **Scan Tools**. The scan imports the tools the server lists, their schemas, annotations and per-tool login: sixty-five while the approved names are listed, fifty-eight after. Where an annotation asks for a one-line justification, paste the line under "Annotation justifications" above.
4. **Verify the domain.** The portal issues a challenge token. Set it as the `OPENAI_APPS_CHALLENGE` environment variable on Vercel for production and redeploy; `https://sniff.trade/.well-known/openai-apps-challenge` then answers the token as plain text (the route is `app/.well-known/openai-apps-challenge/route.ts`). Press **Verify**.
5. **Authentication.** The portal reads it from `mcp.json`: mixed, with dynamic client registration against sniff's own login server. The free tools need no login; the login tools do.
6. **Listing.** The portal reads `displayName`, `shortDescription`, `longDescription`, the category, the capabilities, the four URLs, the starter prompts and the pictures from `plugin.json`. Check them; the developer name comes from the verified identity.
7. **Review details.** Enter the reviewer's sniff account (an email and a password that log in with no code, on an account that can run the login reads; see `REVIEW.md`). Enter the five positive and three negative test cases from `plugin.json` if the portal did not import them (the portal takes exactly that many), the demo recording URL, and the release notes.
8. **Attest and submit.** Resolve every blocking finding, complete the policy attestations and press **Submit for review**. Feedback comes by email; one review runs at a time. After approval, press **Publish**.
After a server change that adds or changes a tool, press **Rescan**; a new tool stays unavailable until it passes.
**Version 0.3.0 and 0.4.0, and the old names.** No switch is needed for either: every tool is listed as soon as the server is deployed. A change to the skills or the listing is a new version: raise `version` in both manifests, rebuild the zip and upload it to the existing plugin. Once ChatGPT shows the new names as live, set `MCP_OLD_NAMES` to `off` on Vercel for production, redeploy and press **Rescan**: the eight approved names leave the list, and every old name still answers a call.
## List it for Claude
Anthropic's directory lists a plugin from a public GitHub repository and the MCP server behind it as a connector. Both go through the developer portal at [claude.ai/directory/manage](https://claude.ai/directory/manage), from a paid claude.ai account.
1. **A public repository.** The directory reads the plugin folder from GitHub and the repository must be public before the listing goes live. Publish this folder to a public repository of its own (for example a mirror that holds only `plugin/sniff` at its root), connect that GitHub account to claude.ai, and keep the folder's contents identical to this one.
2. **The connector first.** Choose **Submit new**, then **MCP connector**, and enter `https://sniff.trade/api/mcp`. The connector gets its own listing, its health dashboard and the pairing with the plugin.
3. **The plugin bundle.** Choose **Submit new**, then **Plugin bundle**. Enter the repository, the plugin path (`.` if the mirror holds the folder at its root, `plugin/sniff` otherwise) and the branch to follow. Press **Validate** and fix anything it marks blocking.
4. **Listing, data handling and compliance.** The listing comes from `.claude-plugin/plugin.json` and this README. Answer the data-handling questions: the free tools read no personal data and ask for no login; the login tools read with the person's own sniff account, as the privacy policy's sections 08 and 09 say; the plugin sends data to no service other than its declared server, keeps nothing beyond server logs and the account's own record of its reads, and is not for people under 18. Check the contact email and the four acknowledgements.
5. **Submit.** Keep the GitHub push webhook on so later commits are picked up, and press **Submit for review**. A version that passes is published when you press **Publish**; a reviewer publishes the first one.
## Owner steps, in one place
- Verify the developer identity with OpenAI and hold the Apps Management write permission.
- Set `OPENAI_APPS_CHALLENGE` on Vercel when the portal issues the token.
- After OpenAI shows version 0.3.0's tools as live, set `MCP_OLD_NAMES` to `off` on Vercel for production and redeploy.
- For version 0.4.0, make the reviewer's sniff account (see `REVIEW.md`) and enter it under **Review details**, never in the package.
- Record the demo walkthrough and host it where a reviewer can watch it.
- Confirm that `legal@paste.trade`, the address `/support` publishes, is read.
- Choose the public GitHub repository the Claude directory reads from.
- Decide the licence. MIT covers the package; the data stays sniff.trade's under the terms.
SHA-256: a46d57d20546e5b3e0b1fe364db15a58de6cc0ab17a07f803553a6ac535e2fb8