@shotik/mcp
by rahimwws
README.md
# @shotik/mcp
An MCP server that gives any coding agent (Claude Code, Codex, Cursor and others) Shotik's SDK install recipes, guides
and wire protocol, so the agent adds Shotik Support and Analytics to an app by itself. Русская версия:
[README.ru.md](README.ru.md).
```sh
claude mcp add shotik -- npx -y @shotik/mcp
```
Any other MCP client:
```json
{ "mcpServers": { "shotik": { "command": "npx", "args": ["-y", "@shotik/mcp"] } } }
```
Then ask the agent: "Add Shotik support chat to this app." It needs two values from you: the public app key (`spk_…`,
from Shotik → Support → SDK) and your Shotik server URL.
| Tool | What it returns |
|---|---|
| `detect_project { path? }` | Which SDK fits the app folder (default: the current directory), whether it is already installed, and the install command |
| `list_sdks` | Every SDK with its package and install command |
| `get_recipe { sdk }` | The machine-readable recipe (`shotik.recipe/1`): detect rules, edits, commands and checks, step by step |
| `get_guide { sdk, lang? }` | The human guide and README, in `en` or `ru` |
| `get_protocol` | The wire protocol every SDK follows, for building or debugging an SDK |
| `store_check { app, lang?, country? }` | An App Store listing against its category: listing facts, category, what top apps in that subtype do, trial and subscription wording, last update, screenshots, rating and reviews. Ends with a `shotik://continue` link that opens it in Shotik |
The same files are resources: `shotik://recipe/<sdk>`, `shotik://guide/<sdk>`, `shotik://readme/<sdk>` (and `/ru`),
`shotik://protocol`.
| `sdk` | Package | Install |
|---|---|---|
| `react-native` | [@shotik/react-native](https://www.npmjs.com/package/@shotik/react-native) | `npx expo install @shotik/react-native` |
| `react-native-analytics` | `@shotik/react-native/analytics` | the same package |
| `swift` | [github.com/rahimwws/shotik-swift](https://github.com/rahimwws/shotik-swift) | Xcode → Add Package Dependencies…, from `0.2.0` |
| `flutter` | [shotik](https://pub.dev/packages/shotik) | `flutter pub add shotik` |
The server reads only the files bundled in the package and, for `detect_project`, the top level of the folder you pass.
It has no dependencies. Its only network calls are `store_check`'s reads of Apple's public App Store lookup and review
RSS (in-app purchase prices aren't public, so it never states them) and the two audit tools' calls to `SHOTIK_WEB`.
## Web audit
shotik.app/start gives you a code and a prompt for your agent. With the code:
| Tool | What it does |
|---|---|
| `shotik_audit_checklist { code, stack? }` | Tells shotik.app the agent connected, then returns the onboarding, paywall, purchase and Apple-rule checklist (per-stack look-fors, why each costs money, `brain:<topic>/<id>` evidence, fixes) and the findings schema |
| `shotik_storyboard_recipe { stack? }` | Returns the storyboard recipe (`brain/storyboard/RECIPE.md`): the agent reconstructs from the code what a brand-new person sees from the first cold launch to the price, the purchase sheet and the first screen after it, and saves it as one JSON file. Then it runs `npx @shotik/cli walk --storyboard <file>`: for Expo / React Native the CLI renders the app locally with react-native-web, walks simulated people through it from a cold first launch and writes a report ranked by user moment |
| `shotik_publish_findings { code, app, findings, done? }` | Checks the findings against the server's schema (repo-relative file and line, title ≤120, why ≤600, diff ≤20 lines, no secrets), posts them and returns the project URL |
An audit has the agent do both: walk the checklist and write the storyboard. `shotik walk --publish <code>` posts the walk's
findings through the same schema. Only findings leave the machine, never repo files; the render and the walk run on the
founder's machine (`npx playwright install chromium` once; Chromium is never bundled). The recipe ships as
`audit/RECIPE.md` (refreshed from `brain/storyboard/RECIPE.md` at pack time). The checklist is `brain/audit/checklist.json` when bundled, else
`audit/checklist.json`. `SHOTIK_WEB` overrides the base URL (default `https://shotik.app`).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues