@dynamoi/mcp 1.0.5 → 1.0.7

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.
@@ -31,7 +31,7 @@ work. Everything else is refused.
31
31
  | Analytics | Campaign-provider rollups, growth audit (`dynamoi_get_growth_audit`), tracked playlist analytics (`dynamoi_get_playlist_analytics`), streaming audience analytics (`dynamoi_get_audience_analytics`), per-link analytics and observed YouTube channel data (`dynamoi_get_youtube_channel_data`) | Artist-wide Smart Link aggregation |
32
32
  | Connections | Meta and YouTube browser OAuth handoffs and status reads | Headless provider login, owner selection or bypass of ownership verification |
33
33
  | Distribution | Five scored requirements, application state and explicit adult-attested application submission for manual review | Agreement execution, release intake/catalog, rights/splits, royalties, tax, payout and takedown workflows |
34
- | Billing and Shop | Managed billing observations and read-only existing-campaign resume funding breakdown (`dynamoi_get_resume_funding`); full-profile Shop quote and unpaid Stripe checkout creation | Managed subscription changes, invoice/funding workflows or agent payment settlement. Shop checkout is not a campaign launch or paid order. |
34
+ | Billing and Shop | Managed billing observations and read-only existing-campaign resume funding breakdown (`dynamoi_get_resume_funding`); unpaid Add campaign funds Checkout creation (`dynamoi_add_campaign_funds`); full-profile Shop quote and unpaid Stripe checkout creation | Managed subscription changes, invoice/funding workflows or agent payment settlement. Shop checkout is not a campaign launch or paid order. |
35
35
 
36
36
  A real campaign launch, budget edit or pause/resume runs the same shared
37
37
  backend functions as web and mobile. Operations that need automatic daily card
package/CHANGELOG.md CHANGED
@@ -7,6 +7,18 @@ and [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.0.7] - 2026-10-22
11
+
12
+ ### Changed
13
+
14
+ - **The README is a shorter landing page.** It covers connecting each client, example prompts, money and permissions, the tool table and an FAQ, and links to dynamoi.com/docs for depth. The `dynamoi` CLI README (0.2.3) adds Homebrew install and a commands table. The tool contract is unchanged.
15
+
16
+ ## [1.0.6] - 2026-10-21
17
+
18
+ ### Changed
19
+
20
+ - **The agent-facing tagline and descriptions pair music promotion with distribution.** The tagline, registry description and standard description name promotion and distribution together, promotion first. Distribution stays application-based and optional. The tool contract is unchanged.
21
+
10
22
  ## [1.0.5] - 2026-10-21
11
23
 
12
24
  ### Changed
