@dynamoi/mcp 1.0.6 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,3 +1,10 @@
1
+ <p align="center">
2
+ <picture>
3
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/getDynamoi/dynamoi/main/.github/assets/hero-dark.png">
4
+ <img alt="Dynamoi: music promotion and distribution, built for AI agents" src="https://raw.githubusercontent.com/getDynamoi/dynamoi/main/.github/assets/hero-light.png" width="100%">
5
+ </picture>
6
+ </p>
7
+
1
8
  # Dynamoi MCP Server
2
9
 
3
10
  **Music promotion and distribution, built for AI agents.**
@@ -5,203 +12,196 @@
5
12
  [![npm version](https://img.shields.io/npm/v/@dynamoi/mcp?label=npm)](https://www.npmjs.com/package/@dynamoi/mcp)
6
13
  [![license](https://img.shields.io/npm/l/@dynamoi/mcp)](./LICENSE)
7
14
  [![MCP Registry](https://img.shields.io/badge/MCP_Registry-io.github.getDynamoi%2Fdynamoi-blue)](https://registry.modelcontextprotocol.io/v0/servers?search=io.github.getDynamoi/dynamoi)
8
- [![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/install-mcp?name=dynamoi&config=eyJ1cmwiOiJodHRwczovL2R5bmFtb2kuY29tL21jcCJ9)
9
- [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_Server-0098FF?logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=dynamoi&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fdynamoi.com%2Fmcp%22%7D)
10
15
 
11
- Music promotion and distribution from your AI agent. Connect Claude, ChatGPT, Codex or Cursor
12
- to check results and manage Smart Links and, where your assistant allows
13
- purchases, launch and fund Spotify and YouTube campaigns with the artist's
14
- explicit consent. Distribution is optional and application-based: artists who
15
- distribute with Dynamoi can manage releases there too. Use the hosted MCP server, or use this package as a library.
16
+ Dynamoi's MCP server lets your AI assistant promote music for independent
17
+ artists, labels and managers. Ask it how a campaign is doing, build free
18
+ Smart Links, and, with the artist's explicit consent, launch real Spotify and
19
+ YouTube ad campaigns. It works with whatever distributor the artist already uses.
16
20
 
17
21
  ```txt
18
22
  https://dynamoi.com/mcp
19
23
  ```
20
24
 
21
- The hosted server needs no install. Point any MCP client that supports remote
22
- Streamable HTTP and OAuth at that URL, and the user signs in with their
25
+ The server is hosted, so there is nothing to install. Add the URL to any MCP
26
+ client that supports remote Streamable HTTP and OAuth, then sign in with your
23
27
  Dynamoi account.
24
28
 
25
- ## About Dynamoi
26
-
27
- Dynamoi is a music promotion platform founded in 2021 by Trevor Loucks. It
28
- runs managed Meta and YouTube ad campaigns for independent artists, labels,
29
- managers, and YouTube creators on any distributor, alongside free Smart Links
30
- and analytics. Artists who want everything in one account can also distribute
31
- through Dynamoi.
32
-
33
- - **Free Smart Links:** release pages and artist hubs built from Spotify
34
- URLs, with link analytics, themes, validated pixel IDs, and team seats.
35
- - **Managed Smart Campaigns:** Meta ads that promote Spotify tracks, albums,
36
- and playlists.
37
- - **YouTube campaigns:** managed Google Ads campaigns for YouTube channel
38
- growth.
39
- - **Music distribution (optional):** delivery to 100+ stores. Applications are
40
- scored against five requirements, and approval is not guaranteed.
41
- - **YouTube promotion Shop:** one-off YouTube video promotion with no
42
- subscription.
43
-
44
- Campaigns run on Dynamoi's own managed Meta and Google ad infrastructure. They
45
- reach real people through official ad networks, never bots, fake streams, or
46
- paid playlist placement. Results vary and are never guaranteed.
47
-
48
- Dynamoi is based in Sioux Falls, South Dakota, and is operated by humans,
49
- assisted by AI. People make the decisions and are accountable for every
50
- campaign and support reply. AI helps with ad creative, campaign monitoring,
51
- reporting, and routine tasks.
52
-
53
- Smart Links are free. Starter is $25/month per artist, and your plan
54
- price becomes ad credit. Eligible new artists get double credit the first month.
55
- Campaign budgets start at $10/day. See
56
- [pricing](https://dynamoi.com/pricing).
57
-
58
- Agents can read the same overview before sign-in through the `dynamoi_about`
59
- tool or the `dynamoi://about` resource.
60
-
61
29
  ## Connect
62
30
 
63
- Each client opens the Dynamoi sign-in page on first use.
31
+ Each client opens the Dynamoi sign-in page the first time you use it.
64
32
 
65
- ### ChatGPT
33
+ <details>
34
+ <summary><b>Claude Code</b></summary>
66
35
 
67
- Open the [Dynamoi app in the ChatGPT directory](https://chatgpt.com/plugins/plugin_asdk_app_69ceb0e849788191aa3fd4d416204a9d).
68
- In developer mode you can instead add a custom app with the MCP server URL
69
- `https://dynamoi.com/mcp` and OAuth authentication. ChatGPT gets the
70
- [directory catalog](#which-tools-a-client-sees).
36
+ ```bash
37
+ claude mcp add --transport http dynamoi https://dynamoi.com/mcp
38
+ ```
39
+
40
+ Run `/mcp` in Claude Code to sign in. For the plugin with Dynamoi skills,
41
+ see [agent plugins](https://github.com/getDynamoi/agent-plugins).
71
42
 
72
- ### Claude (web and desktop)
43
+ </details>
44
+
45
+ <details>
46
+ <summary><b>Claude (web and desktop)</b></summary>
73
47
 
74
48
  Open **Settings → Connectors**, choose **Add custom connector**, and enter
75
49
  `https://dynamoi.com/mcp`.
76
50
 
77
- ### Claude Code
51
+ </details>
78
52
 
79
- ```bash
80
- claude mcp add --transport http dynamoi https://dynamoi.com/mcp
81
- ```
53
+ <details>
54
+ <summary><b>ChatGPT</b></summary>
82
55
 
83
- Then run `/mcp` in Claude Code to sign in.
56
+ Open the [Dynamoi app in the ChatGPT directory](https://chatgpt.com/plugins/plugin_asdk_app_69ceb0e849788191aa3fd4d416204a9d).
57
+ In developer mode you can instead add a custom app with the URL
58
+ `https://dynamoi.com/mcp` and OAuth sign-in.
84
59
 
85
- The Dynamoi plugin from the
86
- [agent plugins repository](https://github.com/getDynamoi/agent-plugins)
87
- bundles Dynamoi skills with the directory catalog on
88
- `https://dynamoi.com/mcp/directory`:
60
+ </details>
89
61
 
90
- ```txt
91
- /plugin marketplace add getDynamoi/agent-plugins
92
- /plugin install dynamoi@dynamoi
93
- ```
62
+ <details>
63
+ <summary><b>Codex CLI</b></summary>
94
64
 
95
- ### Cursor
65
+ ```bash
66
+ codex mcp add dynamoi --url https://dynamoi.com/mcp
67
+ codex mcp login dynamoi
68
+ ```
96
69
 
97
- Use the **Add to Cursor** badge above, or add Dynamoi to `~/.cursor/mcp.json`
98
- (or `.cursor/mcp.json` in a project):
70
+ </details>
99
71
 
100
- ```json
101
- {
102
- "mcpServers": {
103
- "dynamoi": {
104
- "url": "https://dynamoi.com/mcp"
105
- }
106
- }
107
- }
108
- ```
72
+ <details>
73
+ <summary><b>Cursor</b></summary>
109
74
 
110
- ### VS Code
75
+ [![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/install-mcp?name=dynamoi&config=eyJ1cmwiOiJodHRwczovL2R5bmFtb2kuY29tL21jcCJ9)
111
76
 
112
- Use the **Install in VS Code** badge above, or add Dynamoi to
113
- `.vscode/mcp.json`:
77
+ Or add this to `~/.cursor/mcp.json`:
114
78
 
115
79
  ```json
116
- {
117
- "servers": {
118
- "dynamoi": {
119
- "type": "http",
120
- "url": "https://dynamoi.com/mcp"
121
- }
122
- }
123
- }
80
+ { "mcpServers": { "dynamoi": { "url": "https://dynamoi.com/mcp" } } }
124
81
  ```
125
82
 
126
- ### Gemini CLI
83
+ </details>
127
84
 
128
- Install the Dynamoi extension from the
129
- [agent plugins repository](https://github.com/getDynamoi/agent-plugins):
85
+ <details>
86
+ <summary><b>VS Code</b></summary>
130
87
 
131
- ```bash
132
- gemini extensions install https://github.com/getDynamoi/agent-plugins
88
+ [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_Server-0098FF?logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=dynamoi&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fdynamoi.com%2Fmcp%22%7D)
89
+
90
+ Or add this to `.vscode/mcp.json`:
91
+
92
+ ```json
93
+ { "servers": { "dynamoi": { "type": "http", "url": "https://dynamoi.com/mcp" } } }
133
94
  ```
134
95
 
135
- ### Codex CLI
96
+ </details>
97
+
98
+ <details>
99
+ <summary><b>Gemini CLI</b></summary>
136
100
 
137
101
  ```bash
138
- codex mcp add dynamoi --url https://dynamoi.com/mcp
139
- codex mcp login dynamoi
102
+ gemini extensions install https://github.com/getDynamoi/agent-plugins --auto-update
140
103
  ```
141
104
 
142
- Or add the server to `~/.codex/config.toml` and run `codex mcp login dynamoi`:
105
+ Then run `/mcp auth dynamoi`.
143
106
 
144
- ```toml
145
- [mcp_servers.dynamoi]
146
- url = "https://dynamoi.com/mcp"
147
- ```
107
+ </details>
148
108
 
149
- ### OpenClaw
109
+ <details>
110
+ <summary><b>OpenClaw</b></summary>
150
111
 
151
112
  ```bash
152
113
  openclaw mcp add dynamoi --url https://dynamoi.com/mcp --transport streamable-http --auth oauth \
153
114
  --oauth-client-metadata-url https://dynamoi.com/api/oauth/clients/openclaw \
154
115
  --oauth-scope "offline_access dynamoi:read dynamoi:mcp.full dynamoi:billing.read dynamoi:campaign.launch dynamoi:campaign.write dynamoi:distribution.apply dynamoi:distribution.read dynamoi:platform.read dynamoi:platform.write dynamoi:smart_links.write"
155
116
  openclaw mcp login dynamoi
117
+ openclaw skills install @getdynamoi/dynamoi
156
118
  ```
157
119
 
158
- The metadata URL is Dynamoi's reviewed client document for OpenClaw, which
159
- recognizes OpenClaw by its published identity. OpenClaw gets Full access with
160
- or without it, because it signs in on your own computer.
120
+ The last line adds the [`dynamoi` skill](./skills/dynamoi/SKILL.md), which teaches
121
+ the agent Dynamoi's workflows and safety rules.
161
122
 
162
- The [`dynamoi` skill](./skills/dynamoi/SKILL.md) teaches OpenClaw agents the
163
- Dynamoi workflows and safety rules. Install it from ClawHub with
164
- `openclaw skills install @getdynamoi/dynamoi`.
123
+ </details>
165
124
 
166
- ### Command line
125
+ <details>
126
+ <summary><b>Terminal</b></summary>
167
127
 
168
- The [`dynamoi` CLI](./cli/README.md) signs in once with OAuth and runs any
169
- Dynamoi tool as a command, generated from the live tool schemas:
128
+ The [`dynamoi` CLI](./cli/README.md) runs every tool as a shell command:
170
129
 
171
130
  ```bash
172
- npm install --global dynamoi
173
- dynamoi login
174
- dynamoi tools
131
+ npx dynamoi login
175
132
  ```
176
133
 
177
- ### Other MCP clients
134
+ </details>
135
+
136
+ <details>
137
+ <summary><b>Any other MCP client</b></summary>
138
+
139
+ Add `https://dynamoi.com/mcp` as a remote Streamable HTTP server. The client
140
+ must handle the OAuth `401` challenge. Stdio-only clients need a
141
+ remote-to-stdio bridge. Per-client notes and OAuth scopes are in
142
+ [Connect your AI agent](https://dynamoi.com/docs/mcp-server/connect-your-agent).
178
143
 
179
- Use `https://dynamoi.com/mcp` as a remote Streamable HTTP server. The client
180
- must handle an OAuth 401 challenge (MCP authorization). Stdio-only clients
181
- need a remote-to-stdio bridge.
144
+ </details>
182
145
 
183
- ## Which tools a client sees
146
+ ## What you can ask
184
147
 
185
- Every client gets one of two tiers. The server picks it from the identity the
186
- OAuth client signs in with, not from anything the client claims about itself.
148
+ > How did the Smart Campaign for my new single do last week? Which countries brought the most Spotify listeners?
187
149
 
188
- | Tier | Who gets it | What it includes |
189
- | --- | --- | --- |
190
- | **Full** | Reviewed clients (Codex CLI, Claude on the web or desktop and Claude Code, OpenClaw via Dynamoi's client document) and any app that signs in on your own computer (loopback or `https://vscode.dev/redirect` return addresses, no device code), such as Claude Code, Codex, OpenClaw, Cursor, VS Code and Gemini CLI | All 38 tools, plus the Dynamoi prompts and reference resources, including campaign launches, budget changes and Shop checkout links |
191
- | **Directory** | ChatGPT, Claude added from the directory listing (`https://dynamoi.com/mcp/directory`), unreviewed web apps, device-code sign-ins and requests made before sign-in | 24 review-safe advertised tools: reads, Smart Links, distribution and About. No billing, campaign launch or changes, platform connection starters, or Shop checkout, and the scopes they need are never granted. |
150
+ > Make a Smart Link for this Spotify album and give me the link to share.
192
151
 
193
- Seeing a tool is not permission to call it. A Full client can approve every
194
- scope for its tools; a Directory client is never granted the scopes that Full
195
- tools need, so those calls are refused.
152
+ > Import my Spotify catalog as Smart Links and show me the artist hub.
196
153
 
197
- Signing in does not skip permission checks. Every tool call still needs its
198
- OAuth scopes, and the user's role must allow access to the artist, campaign,
199
- or Smart Link.
154
+ > Run a growth audit on my artist profile. What are the three things to fix first?
155
+
156
+ > Launch a $15/day Smart Campaign for my single in the US and Canada.
157
+
158
+ > My YouTube channel wants subscribers. Which campaign strategy fits, and what would $150 get me started with?
159
+
160
+ > Am I eligible for Dynamoi distribution yet?
161
+
162
+ ## What Dynamoi does
163
+
164
+ [Dynamoi](https://dynamoi.com) is a music promotion platform for independent
165
+ artists, labels, managers and YouTube creators, on any distributor.
166
+
167
+ - **Smart Campaigns.** The Dynamoi team runs Instagram and Facebook ads for
168
+ each release, optimized for listeners who go on to Spotify, not for likes.
169
+ - **YouTube campaigns.** Google video ads optimized for the goal the channel
170
+ picks: subscribers, organic views or measured AdSense return.
171
+ - **Free tools.** Smart Links, analytics and growth audits on every plan.
172
+ - **Distribution, if you want it.** Eligible artists can release to 100+
173
+ stores and keep their masters and 90% of net receipts. Artists who prefer
174
+ their current distributor keep it and use everything else.
175
+
176
+ Campaigns run on official Meta and Google ad networks, never bots, fake
177
+ streams or playlist pitching. Results are measured and shown as they are,
178
+ including what did not work.
179
+
180
+ ## Money and permissions
181
+
182
+ - **Smart Links are free.** Starter is $25/month per artist, and the plan
183
+ includes monthly campaign credit. Campaigns run from $10 a day. See
184
+ [pricing](https://dynamoi.com/pricing).
185
+ - **Nothing is charged without consent.** Every launch, budget change or
186
+ card-funded resume needs the artist to accept the exact consent text, which
187
+ the agent passes back as a version and hash. Without it the server refuses
188
+ the call and charges nothing. The consent values are exported from
189
+ `@dynamoi/mcp/consent`.
190
+ - **Agents never see payment details.** Plans and cards are set up only in the
191
+ [Dynamoi dashboard](https://dynamoi.com/dashboard). Shop checkout tools
192
+ return an unpaid Stripe link; the user pays on Stripe.
193
+ - **Each client gets one of two tool sets**, chosen from the identity it signs
194
+ in with. Reviewed clients and apps that sign in on your own computer
195
+ (Claude Code, Codex, Cursor, VS Code, Gemini CLI, OpenClaw and the `dynamoi`
196
+ CLI) get All 57 tools. ChatGPT, Claude added from its directory listing and other web apps get 24 review-safe advertised tools: reads, Smart Links,
197
+ distribution applications and About, with no billing, launches or checkout.
198
+ - **Sign-in is OAuth 2.1**, and every call still checks its scopes and the
199
+ user's role for that artist. See
200
+ [client permissions](https://dynamoi.com/docs/mcp-server/client-permissions).
200
201
 
201
202
  ## Tools
202
203
 
203
- "Reads" tools are marked read-only. "Changes data" tools write to Dynamoi or
204
- start an action with an outside provider.
204
+ "Reads" tools are read-only; "Changes data" tools write to Dynamoi or start a provider action. Full descriptions and input schemas come from `tools/list`.
205
205
 
206
206
  | Tool | What it does | Access | Catalog |
207
207
  | --- | --- | --- | --- |
@@ -213,12 +213,15 @@ start an action with an outside provider.
213
213
  | `search` / `fetch` | ChatGPT deep research search and fetch | Reads | Both |
214
214
  | `dynamoi_list_campaigns` | An artist's campaigns, with type and status filters | Reads | Both |
215
215
  | `dynamoi_get_campaign` | One campaign, with optional analytics, delivery status, and countries | Reads | Both |
216
- | `dynamoi_get_artist_analytics` | Artist-level analytics across campaigns | Reads | Both |
216
+ | `dynamoi_get_artist_analytics` | Artist campaign analytics; full profile also includes qualified artist-wide Smart Link totals and up to ten top links | Reads | Both |
217
217
  | `dynamoi_get_growth_audit` | Spotify growth score, recommendations, listener trends, and playlist reach with status and coverage evidence | Reads | Both |
218
218
  | `dynamoi_get_playlist_analytics` | Tracked playlist placements, reach, and movement with freshness and snapshot dates | Reads | Both |
219
219
  | `dynamoi_get_audience_analytics` | Streaming audience by date range, country, service, and paid/free tier | Reads | Both |
220
220
  | `dynamoi_get_youtube_channel_data` | Observed YouTube channel data by dataset, with coverage and campaign dates | Reads | Both |
221
+ | `dynamoi_onboard_artist` | Search or preview Spotify artists; intake Spotify or YouTube artists with workspace caps and claim checks | Changes data | Full |
221
222
  | `dynamoi_get_platform_status` | Spotify, Meta, and YouTube connection status and setup blockers | Reads | Both |
223
+ | `dynamoi_get_distribution_status` | Application, agreement, scoped catalog and latest release status; artist attestation and store delivery stay in web/app | Reads | Full |
224
+ | `dynamoi_prepare_distribution_release` | Private 30-minute metadata, track and split proposal handoff; the artist reviews and submits on web | Changes data | Full |
222
225
  | `dynamoi_get_distribution_application` | The five distribution requirements and application status | Reads | Both |
223
226
  | `dynamoi_apply_for_distribution` | Submit a distribution application for manual review | Changes data | Both |
224
227
  | `dynamoi_preview_smart_link_themes` | Visual preview of the Smart Link themes | Reads | Both |
@@ -229,185 +232,125 @@ start an action with an outside provider.
229
232
  | `dynamoi_update_smart_link_description` | Update one Smart Link's public description | Changes data | Directory |
230
233
  | `dynamoi_update_smart_link_artist_settings` | Update an artist's Smart Link theme or validated pixel settings | Changes data | Directory |
231
234
  | `dynamoi_update_smart_link` | Prior multi-action schema for description or artist settings | Changes data | Full |
235
+ | `dynamoi_smart_link_controls` | Native catalog sync, availability, tracking and promote analytics | Changes data | Full |
232
236
  | `dynamoi_update_smart_link_release_settings` | Update one Smart Link's release video or destination visibility | Changes data | Full |
233
237
  | `dynamoi_update_smart_link_artist_hub_settings` | Update an artist's hub introduction, official profile links or service order | Changes data | Full |
234
- | `dynamoi_get_billing` | Billing status, credit balance, and promo limits | Reads | Full |
238
+ | `dynamoi_get_action_center` | Artist Action Center revision, task states and distinct actions | Reads | Full |
239
+ | `dynamoi_get_earnings` | Authenticated payee own-USD earnings, month axis, filtered detail pages, rankings, geographic views and statement export data; no payout/tax authority | Reads | Full |
240
+ | `dynamoi_get_team` | Organization members and pending invitations; organization authority required. | Reads | Full |
241
+ | `dynamoi_get_artist_billing_country` | Read current billing country; not tax residency. | Reads | Full |
242
+ | `dynamoi_manage_team` | Change organization member roles, remove members or revoke pending invitations with web authority and owner protections. | Changes data | Full |
243
+ | `dynamoi_get_audit_log` | Sanitized artist/organization audit events with scope-bound cursors, plus your 12 recent account activity entries. | Reads | Full |
244
+ | `dynamoi_claim_referral_code` | Claim or change your own referral code. Accept program terms yourself in the app or web. | Changes data | Full |
245
+ | `dynamoi_get_referrals` | Your referral snapshot; no attribution or commission writes. Pending and available amounts are not approved or paid payouts. | Reads | Full |
246
+ | `dynamoi_get_billing` | Billing status, credit balance, promo limits and masked payment-method display | Reads | Full |
247
+ | `dynamoi_add_campaign_funds` | Create the unpaid Add campaign funds Stripe Checkout link, after the user approves the amount and currency | Changes data | Full |
235
248
  | `dynamoi_get_resume_funding` | Campaign resume-funding breakdown, refusal, and consent requirements | Reads | Full |
236
249
  | `dynamoi_list_available_countries` | Countries a Smart Campaign or YouTube campaign can target | Reads | Full |
237
250
  | `dynamoi_get_campaign_readiness` | Check launch inputs before creating anything | Reads | Full |
238
251
  | `dynamoi_list_media_assets` | Uploaded images and videos that a launch can reuse | Reads | Full |
239
252
  | `dynamoi_launch_campaign` | Launch a Smart Campaign or YouTube campaign | Changes data | Full |
240
253
  | `dynamoi_update_campaign` | Pause, resume, or change a campaign's budget or end date | Changes data | Full |
254
+ | `dynamoi_smart_campaign_ad_copy` | Read/save Smart Campaign creation-draft copy with shared validation and revision checks; never submits or launches | Changes data | Full |
255
+ | `dynamoi_manage_smart_campaign_creative` | All 9 native draft creative operations: read generation/source audio, start/retry/clear asynchronous generation (poll with read), select creatives, and start/status/complete/abort direct MP3 multipart upload or import_source_audio from a public Dropbox share link on a draft; Google Drive unsupported (Google API key required); no approval or submission | Changes data | Full |
241
256
  | `dynamoi_manage_youtube_draft` | Inspect an interrupted YouTube launch draft, or discard it when the user asks | Changes data | Full |
242
257
  | `dynamoi_start_meta_connection` | Start the Facebook Page and Instagram connection in the browser | Changes data | Full |
243
258
  | `dynamoi_start_youtube_channel_link` | Start the YouTube channel connection in the browser | Changes data | Full |
244
259
  | `dynamoi_contact_support` | Send a support request or feedback to Dynamoi | Changes data | Full |
260
+ | `dynamoi_delete_account` | Preview eligibility and explicitly start irreversible account deletion; cleanup is asynchronous and required records may be retained | Changes data | Full |
261
+ | `dynamoi_update_account_profile` | Preview or explicitly confirm a display name or preferred language change | Changes data | Full |
262
+ | `dynamoi_set_artist_billing_country` | Preview or explicitly confirm an artist checkout-currency suggestion country; existing currency stays fixed | Changes data | Full |
263
+ | `dynamoi_shop_list_orders` | Read your authorized artist’s newest Shop order status and fulfillment timestamps | Reads | Full |
245
264
  | `dynamoi_shop_get_quote` | Estimate a one-off YouTube promotion | Reads | Full |
246
265
  | `dynamoi_shop_create_checkout` | Create an unpaid Stripe Checkout link for that promotion | Changes data | Full |
247
266
 
248
- Full tool descriptions and input schemas come from `tools/list`, or from
249
- `getDynamoiToolDefinitions()` in this package.
250
-
251
267
  The full-only Studio tools (`dynamoi_update_smart_link_release_settings` and
252
- `dynamoi_update_smart_link_artist_hub_settings`) are not part of the approved
253
- directory contract and are never listed in the directory profile.
254
-
255
- Previously approved directory clients may continue calling the exact
256
- `dynamoi_update_smart_link` name with its approved schema. New directory tool
257
- lists omit that compatibility handler and advertise the two single-purpose
258
- operations above. Compatibility calls keep the same Smart Link write scope,
259
- confirmation, account, and domain checks.
260
-
261
- ## Money and safety
262
-
263
- - **Smart Links are free.** Creating or updating them never charges anyone.
264
- - **Launches and budget changes are real.** `dynamoi_launch_campaign` and
265
- `dynamoi_update_campaign` go through the same backend checks as the Dynamoi
266
- web and mobile apps: permissions, promo limits, and repeat-request
267
- protection. Whether a person approves each call is up to the MCP client's
268
- tool-approval settings, so keep approval on for tools that change data.
269
- - **Every budget needs the user's funding consent.** A `DAILY` or `TOTAL`
270
- budget is funded one window at a time: available credits and campaign funds
271
- first, then the card the user saved in Dynamoi is charged automatically (a
272
- `TOTAL` budget never beyond its total). The agent must show the user the exact
273
- consent text for the budget type, then send, for `DAILY`,
274
- `authorizeAutomaticDailyFunding: true` with `acceptedConsentVersion` and
275
- `acceptedConsentCopyHash`, or, for `TOTAL`, `acceptedTotalConsentVersion` and
276
- `acceptedTotalConsentCopyHash`. This applies to
277
- launches, budget updates, and resumes that need card funding. A `DAILY`
278
- budget refuses the `TOTAL` consent and the reverse; without consent the
279
- request is refused and never charged. The consent values are exported from
280
- `@dynamoi/mcp/consent`.
281
- - **Agents never handle payment credentials.** Subscriptions, plans, and
282
- billing setup happen only in the [Dynamoi dashboard](https://dynamoi.com/dashboard),
283
- where subscriptions start through hosted Stripe Checkout. No tool starts a
284
- subscription.
285
- - **Shop checkout is only a link.** `dynamoi_shop_create_checkout` creates an
286
- unpaid Stripe Checkout Session. The user pays on Stripe, and no order exists
287
- until the payment is verified.
288
- - **Distribution applications start a manual review.** Submitting one does not
289
- approve distribution, accept an agreement, or deliver music to stores.
290
- - **The directory catalog** exposes no tools that spend money, start a
291
- subscription, or create a checkout.
292
-
293
- ## Authentication
294
-
295
- Dynamoi uses OAuth 2.1 through its authorization server at
296
- `https://dynamoi.com/api/auth`. Clients find it through the server's metadata:
297
-
298
- - Protected resource: `https://dynamoi.com/.well-known/oauth-protected-resource/mcp`
299
- - Authorization server: `https://dynamoi.com/.well-known/oauth-authorization-server`
300
-
301
- | Topic | Support |
302
- | --- | --- |
303
- | Client registration | Client ID Metadata Documents (preferred) and dynamic client registration |
304
- | Grants | Authorization code with PKCE (`S256`), refresh token, and the device authorization grant for CLI and headless agents (`https://dynamoi.com/api/auth/device/code`) |
305
- | Tokens | Bearer tokens in the `Authorization` header. DPoP signing algorithms are advertised. |
268
+ `dynamoi_update_smart_link_artist_hub_settings`) are never listed in the
269
+ directory profile. Previously approved directory clients may keep calling
270
+ `dynamoi_update_smart_link` with its approved schema and the same checks.
306
271
 
307
- Without a token, a request gets a `401` with a `WWW-Authenticate` challenge.
308
- That challenge asks for every scope the client's catalog uses, so one consent
309
- covers the whole catalog. A full-catalog client that signed in with fewer
310
- scopes is asked once for the rest.
272
+ ## FAQ
311
273
 
312
- | Scope | Allows |
313
- | --- | --- |
314
- | `dynamoi:read` | Reading the account, artists, campaigns, analytics, and Smart Links. Every signed-in tool needs it. |
315
- | `dynamoi:platform.read` | Checking Spotify, Meta, and YouTube connection status |
316
- | `dynamoi:platform.write` | Starting Meta and YouTube connection flows |
317
- | `dynamoi:smart_links.write` | Creating and updating free Smart Links |
318
- | `dynamoi:distribution.read` | Checking distribution requirements and application status |
319
- | `dynamoi:distribution.apply` | Submitting a distribution application |
320
- | `dynamoi:billing.read` | Reading billing status, credit balance, and promo limits |
321
- | `dynamoi:campaign.launch` | Launching new campaigns |
322
- | `dynamoi:campaign.write` | Pausing, resuming, and changing campaign budgets |
323
- | `dynamoi:mcp.full` | Using the Shop quote and checkout tools |
324
-
325
- ## Protocol support
326
-
327
- - MCP **2026-07-28**: stateless requests with per-request `_meta`, including
328
- `server/discover`.
329
- - MCP **2025-11-25** and earlier `initialize`-based revisions, for clients
330
- that have not moved to 2026-07-28.
331
- - Streamable HTTP, POST only. Responses are JSON, or SSE for 2025-era
332
- clients that accept it. The server keeps no sessions and opens no
333
- standalone stream, so `GET` and `DELETE` return `405`.
334
-
335
- ## Using the package
336
-
337
- Most people should connect to the hosted server. Install the package if you
338
- are building against the Dynamoi MCP contract: tool definitions, Zod schemas,
339
- result types, OAuth scope maps, or the stateless HTTP handler.
274
+ <details>
275
+ <summary><b>Do I have to switch distributors?</b></summary>
276
+
277
+ No. Campaigns, Smart Links and analytics work with music released through any
278
+ distributor. Distribution through Dynamoi is optional and application-based:
279
+ it opens at 1,000 Spotify followers and 10,000 monthly listeners, and the
280
+ artist decides whether to apply.
281
+
282
+ </details>
283
+
284
+ <details>
285
+ <summary><b>Can the assistant spend money on its own?</b></summary>
286
+
287
+ No. Paid calls are refused unless the artist accepted the consent text for
288
+ that exact budget. Keep your client's approval prompt on for tools that change
289
+ data, and no tool starts a subscription.
290
+
291
+ </details>
292
+
293
+ <details>
294
+ <summary><b>Why does ChatGPT see fewer tools than Claude Code?</b></summary>
295
+
296
+ Directory-listed and web clients get the review-safe set. Apps that sign in
297
+ on your own computer get the full set. The server decides from the OAuth
298
+ client identity, not from what the client says about itself.
299
+
300
+ </details>
301
+
302
+ <details>
303
+ <summary><b>Which MCP versions does it support?</b></summary>
304
+
305
+ MCP 2026-07-28 (stateless, with `server/discover`) and 2025-11-25 and earlier
306
+ `initialize`-based revisions, over Streamable HTTP POST. The server keeps no
307
+ sessions, so `GET` and `DELETE` return `405`. Details:
308
+ [MCP server docs](https://dynamoi.com/docs/mcp-server).
309
+
310
+ </details>
311
+
312
+ <details>
313
+ <summary><b>Can I use this package as a library?</b></summary>
314
+
315
+ Yes, if you are building against the Dynamoi MCP contract. Most people should
316
+ connect to the hosted server instead.
340
317
 
341
318
  ```bash
342
319
  npm install @dynamoi/mcp
343
320
  ```
344
321
 
345
- The package is ESM-only and built on MCP TypeScript SDK v2
346
- (`@modelcontextprotocol/server`).
322
+ The package is ESM-only and built on MCP TypeScript SDK v2.
347
323
 
348
324
  | Entry point | Main exports |
349
325
  | --- | --- |
350
- | `@dynamoi/mcp` | `createDynamoiMcpServer`, `handleMcpHttpRequest`, `getDynamoiToolDefinitions`, `DynamoiMcpToolProfile`, `Phase3Adapter`, tool definition arrays and input schemas, Shop schemas, About exports (`getDynamoiAbout`, `DYNAMOI_ABOUT_*`), result and data types, `DYNAMOI_MCP_VERSION` |
326
+ | `@dynamoi/mcp` | `createDynamoiMcpServer`, `handleMcpHttpRequest`, `getDynamoiToolDefinitions`, `DynamoiMcpToolProfile`, `Phase3Adapter`, tool schemas, About exports, result types, `DYNAMOI_MCP_VERSION` |
351
327
  | `@dynamoi/mcp/auth` | `DYNAMOI_BETTER_AUTH_MCP_SCOPES`, `DYNAMOI_MCP_TOOL_SCOPES`, `buildWwwAuthenticateHeader` |
352
- | `@dynamoi/mcp/consent` | `PROSPECTIVE_BUDGET_FUNDING_CONSENT_VERSION`, `PROSPECTIVE_BUDGET_FUNDING_CONSENT_COPY`, `PROSPECTIVE_BUDGET_FUNDING_CONSENT_COPY_HASH` (current v6), the previous v5, v4, v3 and v2 constants, `isCurrentProspectiveBudgetFundingConsent`, and `isRenewableProspectiveBudgetFundingConsent` |
353
-
354
- A host provides a `Phase3Adapter`, which connects each tool to its own
355
- services. It also verifies the caller before it serves a request:
356
-
357
- ```ts
358
- import {
359
- createDynamoiMcpServer,
360
- handleMcpHttpRequest,
361
- type DynamoiMcpToolProfile,
362
- type Phase3Adapter,
363
- } from "@dynamoi/mcp";
364
-
365
- export async function handleMcp(
366
- request: Request,
367
- adapter: Phase3Adapter,
368
- toolProfile: DynamoiMcpToolProfile,
369
- ): Promise<Response> {
370
- // Authenticate the request and check scopes first; this package does not
371
- // verify tokens. The profile defaults to "directory" if you omit it.
372
- const parsedBody = request.method === "POST" ? await request.json() : null;
373
- return handleMcpHttpRequest({
374
- request,
375
- parsedBody,
376
- createServer: () => createDynamoiMcpServer({ adapter, toolProfile }),
377
- });
378
- }
379
- ```
328
+ | `@dynamoi/mcp/consent` | Current and previous budget-funding consent versions, copy and hashes, plus `isCurrentProspectiveBudgetFundingConsent` and `isRenewableProspectiveBudgetFundingConsent` |
380
329
 
381
- `createDynamoiMcpServer` also accepts `authorizeToolCall` (answer a call
382
- before it runs, for example with a step-up challenge), `onToolCall` (a
383
- telemetry hook), and `oauthScopes`.
330
+ A host supplies a `Phase3Adapter` that connects each tool to its services, and
331
+ authenticates the request and checks scopes before calling
332
+ `handleMcpHttpRequest({ request, parsedBody, createServer })`. This package
333
+ does not verify tokens. Every request builds a new server.
384
334
 
385
- Every request builds a new server. `handleMcpHttpRequest` sends 2026-07-28
386
- requests to the SDK's stateless handler and 2025-era requests to a stateless
387
- per-request transport.
335
+ </details>
388
336
 
389
- ## Links
337
+ <details>
338
+ <summary><b>Where do I get help?</b></summary>
390
339
 
391
- | Resource | URL |
392
- | --- | --- |
393
- | MCP server docs | <https://dynamoi.com/docs/mcp-server> |
394
- | ChatGPT app | <https://chatgpt.com/plugins/plugin_asdk_app_69ceb0e849788191aa3fd4d416204a9d> |
395
- | Agent plugins (Claude Code, Gemini CLI) | <https://github.com/getDynamoi/agent-plugins> |
396
- | MCP Registry | <https://registry.modelcontextprotocol.io/v0/servers?search=io.github.getDynamoi/dynamoi> |
397
- | Agent overview (`llms.txt`) | <https://dynamoi.com/llms.txt> |
398
- | Support | <https://dynamoi.com/support> or support@dynamoi.com (replies within 24 hours) |
399
- | Pricing | <https://dynamoi.com/pricing> |
400
- | npm | <https://www.npmjs.com/package/@dynamoi/mcp> |
401
- | Source and issues | <https://github.com/getDynamoi/dynamoi> |
402
- | Changelog | [CHANGELOG.md](./CHANGELOG.md) |
403
- | Capability map | [CAPABILITY_PARITY.md](./CAPABILITY_PARITY.md) |
340
+ [dynamoi.com/support](https://dynamoi.com/support) or support@dynamoi.com.
341
+ We reply within 24 hours. Agents can also send a request with
342
+ `dynamoi_contact_support`.
404
343
 
405
- MIT licensed. See [LICENSE](./LICENSE).
344
+ </details>
345
+
346
+ ## Links
406
347
 
407
- ## Artist workspace
348
+ - [MCP server docs](https://dynamoi.com/docs/mcp-server) and [agent overview (`llms.txt`)](https://dynamoi.com/llms.txt)
349
+ - [MCP Registry entry](https://registry.modelcontextprotocol.io/v0/servers?search=io.github.getDynamoi/dynamoi) and [npm](https://www.npmjs.com/package/@dynamoi/mcp)
350
+ - [Changelog](./CHANGELOG.md), [capability map](./CAPABILITY_PARITY.md) and [issues](https://github.com/getDynamoi/dynamoi/issues)
408
351
 
409
- `dynamoi_open_workspace({})` returns an authorized artist roster and declares a read-only MCP Apps resource with global and thread entrypoints. On supported hosts, browse campaigns and Smart Links, inspect reported metrics, and deliberately share the selected record and artist references with the next conversation turn. Channel observations retain their own window, provenance and coverage; they are not attributed to the campaign. No pricing, checkout or campaign-write controls appear in this workspace. Unsupported hosts retain the ordinary text and tool result.
352
+ MIT licensed. See [LICENSE](./LICENSE).
410
353
 
411
- The existing Smart Link theme preview remains separate. Composer mentions, settings, file viewers and events are not advertised. Local App/AppBridge fixtures establish their tested contract only; actual ChatGPT host support and public approval require separate evidence.
354
+ ---
412
355
 
413
- The browser bridge is bundled locally with the compatible MCP Apps v2 SDK; no CDN is needed. `bun scripts/build-workspace.cjs` regenerates the checked-in source bundle and `bun scripts/build-workspace.cjs --check` verifies reproducibility from the package directory. The ordinary package build runs the same owner. Keep the generated script synchronized with its browser/view/data sources.
356
+ **Part of Dynamoi** · [MCP server](https://github.com/getDynamoi/dynamoi) · [CLI](https://github.com/getDynamoi/dynamoi/tree/main/cli) · [Agent plugins](https://github.com/getDynamoi/agent-plugins) · [Homebrew tap](https://github.com/getDynamoi/homebrew-tap) · [Chrome extension](https://github.com/getDynamoi/browser-extension) · [dynamoi.com](https://dynamoi.com) · [Docs](https://dynamoi.com/docs) · [Support](https://dynamoi.com/support)