package/README.md CHANGED
@@ -1,207 +1,210 @@
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
- **Music promotion, built for AI agents.**
10
+ **Music promotion and distribution, built for AI agents.**
4
11
 
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 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. Artists who distribute with Dynamoi can manage releases there
15
- 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
+ price becomes ad 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 39 tools. ChatGPT, Claude added from its directory listing and
197
+ other web apps get 24 review-safe advertised tools: reads, Smart Links,
198
+ distribution applications and About, with no billing, launches or checkout.
199
+ - **Sign-in is OAuth 2.1**, and every call still checks its scopes and the
200
+ user's role for that artist. See
201
+ [client permissions](https://dynamoi.com/docs/mcp-server/client-permissions).
200
202
 
201
203
  ## Tools
202
204
 
203
205
  "Reads" tools are marked read-only. "Changes data" tools write to Dynamoi or
204
- start an action with an outside provider.
206
+ start an action with an outside provider. Full descriptions and input schemas
207
+ come from `tools/list`.
205
208
 
206
209
  | Tool | What it does | Access | Catalog |
207
210
  | --- | --- | --- | --- |
@@ -232,6 +235,7 @@ start an action with an outside provider.
232
235
  | `dynamoi_update_smart_link_release_settings` | Update one Smart Link's release video or destination visibility | Changes data | Full |
233
236
  | `dynamoi_update_smart_link_artist_hub_settings` | Update an artist's hub introduction, official profile links or service order | Changes data | Full |
234
237
  | `dynamoi_get_billing` | Billing status, credit balance, and promo limits | Reads | Full |
238
+ | `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
239
  | `dynamoi_get_resume_funding` | Campaign resume-funding breakdown, refusal, and consent requirements | Reads | Full |
236
240
  | `dynamoi_list_available_countries` | Countries a Smart Campaign or YouTube campaign can target | Reads | Full |
237
241
  | `dynamoi_get_campaign_readiness` | Check launch inputs before creating anything | Reads | Full |
@@ -245,169 +249,93 @@ start an action with an outside provider.
245
249
  | `dynamoi_shop_get_quote` | Estimate a one-off YouTube promotion | Reads | Full |
246
250
  | `dynamoi_shop_create_checkout` | Create an unpaid Stripe Checkout link for that promotion | Changes data | Full |
247
251
 
248
- Full tool descriptions and input schemas come from `tools/list`, or from
249
- `getDynamoiToolDefinitions()` in this package.
250
-
251
252
  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. |
253
+ `dynamoi_update_smart_link_artist_hub_settings`) are never listed in the
254
+ directory profile. Previously approved directory clients may keep calling
255
+ `dynamoi_update_smart_link` with its approved schema and the same checks.
306
256
 
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.
257
+ ## FAQ
311
258
 
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.
259
+ <details>
260
+ <summary><b>Do I have to switch distributors?</b></summary>
261
+
262
+ No. Campaigns, Smart Links and analytics work with music released through any
263
+ distributor. Distribution through Dynamoi is optional and application-based:
264
+ it opens at 1,000 Spotify followers and 10,000 monthly listeners, and the
265
+ artist decides whether to apply.
266
+
267
+ </details>
268
+
269
+ <details>
270
+ <summary><b>Can the assistant spend money on its own?</b></summary>
271
+
272
+ No. Paid calls are refused unless the artist accepted the consent text for
273
+ that exact budget. Keep your client's approval prompt on for tools that change
274
+ data, and no tool starts a subscription.
275
+
276
+ </details>
277
+
278
+ <details>
279
+ <summary><b>Why does ChatGPT see fewer tools than Claude Code?</b></summary>
280
+
281
+ Directory-listed and web clients get the review-safe set. Apps that sign in
282
+ on your own computer get the full set. The server decides from the OAuth
283
+ client identity, not from what the client says about itself.
284
+
285
+ </details>
286
+
287
+ <details>
288
+ <summary><b>Which MCP versions does it support?</b></summary>
289
+
290
+ MCP 2026-07-28 (stateless, with `server/discover`) and 2025-11-25 and earlier
291
+ `initialize`-based revisions, over Streamable HTTP POST. The server keeps no
292
+ sessions, so `GET` and `DELETE` return `405`. Details:
293
+ [MCP server docs](https://dynamoi.com/docs/mcp-server).
294
+
295
+ </details>
296
+
297
+ <details>
298
+ <summary><b>Can I use this package as a library?</b></summary>
299
+
300
+ Yes, if you are building against the Dynamoi MCP contract. Most people should
301
+ connect to the hosted server instead.
340
302
 
341
303
  ```bash
342
304
  npm install @dynamoi/mcp
343
305
  ```
344
306
 
345
- The package is ESM-only and built on MCP TypeScript SDK v2
346
- (`@modelcontextprotocol/server`).
307
+ The package is ESM-only and built on MCP TypeScript SDK v2.
347
308
 
348
309
  | Entry point | Main exports |
349
310
  | --- | --- |
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` |
311
+ | `@dynamoi/mcp` | `createDynamoiMcpServer`, `handleMcpHttpRequest`, `getDynamoiToolDefinitions`, `DynamoiMcpToolProfile`, `Phase3Adapter`, tool schemas, About exports, result types, `DYNAMOI_MCP_VERSION` |
351
312
  | `@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
- ```
313
+ | `@dynamoi/mcp/consent` | Current and previous budget-funding consent versions, copy and hashes, plus `isCurrentProspectiveBudgetFundingConsent` and `isRenewableProspectiveBudgetFundingConsent` |
380
314
 
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`.
315
+ A host supplies a `Phase3Adapter` that connects each tool to its services, and
316
+ authenticates the request and checks scopes before calling
317
+ `handleMcpHttpRequest({ request, parsedBody, createServer })`. This package
318
+ does not verify tokens. Every request builds a new server.
384
319
 
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.
320
+ </details>
388
321
 
389
- ## Links
322
+ <details>
323
+ <summary><b>Where do I get help?</b></summary>
390
324
 
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) |
325
+ [dynamoi.com/support](https://dynamoi.com/support) or support@dynamoi.com.
326
+ We reply within 24 hours. Agents can also send a request with
327
+ `dynamoi_contact_support`.
404
328
 
405
- MIT licensed. See [LICENSE](./LICENSE).
329
+ </details>
330
+
331
+ ## Links
406
332
 
407
- ## Artist workspace
333
+ - [MCP server docs](https://dynamoi.com/docs/mcp-server) and [agent overview (`llms.txt`)](https://dynamoi.com/llms.txt)
334
+ - [MCP Registry entry](https://registry.modelcontextprotocol.io/v0/servers?search=io.github.getDynamoi/dynamoi) and [npm](https://www.npmjs.com/package/@dynamoi/mcp)
335
+ - [Changelog](./CHANGELOG.md), [capability map](./CAPABILITY_PARITY.md) and [issues](https://github.com/getDynamoi/dynamoi/issues)
408
336
 
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.
337
+ MIT licensed. See [LICENSE](./LICENSE).
410
338
 
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.
339
+ ---
412
340
 
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.
341
+ **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)
@@ -1,6 +1,7 @@
1
1
  export declare const DYNAMOI_BETTER_AUTH_MCP_SCOPES: readonly ["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"];
2
2
  export declare const DYNAMOI_MCP_TOOL_SCOPES: {
3
3
  readonly dynamoi_about: readonly [];
4
+ readonly dynamoi_add_campaign_funds: readonly ["dynamoi:read", "dynamoi:mcp.full"];
4
5
  readonly dynamoi_apply_for_distribution: readonly ["dynamoi:read", "dynamoi:distribution.apply"];
5
6
  readonly dynamoi_contact_support: readonly ["dynamoi:read"];
6
7
  readonly dynamoi_create_smart_link_from_spotify: readonly ["dynamoi:read", "dynamoi:smart_links.write"];
@@ -13,6 +13,7 @@ var DYNAMOI_BETTER_AUTH_MCP_SCOPES = [
13
13
  ];
14
14
  var DYNAMOI_MCP_TOOL_SCOPES = {
15
15
  dynamoi_about: [],
16
+ dynamoi_add_campaign_funds: ["dynamoi:read", "dynamoi:mcp.full"],
16
17
  dynamoi_apply_for_distribution: [
17
18
  "dynamoi:read",
18
19
  "dynamoi:distribution.apply"
package/dist/index.d.ts CHANGED
@@ -12,7 +12,7 @@ export type { ContactSupportData, GetResumeFundingData, } from "./server/output-
12
12
  export { DYNAMOI_SHOP_FULL_SCOPE, DYNAMOI_SHOP_MAX_TARGET_COUNTRY_CODES, type DynamoiShopCheckoutData, DynamoiShopCheckoutDataSchema, type DynamoiShopCreateCheckoutInput, DynamoiShopCreateCheckoutInputSchema, type DynamoiShopGetQuoteInput, DynamoiShopGetQuoteInputSchema, type DynamoiShopQuoteData, DynamoiShopQuoteDataSchema, DynamoiShopSelectionInputSchema, DynamoiShopTargetingInputSchema, SHOP_TOOL_DEFINITIONS, } from "./server/shop-tools";
13
13
  export { DynamoiCreateSmartLinkFromSpotifyInputSchema, DynamoiCreateSmartLinksFromSpotifyArtistInputSchema, DynamoiGetSmartLinkAnalyticsInputSchema, DynamoiGetSmartLinkArtistSettingsInputSchema, DynamoiGetSmartLinkInputSchema, DynamoiListSmartLinksInputSchema, DynamoiUpdateSmartLinkArtistHubSettingsInputSchema, DynamoiUpdateSmartLinkArtistSettingsInputSchema, DynamoiUpdateSmartLinkDescriptionInputSchema, DynamoiUpdateSmartLinkInputSchema, DynamoiUpdateSmartLinkReleaseSettingsInputSchema, PHASE_4_TOOL_DEFINITIONS, parseDynamoiCreateSmartLinkFromSpotifyInput, parseDynamoiCreateSmartLinksFromSpotifyArtistInput, parseDynamoiGetSmartLinkAnalyticsInput, parseDynamoiGetSmartLinkArtistSettingsInput, parseDynamoiGetSmartLinkInput, parseDynamoiListSmartLinksInput, parseDynamoiUpdateSmartLinkArtistHubSettingsInput, parseDynamoiUpdateSmartLinkArtistSettingsInput, parseDynamoiUpdateSmartLinkInput, parseDynamoiUpdateSmartLinkReleaseSettingsInput, SMART_LINK_UPDATE_OPERATION_TOOL_DEFINITIONS, } from "./server/smart-link-tools";
14
14
  export { DYNAMOI_SUPPORT_CATEGORIES, type DynamoiContactSupportInput, DynamoiContactSupportInputSchema, SUPPORT_TOOL_DEFINITIONS, } from "./server/support-tools";
15
- export { DateRangeSchema, DynamoiGetArtistAnalyticsInputSchema, DynamoiGetArtistInputSchema, DynamoiGetAudienceAnalyticsInputSchema, DynamoiGetBillingInputSchema, DynamoiGetCampaignAnalyticsInputSchema, DynamoiGetCampaignDeploymentStatusInputSchema, DynamoiGetCampaignInputSchema, DynamoiGetCampaignReadinessInputSchema, DynamoiGetCurrentUserInputSchema, DynamoiGetGrowthAuditInputSchema, DynamoiGetOnboardingStatusInputSchema, DynamoiGetPlatformStatusInputSchema, DynamoiGetPlaylistAnalyticsInputSchema, DynamoiGetResumeFundingInputSchema, DynamoiLaunchCampaignInputSchema, DynamoiListArtistsInputSchema, DynamoiListAvailableCountriesInputSchema, DynamoiListCampaignsInputSchema, DynamoiListMediaAssetsInputSchema, DynamoiManageYoutubeDraftInputSchema, DynamoiPauseCampaignInputSchema, DynamoiResumeCampaignInputSchema, DynamoiSearchInputSchema, DynamoiStartMetaConnectionInputSchema, DynamoiStartYoutubeChannelLinkInputSchema, DynamoiUpdateBudgetInputSchema, DynamoiUpdateCampaignInputSchema, PHASE_1_TOOL_DEFINITIONS, PHASE_2_TOOL_DEFINITIONS, PHASE_ONBOARDING_TOOL_DEFINITIONS, ToolFormatSchema, } from "./server/tools";
15
+ export { DateRangeSchema, DynamoiAddCampaignFundsInputSchema, DynamoiGetArtistAnalyticsInputSchema, DynamoiGetArtistInputSchema, DynamoiGetAudienceAnalyticsInputSchema, DynamoiGetBillingInputSchema, DynamoiGetCampaignAnalyticsInputSchema, DynamoiGetCampaignDeploymentStatusInputSchema, DynamoiGetCampaignInputSchema, DynamoiGetCampaignReadinessInputSchema, DynamoiGetCurrentUserInputSchema, DynamoiGetGrowthAuditInputSchema, DynamoiGetOnboardingStatusInputSchema, DynamoiGetPlatformStatusInputSchema, DynamoiGetPlaylistAnalyticsInputSchema, DynamoiGetResumeFundingInputSchema, DynamoiLaunchCampaignInputSchema, DynamoiListArtistsInputSchema, DynamoiListAvailableCountriesInputSchema, DynamoiListCampaignsInputSchema, DynamoiListMediaAssetsInputSchema, DynamoiManageYoutubeDraftInputSchema, DynamoiPauseCampaignInputSchema, DynamoiResumeCampaignInputSchema, DynamoiSearchInputSchema, DynamoiStartMetaConnectionInputSchema, DynamoiStartYoutubeChannelLinkInputSchema, DynamoiUpdateBudgetInputSchema, DynamoiUpdateCampaignInputSchema, PHASE_1_TOOL_DEFINITIONS, PHASE_2_TOOL_DEFINITIONS, PHASE_ONBOARDING_TOOL_DEFINITIONS, ToolFormatSchema, } from "./server/tools";
16
16
  export { PHASE_3_TOOL_DEFINITIONS } from "./server/workflow-tools";
17
17
  export type { WorkspaceData } from "./server/workspace/data";
18
18
  export { openWorkspace, WORKSPACE_TOOL_DEFINITION, type WorkspaceReaders, } from "./server/workspace/tool";
package/dist/index.js CHANGED
@@ -13,6 +13,7 @@ var DYNAMOI_BETTER_AUTH_MCP_SCOPES = [
13
13
  ];
14
14
  var DYNAMOI_MCP_TOOL_SCOPES = {
15
15
  dynamoi_about: [],
16
+ dynamoi_add_campaign_funds: ["dynamoi:read", "dynamoi:mcp.full"],
16
17
  dynamoi_apply_for_distribution: [
17
18
  "dynamoi:read",
18
19
  "dynamoi:distribution.apply"
@@ -1451,7 +1452,7 @@ var DYNAMOI_ABOUT_COMPANY = `## Company
1451
1452
  var DYNAMOI_ABOUT_CAMPAIGN_NOTE = "Campaigns run on Dynamoi's own managed Meta and Google ad infrastructure, so artists do not need their own Business Manager, pixels, or ad accounts. They reach real people through official ad networks, never bots, fake streams, click farms, or paid playlist placement. Results vary by campaign and are never guaranteed.";
1452
1453
  var DYNAMOI_ABOUT_SMART_LINKS_BULLET = "- **Free Smart Links** — create and manage Smart Links and artist hubs from Spotify artist, album, or track URLs at no cost. Link analytics, custom themes, validated pixel IDs, and team seats are included. High-popularity or unverifiable artist links may stay unpublished in verification hold until Dynamoi can verify the client relationship.";
1453
1454
  var DYNAMOI_ABOUT_YOUTUBE_BULLET = "- **YouTube campaigns** — managed campaigns on Google's ad network for YouTube channel growth. Each campaign follows a strategy (Views, Watch Time, Subscribers, Channel Growth, or Revenue for monetized channels) and is judged from the channel's own YouTube data. Every strategy except Views starts viewers in a playlist of the artist's own videos.";
1454
- var DYNAMOI_ABOUT_DISTRIBUTION_GATE = "Dynamoi scores five requirements before an application can be submitted — including an established audience (at least 10,000 monthly Spotify listeners) and identity verification — and approval is not guaranteed.";
1455
+ var DYNAMOI_ABOUT_DISTRIBUTION_GATE = "Dynamoi scores five requirements before an application can be submitted — including an established audience (at least 1,000 Spotify followers and 10,000 monthly listeners) and identity verification — and approval is not guaranteed. Promotion has no listener bar.";
1455
1456
  var DYNAMOI_ABOUT_GETTING_STARTED = `## How to get started
1456
1457
 
1457
1458
  1. Sign in at https://dynamoi.com.
@@ -1537,8 +1538,8 @@ import {
1537
1538
  import * as z19 from "zod/v4";
1538
1539
 
1539
1540
  // src/version.ts
1540
- var BUNDLED_DYNAMOI_MCP_VERSION = "1.0.5";
1541
- var DYNAMOI_MCP_VERSION = BUNDLED_DYNAMOI_MCP_VERSION.length > 0 && !BUNDLED_DYNAMOI_MCP_VERSION.includes("__") ? BUNDLED_DYNAMOI_MCP_VERSION : "1.0.5";
1541
+ var BUNDLED_DYNAMOI_MCP_VERSION = "1.0.7";
1542
+ var DYNAMOI_MCP_VERSION = BUNDLED_DYNAMOI_MCP_VERSION.length > 0 && !BUNDLED_DYNAMOI_MCP_VERSION.includes("__") ? BUNDLED_DYNAMOI_MCP_VERSION : "1.0.7";
1542
1543
 
1543
1544
  // src/server/distribution-tools.ts
1544
1545
  import * as z9 from "zod/v4";
@@ -1605,7 +1606,7 @@ Route by state from dynamoi_get_account_overview:
1605
1606
 
1606
1607
  - state.hasAnyArtist === true && state.hasAnyActiveCampaign === false: Offer dynamoi_get_campaign_readiness to validate launch inputs without creating anything.
1607
1608
 
1608
- - state.hasAnyArtist === true && billing blocks a launch: managed-advertising billing setup is not available through this MCP surface. Tell the user: "You can do this in the Dynamoi dashboard at https://dynamoi.com/dashboard." After they start or restore billing there, poll dynamoi_get_billing for the target artist to confirm billing is active.
1609
+ - state.hasAnyArtist === true && billing blocks a launch: managed-advertising billing setup is not available through this MCP surface. Tell the user: "You can do this in the Dynamoi dashboard at https://dynamoi.com/dashboard." After they start or restore billing there, poll dynamoi_get_billing for the target artist to confirm billing is active. To add campaign funds use dynamoi_add_campaign_funds (see Common workflows); deposits in dynamoi_get_billing prefundPayments are pending, cleared (Stripe says paid), failed or held, and a Checkout link alone is never a deposit.
1609
1610
 
1610
1611
  - state.hasAnyArtist === true && state.hasAnyConnectedMeta === false and the user wants Spotify Smart Campaigns: only offer dynamoi_start_meta_connection after billing is active. If the tool returns billing_required, route the user to dashboard billing first. If it returns billing_check_unavailable, retry shortly instead of treating the user as unpaid. After Meta browser return, poll dynamoi_get_platform_status for the target artist with the returned onboardingAttemptId and onboardingFlow=meta. Treat platforms.meta.status as complete when it is oauth_complete, partnership_pending, or partnership_active.
1611
1612
 
@@ -1672,6 +1673,7 @@ Common workflows:
1672
1673
  includeArtistSettings=true as requested.
1673
1674
  - Distribution: dynamoi_get_distribution_application → satisfy missing identity requirements with purpose=distribution_identity when available → collect required country fields and adult attestation → explicit confirmation → dynamoi_apply_for_distribution
1674
1675
  - Post-launch answer: if dynamoi_launch_campaign succeeds, answer from that result directly. Only call dynamoi_get_campaign when the user explicitly needs more detail than the launch result already returned, and prefer format=summary for that follow-up.
1676
+ - Add campaign funds: dynamoi_add_campaign_funds without confirm → show the user the returned amount and currency and get explicit approval → the same call with confirm=true, that currency and the same requestId. The returned URL is an unpaid Checkout the user opens and pays outside MCP; confirm the deposit is cleared (not pending, failed or held) with dynamoi_get_billing.
1675
1677
  - Shop one-off promotion: dynamoi_shop_get_quote → explicit user confirmation → dynamoi_shop_create_checkout. The returned URL is an unpaid handoff; the user completes payment outside MCP and no Shop order exists until Dynamoi verifies settlement.
1676
1678
  `.trim();
1677
1679
  var DYNAMOI_CHATGPT_APP_INSTRUCTIONS = `
@@ -3528,6 +3530,13 @@ var DynamoiPauseCampaignInputSchema = z17.object({
3528
3530
  expectedCurrentStatus: ExpectedCampaignStatusSchema,
3529
3531
  userIntentSummary: UserIntentSummarySchema
3530
3532
  }).strict();
3533
+ var DynamoiAddCampaignFundsInputSchema = z17.object({
3534
+ amountMinor: z17.number().int().positive(),
3535
+ artistId: z17.string().uuid(),
3536
+ confirm: z17.boolean().optional(),
3537
+ currency: z17.string().length(3).optional(),
3538
+ requestId: z17.string().uuid()
3539
+ }).strict();
3531
3540
  var DynamoiGetResumeFundingInputSchema = z17.object({
3532
3541
  campaignId: z17.string().uuid(),
3533
3542
  format: ToolFormatSchema2.optional()
@@ -3972,7 +3981,7 @@ var PHASE_1_TOOL_DEFINITIONS = [
3972
3981
  title: "Get YouTube Channel Data"
3973
3982
  },
3974
3983
  {
3975
- description: "Use this when the user asks about billing state, credit balance, promo limits, subscription status, or whether billing blocks launches for one artist. This is a read-only status check; it does not create checkout links or collect payment. If billing blocks a launch, starting or restoring managed advertising is not available through this MCP surface; tell the user: 'You can do this in the Dynamoi dashboard at https://dynamoi.com/dashboard.' Then call this tool again to confirm the status. Do not use this for campaign analytics or platform connection troubleshooting.",
3984
+ description: "Use this when the user asks about billing state, credit balance, promo limits, subscription status, campaign-fund deposits, or whether billing blocks launches for one artist. This is a read-only status check; it does not create checkout links or collect payment. Each deposit in prefundPayments is pending (payment not yet confirmed), cleared (Stripe says paid and the funds are usable), failed (the payment did not complete) or held (paid, but funding is on hold for review and not usable yet). A Checkout link alone is never a deposit. To add campaign funds use dynamoi_add_campaign_funds; for other billing setup tell the user: 'You can do this in the Dynamoi dashboard at https://dynamoi.com/dashboard.' Then call this tool again to confirm the status. Do not use this for campaign analytics or platform connection troubleshooting.",
3976
3985
  destructiveHint: false,
3977
3986
  name: "dynamoi_get_billing",
3978
3987
  openWorldHint: false,
@@ -4027,6 +4036,17 @@ var PHASE_ONBOARDING_TOOL_DEFINITIONS = createPhaseOnboardingToolDefinitions({
4027
4036
  youtubeChannelLink: DynamoiStartYoutubeChannelLinkInputSchema
4028
4037
  });
4029
4038
  var PHASE_2_TOOL_DEFINITIONS = [
4039
+ {
4040
+ description: "Create the same unpaid Stripe Checkout the dashboard's Add campaign funds button creates, in the artist's bound currency, and return its URL for the user to open and pay. Call it first WITHOUT confirm to get the exact amount and currency; show both to the user and obtain their explicit approval, then call again with confirm=true, that currency, the same amountMinor and the same requestId (retrying within 24 hours returns the same session; once a payment exists for that requestId, or after a day, use a new requestId). This never charges anyone or records a deposit: funds count as cleared only after Stripe says paid, which dynamoi_get_billing reports in prefundPayments (pending, cleared, failed or held). Refused when funding is on hold, billing setup is required, the amount is outside the allowed range or the currency is not live.",
4041
+ destructiveHint: false,
4042
+ idempotentHint: true,
4043
+ name: "dynamoi_add_campaign_funds",
4044
+ openWorldHint: true,
4045
+ outputSchema: AnyOutputEnvelopeSchema,
4046
+ readOnlyHint: false,
4047
+ schema: DynamoiAddCampaignFundsInputSchema,
4048
+ title: "Add Campaign Funds"
4049
+ },
4030
4050
  {
4031
4051
  description: "Inspect an artist's open YouTube draft with action=inspect after an interrupted launch. Returns completed steps, screening, failure stage, and updatedAt. Use action=discard only when the user explicitly asks to discard that draft, supplying its campaignId, expectedUpdatedAt from inspect, and userIntentSummary. Discard cannot be undone.",
4032
4052
  destructiveHint: true,
@@ -4491,6 +4511,7 @@ var DYNAMOI_TOOL_NAMES = DYNAMOI_TOOL_DEFINITIONS.map((definition) => definition
4491
4511
  var MUTATING_TOOL_NAMES = new Set(DYNAMOI_TOOL_DEFINITIONS.filter((definition) => !definition.readOnlyHint).map((definition) => definition.name));
4492
4512
  var DIRECTORY_EXCLUDED_TOOL_NAMES = new Set([
4493
4513
  "dynamoi_contact_support",
4514
+ "dynamoi_add_campaign_funds",
4494
4515
  "dynamoi_shop_create_checkout",
4495
4516
  "dynamoi_shop_get_quote",
4496
4517
  "dynamoi_get_billing",
@@ -4687,6 +4708,7 @@ function normalizeKnownErrorRecovery(envelope, toolName) {
4687
4708
  }
4688
4709
  var DYNAMOI_TOOL_DISPATCHERS = {
4689
4710
  dynamoi_about: (_adapter, _input, toolProfile) => Promise.resolve(getDynamoiAbout({ toolProfile })),
4711
+ dynamoi_add_campaign_funds: (adapter, input) => adapter.addCampaignFunds(input),
4690
4712
  dynamoi_apply_for_distribution: (adapter, input) => adapter.applyForDistribution(input),
4691
4713
  dynamoi_contact_support: (adapter, input) => adapter.contactSupport(input),
4692
4714
  dynamoi_create_smart_link_from_spotify: (adapter, input) => adapter.createSmartLinkFromSpotify(input),
@@ -4997,9 +5019,9 @@ function createDynamoiMcpServer(options) {
4997
5019
  }
4998
5020
  // src/server/messaging.ts
4999
5021
  var DYNAMOI_MCP_SERVER_NAME = "Dynamoi MCP Server";
5000
- var DYNAMOI_MCP_TAGLINE = "Music promotion, built for AI agents.";
5001
- var DYNAMOI_MCP_SHORT_DESCRIPTION = "Music promotion for AI agents: Spotify and YouTube ads, Smart Links, optional distribution.";
5002
- var DYNAMOI_MCP_STANDARD_DESCRIPTION = "Music promotion from your AI agent. Connect Claude, ChatGPT, Codex or Cursor to check results and manage Smart Links and, where your assistant allows purchases, launch and fund Spotify and YouTube campaigns with the artist's explicit consent. Artists who distribute with Dynamoi can manage releases there too.";
5022
+ var DYNAMOI_MCP_TAGLINE = "Music promotion and distribution, built for AI agents.";
5023
+ var DYNAMOI_MCP_SHORT_DESCRIPTION = "Music promotion and distribution for AI agents: Spotify and YouTube ads, Smart Links, releases.";
5024
+ var DYNAMOI_MCP_STANDARD_DESCRIPTION = "Music promotion and distribution from your AI agent. Connect Claude, ChatGPT, Codex or Cursor to check results and manage Smart Links and, where your assistant allows purchases, launch and fund Spotify and YouTube campaigns with the artist's explicit consent. Distribution is optional and application-based: artists who distribute with Dynamoi can manage releases there too.";
5003
5025
  var DYNAMOI_MCP_REGISTRY_DESCRIPTION_MAX_LENGTH = 100;
5004
5026
  // src/transport/http.ts
5005
5027
  import {
@@ -5222,6 +5244,7 @@ export {
5222
5244
  DYNAMOI_SHOP_MAX_TARGET_COUNTRY_CODES,
5223
5245
  DYNAMOI_SUPPORT_CATEGORIES,
5224
5246
  DateRangeSchema2 as DateRangeSchema,
5247
+ DynamoiAddCampaignFundsInputSchema,
5225
5248
  DynamoiApplyForDistributionInputSchema,
5226
5249
  DynamoiContactSupportInputSchema,
5227
5250
  DynamoiCreateSmartLinkFromSpotifyInputSchema,
@@ -1,7 +1,7 @@
1
1
  import * as z from "zod/v4";
2
2
  import type { ResultEnvelope } from "../types";
3
- export declare const DYNAMOI_ABOUT_MARKDOWN = "# About Dynamoi\n\nDynamoi is a music promotion platform founded in 2021 by Trevor Loucks. It runs managed Meta and YouTube ad campaigns for independent artists, labels, managers, and YouTube creators on any distributor, alongside free Smart Links and analytics. An artist can go from a Spotify URL to a shareable release page or a running campaign in one place. Artists who want everything in one account can also distribute through Dynamoi, which adds releases and royalties to the same system.\n\n## What Dynamoi offers\n\n- **Free Smart Links** \u2014 create and manage Smart Links and artist hubs from Spotify artist, album, or track URLs at no cost. Link analytics, custom themes, validated pixel IDs, and team seats are included. High-popularity or unverifiable artist links may stay unpublished in verification hold until Dynamoi can verify the client relationship.\n- **Managed Smart Campaigns** \u2014 Dynamoi runs Meta ad campaigns that promote Spotify tracks, albums, and playlists.\n- **YouTube campaigns** \u2014 managed campaigns on Google's ad network for YouTube channel growth. Each campaign follows a strategy (Views, Watch Time, Subscribers, Channel Growth, or Revenue for monetized channels) and is judged from the channel's own YouTube data. Every strategy except Views starts viewers in a playlist of the artist's own videos.\n- **Music distribution (optional)** \u2014 an opt-in product for artists who want everything in one account; it delivers releases to 100+ stores including Spotify, Apple Music, Amazon Music, YouTube Music, TikTok, Deezer, and Tidal. The artist keeps 90% of Net Receipts (Dynamoi keeps 10%), and there are no upfront release fees. Optional publishing administration is available to distribution clients for 10% of Net Receipts. Dynamoi scores five requirements before an application can be submitted \u2014 including an established audience (at least 10,000 monthly Spotify listeners) and identity verification \u2014 and approval is not guaranteed.\n- **YouTube promotion Shop** \u2014 one-off YouTube promotion purchases without a subscription, for users who do not want managed advertising.\n\nCampaigns run on Dynamoi's own managed Meta and Google ad infrastructure, so artists do not need their own Business Manager, pixels, or ad accounts. They reach real people through official ad networks, never bots, fake streams, click farms, or paid playlist placement. Results vary by campaign and are never guaranteed.\n\n## Company\n\n- **Founded** \u2014 2021, by Trevor Loucks.\n- **Headquarters** \u2014 Sioux Falls, South Dakota, United States.\n- **Operating model** \u2014 Dynamoi is operated by humans, assisted by AI. People make the decisions and are accountable for every campaign and support reply; AI assists with ad creative, campaign monitoring, reporting, and routine tasks.\n- **Support** \u2014 email support@dynamoi.com. The Dynamoi team replies within 24 hours.\n\n## How to get started\n\n1. Sign in at https://dynamoi.com.\n2. Connect your Spotify artist profile.\n3. Create a free Smart Link for a release.\n\n## Pricing\n\nSmart Links are free. In USD, Starter is $25/month per artist, and your plan price becomes ad credit. Eligible new artists get double credit the first month. Campaign budgets start at $10/day. Other currencies use their own approved catalog prices and limits; consult the selected account\u2019s billing response. There are no contracts: pause between releases or cancel anytime and keep your free tools. Managed advertising and distribution are paid products \u2014 see current plans and pricing at https://dynamoi.com/pricing.";
4
- export declare const DYNAMOI_ABOUT_DIRECTORY_MARKDOWN = "# About Dynamoi\n\nDynamoi is a music promotion platform founded in 2021 by Trevor Loucks. It runs managed Meta and YouTube ad campaigns for independent artists, labels, managers, and YouTube creators on any distributor, alongside free Smart Links and analytics. An artist can go from a Spotify URL to a shareable release page or a running campaign in one place. Artists who want everything in one account can also distribute through Dynamoi, which adds releases and royalties to the same system.\n\n## What Dynamoi offers\n\n- **Free Smart Links** \u2014 create and manage Smart Links and artist hubs from Spotify artist, album, or track URLs at no cost. Link analytics, custom themes, validated pixel IDs, and team seats are included. High-popularity or unverifiable artist links may stay unpublished in verification hold until Dynamoi can verify the client relationship.\n- **Managed Smart Campaigns** \u2014 Dynamoi runs Meta ad campaigns that promote Spotify tracks, albums, and playlists.\n- **YouTube campaigns** \u2014 managed campaigns on Google's ad network for YouTube channel growth. Each campaign follows a strategy (Views, Watch Time, Subscribers, Channel Growth, or Revenue for monetized channels) and is judged from the channel's own YouTube data. Every strategy except Views starts viewers in a playlist of the artist's own videos.\n- **Music distribution (optional)** \u2014 an opt-in product for artists who want everything in one account; it delivers releases to 100+ stores including Spotify, Apple Music, Amazon Music, YouTube Music, TikTok, Deezer, and Tidal. Dynamoi scores five requirements before an application can be submitted \u2014 including an established audience (at least 10,000 monthly Spotify listeners) and identity verification \u2014 and approval is not guaranteed.\n\nCampaigns run on Dynamoi's own managed Meta and Google ad infrastructure, so artists do not need their own Business Manager, pixels, or ad accounts. They reach real people through official ad networks, never bots, fake streams, click farms, or paid playlist placement. Results vary by campaign and are never guaranteed.\n\n## Company\n\n- **Founded** \u2014 2021, by Trevor Loucks.\n- **Headquarters** \u2014 Sioux Falls, South Dakota, United States.\n- **Operating model** \u2014 Dynamoi is operated by humans, assisted by AI. People make the decisions and are accountable for every campaign and support reply; AI assists with ad creative, campaign monitoring, reporting, and routine tasks.\n- **Support** \u2014 email support@dynamoi.com. The Dynamoi team replies within 24 hours.\n\n## How to get started\n\n1. Sign in at https://dynamoi.com.\n2. Connect your Spotify artist profile.\n3. Create a free Smart Link for a release.";
3
+ export declare const DYNAMOI_ABOUT_MARKDOWN = "# About Dynamoi\n\nDynamoi is a music promotion platform founded in 2021 by Trevor Loucks. It runs managed Meta and YouTube ad campaigns for independent artists, labels, managers, and YouTube creators on any distributor, alongside free Smart Links and analytics. An artist can go from a Spotify URL to a shareable release page or a running campaign in one place. Artists who want everything in one account can also distribute through Dynamoi, which adds releases and royalties to the same system.\n\n## What Dynamoi offers\n\n- **Free Smart Links** \u2014 create and manage Smart Links and artist hubs from Spotify artist, album, or track URLs at no cost. Link analytics, custom themes, validated pixel IDs, and team seats are included. High-popularity or unverifiable artist links may stay unpublished in verification hold until Dynamoi can verify the client relationship.\n- **Managed Smart Campaigns** \u2014 Dynamoi runs Meta ad campaigns that promote Spotify tracks, albums, and playlists.\n- **YouTube campaigns** \u2014 managed campaigns on Google's ad network for YouTube channel growth. Each campaign follows a strategy (Views, Watch Time, Subscribers, Channel Growth, or Revenue for monetized channels) and is judged from the channel's own YouTube data. Every strategy except Views starts viewers in a playlist of the artist's own videos.\n- **Music distribution (optional)** \u2014 an opt-in product for artists who want everything in one account; it delivers releases to 100+ stores including Spotify, Apple Music, Amazon Music, YouTube Music, TikTok, Deezer, and Tidal. The artist keeps 90% of Net Receipts (Dynamoi keeps 10%), and there are no upfront release fees. Optional publishing administration is available to distribution clients for 10% of Net Receipts. Dynamoi scores five requirements before an application can be submitted \u2014 including an established audience (at least 1,000 Spotify followers and 10,000 monthly listeners) and identity verification \u2014 and approval is not guaranteed. Promotion has no listener bar.\n- **YouTube promotion Shop** \u2014 one-off YouTube promotion purchases without a subscription, for users who do not want managed advertising.\n\nCampaigns run on Dynamoi's own managed Meta and Google ad infrastructure, so artists do not need their own Business Manager, pixels, or ad accounts. They reach real people through official ad networks, never bots, fake streams, click farms, or paid playlist placement. Results vary by campaign and are never guaranteed.\n\n## Company\n\n- **Founded** \u2014 2021, by Trevor Loucks.\n- **Headquarters** \u2014 Sioux Falls, South Dakota, United States.\n- **Operating model** \u2014 Dynamoi is operated by humans, assisted by AI. People make the decisions and are accountable for every campaign and support reply; AI assists with ad creative, campaign monitoring, reporting, and routine tasks.\n- **Support** \u2014 email support@dynamoi.com. The Dynamoi team replies within 24 hours.\n\n## How to get started\n\n1. Sign in at https://dynamoi.com.\n2. Connect your Spotify artist profile.\n3. Create a free Smart Link for a release.\n\n## Pricing\n\nSmart Links are free. In USD, Starter is $25/month per artist, and your plan price becomes ad credit. Eligible new artists get double credit the first month. Campaign budgets start at $10/day. Other currencies use their own approved catalog prices and limits; consult the selected account\u2019s billing response. There are no contracts: pause between releases or cancel anytime and keep your free tools. Managed advertising and distribution are paid products \u2014 see current plans and pricing at https://dynamoi.com/pricing.";
4
+ export declare const DYNAMOI_ABOUT_DIRECTORY_MARKDOWN = "# About Dynamoi\n\nDynamoi is a music promotion platform founded in 2021 by Trevor Loucks. It runs managed Meta and YouTube ad campaigns for independent artists, labels, managers, and YouTube creators on any distributor, alongside free Smart Links and analytics. An artist can go from a Spotify URL to a shareable release page or a running campaign in one place. Artists who want everything in one account can also distribute through Dynamoi, which adds releases and royalties to the same system.\n\n## What Dynamoi offers\n\n- **Free Smart Links** \u2014 create and manage Smart Links and artist hubs from Spotify artist, album, or track URLs at no cost. Link analytics, custom themes, validated pixel IDs, and team seats are included. High-popularity or unverifiable artist links may stay unpublished in verification hold until Dynamoi can verify the client relationship.\n- **Managed Smart Campaigns** \u2014 Dynamoi runs Meta ad campaigns that promote Spotify tracks, albums, and playlists.\n- **YouTube campaigns** \u2014 managed campaigns on Google's ad network for YouTube channel growth. Each campaign follows a strategy (Views, Watch Time, Subscribers, Channel Growth, or Revenue for monetized channels) and is judged from the channel's own YouTube data. Every strategy except Views starts viewers in a playlist of the artist's own videos.\n- **Music distribution (optional)** \u2014 an opt-in product for artists who want everything in one account; it delivers releases to 100+ stores including Spotify, Apple Music, Amazon Music, YouTube Music, TikTok, Deezer, and Tidal. Dynamoi scores five requirements before an application can be submitted \u2014 including an established audience (at least 1,000 Spotify followers and 10,000 monthly listeners) and identity verification \u2014 and approval is not guaranteed. Promotion has no listener bar.\n\nCampaigns run on Dynamoi's own managed Meta and Google ad infrastructure, so artists do not need their own Business Manager, pixels, or ad accounts. They reach real people through official ad networks, never bots, fake streams, click farms, or paid playlist placement. Results vary by campaign and are never guaranteed.\n\n## Company\n\n- **Founded** \u2014 2021, by Trevor Loucks.\n- **Headquarters** \u2014 Sioux Falls, South Dakota, United States.\n- **Operating model** \u2014 Dynamoi is operated by humans, assisted by AI. People make the decisions and are accountable for every campaign and support reply; AI assists with ad creative, campaign monitoring, reporting, and routine tasks.\n- **Support** \u2014 email support@dynamoi.com. The Dynamoi team replies within 24 hours.\n\n## How to get started\n\n1. Sign in at https://dynamoi.com.\n2. Connect your Spotify artist profile.\n3. Create a free Smart Link for a release.";
5
5
  export declare const DYNAMOI_ABOUT_RESOURCE: {
6
6
  readonly description: "Canonical About Dynamoi overview: what Dynamoi is, who it is for, free Smart Links, managed Smart Campaigns, YouTube campaigns, distribution, company facts, support, and how to get started.";
7
7
  readonly mimeType: "text/markdown";
@@ -22,7 +22,7 @@ type DynamoiToolRegistrationDescriptor = {
22
22
  schema: z.ZodObject<z.ZodRawShape>;
23
23
  title: string;
24
24
  };
25
- declare const DYNAMOI_TOOL_NAMES: ("dynamoi_about" | "dynamoi_apply_for_distribution" | "dynamoi_contact_support" | "dynamoi_create_smart_link_from_spotify" | "dynamoi_create_smart_links_from_spotify_artist" | "dynamoi_get_account_overview" | "dynamoi_get_artist_analytics" | "dynamoi_get_audience_analytics" | "dynamoi_get_billing" | "dynamoi_get_campaign" | "dynamoi_get_campaign_readiness" | "dynamoi_get_distribution_application" | "dynamoi_get_growth_audit" | "dynamoi_get_platform_status" | "dynamoi_get_playlist_analytics" | "dynamoi_get_resume_funding" | "dynamoi_get_smart_link" | "dynamoi_get_youtube_channel_data" | "dynamoi_launch_campaign" | "dynamoi_list_artists" | "dynamoi_list_available_countries" | "dynamoi_list_campaigns" | "dynamoi_list_media_assets" | "dynamoi_list_smart_links" | "dynamoi_manage_youtube_draft" | "dynamoi_open_workspace" | "dynamoi_preview_smart_link_themes" | "dynamoi_search" | "dynamoi_shop_create_checkout" | "dynamoi_shop_get_quote" | "dynamoi_start_meta_connection" | "dynamoi_start_youtube_channel_link" | "dynamoi_update_campaign" | "dynamoi_update_smart_link" | "dynamoi_update_smart_link_artist_hub_settings" | "dynamoi_update_smart_link_artist_settings" | "dynamoi_update_smart_link_description" | "dynamoi_update_smart_link_release_settings" | "fetch" | "search")[];
25
+ declare const DYNAMOI_TOOL_NAMES: ("dynamoi_about" | "dynamoi_add_campaign_funds" | "dynamoi_apply_for_distribution" | "dynamoi_contact_support" | "dynamoi_create_smart_link_from_spotify" | "dynamoi_create_smart_links_from_spotify_artist" | "dynamoi_get_account_overview" | "dynamoi_get_artist_analytics" | "dynamoi_get_audience_analytics" | "dynamoi_get_billing" | "dynamoi_get_campaign" | "dynamoi_get_campaign_readiness" | "dynamoi_get_distribution_application" | "dynamoi_get_growth_audit" | "dynamoi_get_platform_status" | "dynamoi_get_playlist_analytics" | "dynamoi_get_resume_funding" | "dynamoi_get_smart_link" | "dynamoi_get_youtube_channel_data" | "dynamoi_launch_campaign" | "dynamoi_list_artists" | "dynamoi_list_available_countries" | "dynamoi_list_campaigns" | "dynamoi_list_media_assets" | "dynamoi_list_smart_links" | "dynamoi_manage_youtube_draft" | "dynamoi_open_workspace" | "dynamoi_preview_smart_link_themes" | "dynamoi_search" | "dynamoi_shop_create_checkout" | "dynamoi_shop_get_quote" | "dynamoi_start_meta_connection" | "dynamoi_start_youtube_channel_link" | "dynamoi_update_campaign" | "dynamoi_update_smart_link" | "dynamoi_update_smart_link_artist_hub_settings" | "dynamoi_update_smart_link_artist_settings" | "dynamoi_update_smart_link_description" | "dynamoi_update_smart_link_release_settings" | "fetch" | "search")[];
26
26
  type DynamoiToolName = (typeof DYNAMOI_TOOL_NAMES)[number];
27
27
  type DynamoiToolDefinition = Omit<DynamoiToolRegistrationDescriptor, "name"> & {
28
28
  name: DynamoiToolName;
@@ -53,6 +53,7 @@ export type Phase3Adapter = {
53
53
  getAudienceAnalytics(input: unknown): Promise<ResultEnvelope<unknown>>;
54
54
  listCampaigns(input: unknown): Promise<ResultEnvelope<ListCampaignsJsonData | ListCampaignsSummaryData>>;
55
55
  getCampaign(input: unknown): Promise<ResultEnvelope<GetCampaignData | GetCampaignSummaryData>>;
56
+ addCampaignFunds(input: unknown): Promise<ResultEnvelope<Record<string, unknown>>>;
56
57
  getResumeFunding(input: unknown): Promise<ResultEnvelope<GetResumeFundingData | {
57
58
  summary: string;
58
59
  }>>;
@@ -1,13 +1,13 @@
1
1
  /** Product name for the hosted MCP server. */
2
2
  export declare const DYNAMOI_MCP_SERVER_NAME = "Dynamoi MCP Server";
3
3
  /** One-line tagline. */
4
- export declare const DYNAMOI_MCP_TAGLINE = "Music promotion, built for AI agents.";
4
+ export declare const DYNAMOI_MCP_TAGLINE = "Music promotion and distribution, built for AI agents.";
5
5
  /**
6
6
  * Short description. The MCP Registry caps `server.json` descriptions at 100
7
7
  * characters, and `package.json` and `server.json` must equal this exactly.
8
8
  */
9
- export declare const DYNAMOI_MCP_SHORT_DESCRIPTION = "Music promotion for AI agents: Spotify and YouTube ads, Smart Links, optional distribution.";
9
+ export declare const DYNAMOI_MCP_SHORT_DESCRIPTION = "Music promotion and distribution for AI agents: Spotify and YouTube ads, Smart Links, releases.";
10
10
  /** Standard description for docs metadata, listings, and discovery summaries. */
11
- export declare const DYNAMOI_MCP_STANDARD_DESCRIPTION = "Music promotion from your AI agent. Connect Claude, ChatGPT, Codex or Cursor to check results and manage Smart Links and, where your assistant allows purchases, launch and fund Spotify and YouTube campaigns with the artist's explicit consent. Artists who distribute with Dynamoi can manage releases there too.";
11
+ export declare const DYNAMOI_MCP_STANDARD_DESCRIPTION = "Music promotion and distribution from your AI agent. Connect Claude, ChatGPT, Codex or Cursor to check results and manage Smart Links and, where your assistant allows purchases, launch and fund Spotify and YouTube campaigns with the artist's explicit consent. Distribution is optional and application-based: artists who distribute with Dynamoi can manage releases there too.";
12
12
  /** Registry limit for `server.json` descriptions. */
13
13
  export declare const DYNAMOI_MCP_REGISTRY_DESCRIPTION_MAX_LENGTH = 100;
@@ -261,6 +261,13 @@ export declare const DynamoiPauseCampaignInputSchema: z.ZodObject<{
261
261
  }>>;
262
262
  userIntentSummary: z.ZodOptional<z.ZodString>;
263
263
  }, z.core.$strict>;
264
+ export declare const DynamoiAddCampaignFundsInputSchema: z.ZodObject<{
265
+ amountMinor: z.ZodNumber;
266
+ artistId: z.ZodString;
267
+ confirm: z.ZodOptional<z.ZodBoolean>;
268
+ currency: z.ZodOptional<z.ZodString>;
269
+ requestId: z.ZodString;
270
+ }, z.core.$strict>;
264
271
  export declare const DynamoiGetResumeFundingInputSchema: z.ZodObject<{
265
272
  campaignId: z.ZodString;
266
273
  format: z.ZodOptional<z.ZodEnum<{
@@ -1180,7 +1187,7 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
1180
1187
  }, z.core.$strict>;
1181
1188
  readonly title: "Get YouTube Channel Data";
1182
1189
  }, {
1183
- readonly description: "Use this when the user asks about billing state, credit balance, promo limits, subscription status, or whether billing blocks launches for one artist. This is a read-only status check; it does not create checkout links or collect payment. If billing blocks a launch, starting or restoring managed advertising is not available through this MCP surface; tell the user: 'You can do this in the Dynamoi dashboard at https://dynamoi.com/dashboard.' Then call this tool again to confirm the status. Do not use this for campaign analytics or platform connection troubleshooting.";
1190
+ readonly description: "Use this when the user asks about billing state, credit balance, promo limits, subscription status, campaign-fund deposits, or whether billing blocks launches for one artist. This is a read-only status check; it does not create checkout links or collect payment. Each deposit in prefundPayments is pending (payment not yet confirmed), cleared (Stripe says paid and the funds are usable), failed (the payment did not complete) or held (paid, but funding is on hold for review and not usable yet). A Checkout link alone is never a deposit. To add campaign funds use dynamoi_add_campaign_funds; for other billing setup tell the user: 'You can do this in the Dynamoi dashboard at https://dynamoi.com/dashboard.' Then call this tool again to confirm the status. Do not use this for campaign analytics or platform connection troubleshooting.";
1184
1191
  readonly destructiveHint: false;
1185
1192
  readonly name: "dynamoi_get_billing";
1186
1193
  readonly openWorldHint: false;
@@ -1631,6 +1638,65 @@ export declare const PHASE_ONBOARDING_TOOL_DEFINITIONS: readonly [{
1631
1638
  readonly title: "Start Meta Connection";
1632
1639
  }];
1633
1640
  export declare const PHASE_2_TOOL_DEFINITIONS: readonly [{
1641
+ readonly description: "Create the same unpaid Stripe Checkout the dashboard's Add campaign funds button creates, in the artist's bound currency, and return its URL for the user to open and pay. Call it first WITHOUT confirm to get the exact amount and currency; show both to the user and obtain their explicit approval, then call again with confirm=true, that currency, the same amountMinor and the same requestId (retrying within 24 hours returns the same session; once a payment exists for that requestId, or after a day, use a new requestId). This never charges anyone or records a deposit: funds count as cleared only after Stripe says paid, which dynamoi_get_billing reports in prefundPayments (pending, cleared, failed or held). Refused when funding is on hold, billing setup is required, the amount is outside the allowed range or the currency is not live.";
1642
+ readonly destructiveHint: false;
1643
+ readonly idempotentHint: true;
1644
+ readonly name: "dynamoi_add_campaign_funds";
1645
+ readonly openWorldHint: true;
1646
+ readonly outputSchema: z.ZodObject<{
1647
+ status: z.ZodEnum<{
1648
+ success: "success";
1649
+ partial_success: "partial_success";
1650
+ error: "error";
1651
+ }>;
1652
+ code: z.ZodOptional<z.ZodEnum<{
1653
+ ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1654
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
1655
+ CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
1656
+ INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
1657
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
1658
+ STATE_CONFLICT: "STATE_CONFLICT";
1659
+ QUOTE_CHANGED: "QUOTE_CHANGED";
1660
+ RATE_LIMITED: "RATE_LIMITED";
1661
+ OUTPUT_INVALID: "OUTPUT_INVALID";
1662
+ UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
1663
+ }>>;
1664
+ draftId: z.ZodOptional<z.ZodString>;
1665
+ failureStage: z.ZodOptional<z.ZodString>;
1666
+ field: z.ZodOptional<z.ZodString>;
1667
+ nextAction: z.ZodOptional<z.ZodObject<{
1668
+ field: z.ZodOptional<z.ZodString>;
1669
+ kind: z.ZodEnum<{
1670
+ provide_input: "provide_input";
1671
+ read_status: "read_status";
1672
+ reconnect: "reconnect";
1673
+ handoff: "handoff";
1674
+ }>;
1675
+ reason: z.ZodOptional<z.ZodString>;
1676
+ }, z.core.$strict>>;
1677
+ prerequisite: z.ZodOptional<z.ZodString>;
1678
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
1679
+ retryable: z.ZodOptional<z.ZodBoolean>;
1680
+ screeningResult: z.ZodOptional<z.ZodString>;
1681
+ data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1682
+ kind: z.ZodOptional<z.ZodEnum<{
1683
+ unknown: "unknown";
1684
+ validation: "validation";
1685
+ business: "business";
1686
+ platform: "platform";
1687
+ }>>;
1688
+ message: z.ZodOptional<z.ZodString>;
1689
+ }, z.core.$strict>;
1690
+ readonly readOnlyHint: false;
1691
+ readonly schema: z.ZodObject<{
1692
+ amountMinor: z.ZodNumber;
1693
+ artistId: z.ZodString;
1694
+ confirm: z.ZodOptional<z.ZodBoolean>;
1695
+ currency: z.ZodOptional<z.ZodString>;
1696
+ requestId: z.ZodString;
1697
+ }, z.core.$strict>;
1698
+ readonly title: "Add Campaign Funds";
1699
+ }, {
1634
1700
  readonly description: "Inspect an artist's open YouTube draft with action=inspect after an interrupted launch. Returns completed steps, screening, failure stage, and updatedAt. Use action=discard only when the user explicitly asks to discard that draft, supplying its campaignId, expectedUpdatedAt from inspect, and userIntentSummary. Discard cannot be undone.";
1635
1701
  readonly destructiveHint: true;
1636
1702
  readonly name: "dynamoi_manage_youtube_draft";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://www.schemastore.org/package",
3
3
  "name": "@dynamoi/mcp",
4
- "version": "1.0.5",
4
+ "version": "1.0.7",
5
5
  "packageManager": "bun@1.4.3",
6
6
  "mcpName": "io.github.getDynamoi/dynamoi",
7
7
  "workspaces": [
@@ -10,7 +10,7 @@
10
10
  ],
11
11
  "type": "module",
12
12
  "license": "MIT",
13
- "description": "Music promotion for AI agents: Spotify and YouTube ads, Smart Links, optional distribution.",
13
+ "description": "Music promotion and distribution for AI agents: Spotify and YouTube ads, Smart Links, releases.",
14
14
  "keywords": [
15
15
  "mcp",
16
16
  "model-context-protocol",
package/server.json CHANGED
@@ -2,8 +2,8 @@
2
2
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
3
  "name": "io.github.getDynamoi/dynamoi",
4
4
  "title": "Dynamoi",
5
- "description": "Music promotion for AI agents: Spotify and YouTube ads, Smart Links, optional distribution.",
6
- "version": "1.0.5",
5
+ "description": "Music promotion and distribution for AI agents: Spotify and YouTube ads, Smart Links, releases.",
6
+ "version": "1.0.7",
7
7
  "websiteUrl": "https://dynamoi.com",
8
8
  "repository": {
9
9
  "url": "https://github.com/getDynamoi/dynamoi",