@dynamoi/mcp 0.6.3 → 0.6.5
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/CHANGELOG.md +30 -1
- package/README.md +119 -71
- package/dist/auth/protected-resource.d.ts +32 -5
- package/dist/auth/protected-resource.d.ts.map +1 -0
- package/dist/auth/protected-resource.js +10 -4
- package/dist/auth/protected-resource.js.map +9 -1
- package/dist/auth/verify-token.d.ts +21 -0
- package/dist/auth/verify-token.d.ts.map +1 -0
- package/dist/chunk-4jfaxshz.js +83 -0
- package/dist/chunk-4jfaxshz.js.map +10 -0
- package/dist/chunk-kb3xpcrb.js +9 -0
- package/dist/chunk-kb3xpcrb.js.map +10 -0
- package/dist/consent.d.ts +4 -0
- package/dist/consent.d.ts.map +1 -0
- package/dist/consent.js +13 -0
- package/dist/consent.js.map +9 -0
- package/dist/flow-types.d.ts +150 -0
- package/dist/flow-types.d.ts.map +1 -0
- package/dist/index.d.ts +13 -2464
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1364 -1242
- package/dist/index.js.map +25 -1
- package/dist/readiness-types.d.ts +88 -0
- package/dist/readiness-types.d.ts.map +1 -0
- package/dist/server/create-server.d.ts +81 -0
- package/dist/server/create-server.d.ts.map +1 -0
- package/dist/server/instructions.d.ts +3 -0
- package/dist/server/instructions.d.ts.map +1 -0
- package/dist/server/onboarding-tool-definitions.d.ts +56 -0
- package/dist/server/onboarding-tool-definitions.d.ts.map +1 -0
- package/dist/server/openai-tools.d.ts +88 -0
- package/dist/server/openai-tools.d.ts.map +1 -0
- package/dist/server/output-schemas.d.ts +122 -0
- package/dist/server/output-schemas.d.ts.map +1 -0
- package/dist/server/playbook-resources.d.ts +3 -0
- package/dist/server/playbook-resources.d.ts.map +1 -0
- package/dist/server/prompts.d.ts +3 -0
- package/dist/server/prompts.d.ts.map +1 -0
- package/dist/server/resources.d.ts +4 -0
- package/dist/server/resources.d.ts.map +1 -0
- package/dist/server/shared-schemas.d.ts +14 -0
- package/dist/server/shared-schemas.d.ts.map +1 -0
- package/dist/server/smart-link-theme-preview.d.ts +48 -0
- package/dist/server/smart-link-theme-preview.d.ts.map +1 -0
- package/dist/server/smart-link-tools.d.ts +346 -0
- package/dist/server/smart-link-tools.d.ts.map +1 -0
- package/dist/server/tools.d.ts +870 -0
- package/dist/server/tools.d.ts.map +1 -0
- package/dist/server/workflow-tools.d.ts +93 -0
- package/dist/server/workflow-tools.d.ts.map +1 -0
- package/dist/transport/http.d.ts +9 -0
- package/dist/transport/http.d.ts.map +1 -0
- package/dist/types.d.ts +429 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/package.json +17 -9
- package/server.json +3 -3
- package/dist/chunk-CHQUK72A.js +0 -35
- package/dist/chunk-CHQUK72A.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../src/server/tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAqB5B,eAAO,MAAM,eAAe;;;kBAAwB,CAAC;AACrD,eAAO,MAAM,gBAAgB;;;EAAyB,CAAC;AAoBvD,eAAO,MAAM,6BAA6B;;;;;;;;kBAOhC,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;kBAmBlC,CAAC;AASJ,eAAO,MAAM,gCAAgC;;;;;;;;;;;kBAKnC,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;;;kBAK9B,CAAC;AAEX,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;kBASlC,CAAC;AAEX,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;kBAUhC,CAAC;AAEX,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;kBAOzC,CAAC;AAEX,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;kBAOvC,CAAC;AAEX,eAAO,MAAM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BAAgB;;0BAItB,kgBAAkgB;;mBAE7f,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAKrB,cAAc;;0BAIpB,uhBAAuhB;;mBAElhB,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAK7B,sBAAsB;;0BAI5B,8dAA8d;;mBAEzd,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;oBAKpB,aAAa;;0BAInB,oZAAoZ;;mBAE/Y,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAK5B,qBAAqB;;0BAI3B,yPAAyP;;mBAEpP,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAKjC,0BAA0B;;0BAIhC,qPAAqP;;mBAEhP,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAK/B,wBAAwB;EAEvB,CAAC;AAEX,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI3C,CAAC;AAEJ,eAAO,MAAM,wBAAwB;aAEnC,WAAW,EACV,0RAA0R;aAC3R,eAAe;aACf,cAAc;aACd,IAAI,EAAE,yBAAyB;aAC/B,aAAa;aACb,YAAY;;;;;;;;;;;;;;;aACZ,YAAY;aACZ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aACN,KAAK,EAAE,iBAAiB;EAEhB,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
export declare const PHASE_3_TOOL_DEFINITIONS: readonly [{
|
|
2
|
+
readonly description: "Use this when the user wants to choose from uploaded images or videos that can be reused in a campaign launch. Do not use this when the user only wants campaign status or analytics. Use format=json when you need asset IDs for a follow-up launch. Request includeUrls only when the assistant must display or inspect public-safe asset URLs.";
|
|
3
|
+
readonly destructiveHint: false;
|
|
4
|
+
readonly name: "dynamoi_list_media_assets";
|
|
5
|
+
readonly openWorldHint: false;
|
|
6
|
+
readonly outputSchema: import("zod/v4").ZodObject<{
|
|
7
|
+
data: import("zod/v4").ZodOptional<import("zod/v4").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>;
|
|
8
|
+
kind: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
9
|
+
business: "business";
|
|
10
|
+
platform: "platform";
|
|
11
|
+
unknown: "unknown";
|
|
12
|
+
validation: "validation";
|
|
13
|
+
}>>;
|
|
14
|
+
message: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
15
|
+
status: import("zod/v4").ZodEnum<{
|
|
16
|
+
error: "error";
|
|
17
|
+
partial_success: "partial_success";
|
|
18
|
+
success: "success";
|
|
19
|
+
}>;
|
|
20
|
+
}, import("zod/v4/core").$strict>;
|
|
21
|
+
readonly readOnlyHint: true;
|
|
22
|
+
readonly schema: import("zod/v4").ZodObject<{
|
|
23
|
+
artistId: import("zod/v4").ZodString;
|
|
24
|
+
cursor: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
25
|
+
format: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
26
|
+
json: "json";
|
|
27
|
+
summary: "summary";
|
|
28
|
+
}>>;
|
|
29
|
+
includeUrls: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
30
|
+
limit: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
|
|
31
|
+
}, import("zod/v4/core").$strict>;
|
|
32
|
+
readonly title: "List Media Assets";
|
|
33
|
+
}, {
|
|
34
|
+
readonly description: "Use this when the user explicitly wants to create a new Smart Campaign or YouTube Campaign and start the launch workflow with provided details. Ads are not necessarily live until the returned delivery state is ACTIVE. For review or demo Smart Campaign launches that already specify the artist, content title, budget, countries, and reusable media assets, you may omit spotifyUrl and endDate because Dynamoi can infer reviewer-safe defaults. Do not invent placeholder spotifyUrl or endDate values for those review/demo launches; omit them and let Dynamoi infer them. After a successful launch, answer from the returned campaign details directly instead of chaining more tools unless the user explicitly asked for more. Do not use this for recommendations or previews; this creates a real campaign workflow or demo-safe simulated campaign.";
|
|
35
|
+
readonly destructiveHint: true;
|
|
36
|
+
readonly idempotentHint: true;
|
|
37
|
+
readonly name: "dynamoi_launch_campaign";
|
|
38
|
+
readonly openWorldHint: true;
|
|
39
|
+
readonly outputSchema: import("zod/v4").ZodObject<{
|
|
40
|
+
data: import("zod/v4").ZodOptional<import("zod/v4").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>;
|
|
41
|
+
kind: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
|
|
42
|
+
business: "business";
|
|
43
|
+
platform: "platform";
|
|
44
|
+
unknown: "unknown";
|
|
45
|
+
validation: "validation";
|
|
46
|
+
}>>;
|
|
47
|
+
message: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
48
|
+
status: import("zod/v4").ZodEnum<{
|
|
49
|
+
error: "error";
|
|
50
|
+
partial_success: "partial_success";
|
|
51
|
+
success: "success";
|
|
52
|
+
}>;
|
|
53
|
+
}, import("zod/v4/core").$strict>;
|
|
54
|
+
readonly readOnlyHint: false;
|
|
55
|
+
readonly schema: import("zod/v4").ZodObject<{
|
|
56
|
+
adCopy: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
57
|
+
appleMusicUrl: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
58
|
+
artistId: import("zod/v4").ZodString;
|
|
59
|
+
budgetAmount: import("zod/v4").ZodNumber;
|
|
60
|
+
budgetSplits: import("zod/v4").ZodRecord<import("zod/v4").ZodEnum<{
|
|
61
|
+
GOOGLE: "GOOGLE";
|
|
62
|
+
META: "META";
|
|
63
|
+
}>, import("zod/v4").ZodNumber>;
|
|
64
|
+
budgetType: import("zod/v4").ZodEnum<{
|
|
65
|
+
DAILY: "DAILY";
|
|
66
|
+
TOTAL: "TOTAL";
|
|
67
|
+
}>;
|
|
68
|
+
campaignType: import("zod/v4").ZodEnum<{
|
|
69
|
+
SMART_CAMPAIGN: "SMART_CAMPAIGN";
|
|
70
|
+
YOUTUBE: "YOUTUBE";
|
|
71
|
+
}>;
|
|
72
|
+
clientRequestId: import("zod/v4").ZodString;
|
|
73
|
+
contentTitle: import("zod/v4").ZodString;
|
|
74
|
+
contentType: import("zod/v4").ZodEnum<{
|
|
75
|
+
ALBUM: "ALBUM";
|
|
76
|
+
PLAYLIST: "PLAYLIST";
|
|
77
|
+
TRACK: "TRACK";
|
|
78
|
+
VIDEO: "VIDEO";
|
|
79
|
+
}>;
|
|
80
|
+
endDate: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
81
|
+
locationTargets: import("zod/v4").ZodOptional<import("zod/v4").ZodArray<import("zod/v4").ZodObject<{
|
|
82
|
+
code: import("zod/v4").ZodString;
|
|
83
|
+
name: import("zod/v4").ZodString;
|
|
84
|
+
}, import("zod/v4/core").$strict>>>;
|
|
85
|
+
mediaAssetIds: import("zod/v4").ZodOptional<import("zod/v4").ZodArray<import("zod/v4").ZodString>>;
|
|
86
|
+
spotifyUrl: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
87
|
+
useAiGeneratedCopy: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
|
|
88
|
+
userIntentSummary: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
89
|
+
youtubeVideoId: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
|
|
90
|
+
}, import("zod/v4/core").$strict>;
|
|
91
|
+
readonly title: "Start Campaign Launch Workflow";
|
|
92
|
+
}];
|
|
93
|
+
//# sourceMappingURL=workflow-tools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-tools.d.ts","sourceRoot":"","sources":["../../../src/server/workflow-tools.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,wBAAwB;aAEnC,WAAW,EACV,mVAAmV;aACpV,eAAe;aACf,IAAI,EAAE,2BAA2B;aACjC,aAAa;aACb,YAAY;;;;;;;;;;;;;;;aACZ,YAAY;aACZ,MAAM;;;;;;;;;;aACN,KAAK,EAAE,mBAAmB;;aAG1B,WAAW,EACV,u0BAAu0B;aACx0B,eAAe;aACf,cAAc;aACd,IAAI,EAAE,yBAAyB;aAC/B,aAAa;aACb,YAAY;;;;;;;;;;;;;;;aACZ,YAAY;aACZ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aACN,KAAK,EAAE,gCAAgC;EAE/B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
2
|
+
type HandleOptions = {
|
|
3
|
+
createServer: () => McpServer;
|
|
4
|
+
request: Request;
|
|
5
|
+
parsedBody: unknown;
|
|
6
|
+
};
|
|
7
|
+
export declare function handleMcpHttpRequest(options: HandleOptions): Promise<Response>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=http.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../src/transport/http.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAIzE,KAAK,aAAa,GAAG;IACpB,YAAY,EAAE,MAAM,SAAS,CAAC;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;CACpB,CAAC;AAgCF,wBAAsB,oBAAoB,CACzC,OAAO,EAAE,aAAa,GACpB,OAAO,CAAC,QAAQ,CAAC,CAiCnB"}
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,429 @@
|
|
|
1
|
+
export type * from "./flow-types";
|
|
2
|
+
export type * from "./readiness-types";
|
|
3
|
+
export type ResultEnvelope<T> = {
|
|
4
|
+
status: "success";
|
|
5
|
+
data: T;
|
|
6
|
+
} | {
|
|
7
|
+
status: "partial_success";
|
|
8
|
+
data: T;
|
|
9
|
+
message: string;
|
|
10
|
+
} | {
|
|
11
|
+
status: "error";
|
|
12
|
+
message: string;
|
|
13
|
+
kind?: "validation" | "business" | "platform" | "unknown";
|
|
14
|
+
};
|
|
15
|
+
export type MoneyDisplay = {
|
|
16
|
+
formatted: string;
|
|
17
|
+
amountUsd: number;
|
|
18
|
+
};
|
|
19
|
+
export type AccessRole = "admin" | "editor" | "viewer";
|
|
20
|
+
export type ArtistTier = "none" | "starter" | "plus";
|
|
21
|
+
export type BillingStatus = "ACTIVE" | "SUSPENDED" | "INACTIVE" | "NEVER_SUBSCRIBED";
|
|
22
|
+
export type CampaignType = "SMART_CAMPAIGN" | "YOUTUBE";
|
|
23
|
+
export type CampaignDisplayStatus = "AWAITING_SMART_LINK" | "CONTENT_VALIDATION" | "DEPLOYING" | "READY_FOR_REVIEW" | "ACTIVE" | "PAUSED" | "SUBSCRIPTION_PAUSED" | "ARCHIVED" | "FAILED" | "ENDED";
|
|
24
|
+
export type ListArtistsData = {
|
|
25
|
+
artists: Array<{
|
|
26
|
+
id: string;
|
|
27
|
+
name: string;
|
|
28
|
+
organizationName?: string;
|
|
29
|
+
tier: ArtistTier;
|
|
30
|
+
billingStatus: BillingStatus;
|
|
31
|
+
activeCampaignCount: number;
|
|
32
|
+
role: AccessRole;
|
|
33
|
+
}>;
|
|
34
|
+
nextCursor?: string;
|
|
35
|
+
};
|
|
36
|
+
export type ListArtistsSummaryData = {
|
|
37
|
+
summary: string;
|
|
38
|
+
totalCount: number;
|
|
39
|
+
nextCursor?: string;
|
|
40
|
+
};
|
|
41
|
+
export type SearchResultType = "artist" | "campaign" | "smartlink";
|
|
42
|
+
export type SearchData = {
|
|
43
|
+
results: Array<{
|
|
44
|
+
type: SearchResultType;
|
|
45
|
+
id: string;
|
|
46
|
+
name: string;
|
|
47
|
+
status?: string;
|
|
48
|
+
artistName?: string;
|
|
49
|
+
publicUrl?: string;
|
|
50
|
+
resultReason?: string;
|
|
51
|
+
}>;
|
|
52
|
+
nextCursor?: string;
|
|
53
|
+
};
|
|
54
|
+
export type SearchSummaryData = {
|
|
55
|
+
summary: string;
|
|
56
|
+
totalCount: number;
|
|
57
|
+
nextCursor?: string;
|
|
58
|
+
};
|
|
59
|
+
export type GetCurrentUserArtistSummary = {
|
|
60
|
+
id: string;
|
|
61
|
+
name: string;
|
|
62
|
+
slug: string | null;
|
|
63
|
+
hasConnectedMeta: boolean;
|
|
64
|
+
hasConnectedSpotify: boolean;
|
|
65
|
+
hasConnectedYoutube: boolean;
|
|
66
|
+
artistHasActiveCampaigns: boolean;
|
|
67
|
+
smartLinkCount: number;
|
|
68
|
+
};
|
|
69
|
+
export type GetCurrentUserState = {
|
|
70
|
+
hasAnyArtist: boolean;
|
|
71
|
+
hasAnyConnectedMeta: boolean;
|
|
72
|
+
hasAnyConnectedSpotify: boolean;
|
|
73
|
+
hasAnyConnectedYoutube: boolean;
|
|
74
|
+
hasAnySmartLink: boolean;
|
|
75
|
+
hasAnyActiveCampaign: boolean;
|
|
76
|
+
isFirstSession: boolean;
|
|
77
|
+
};
|
|
78
|
+
export type GetCurrentUserData = {
|
|
79
|
+
user: {
|
|
80
|
+
name?: string;
|
|
81
|
+
};
|
|
82
|
+
organizationCount: number;
|
|
83
|
+
artistCount: number;
|
|
84
|
+
artists: {
|
|
85
|
+
count: number;
|
|
86
|
+
summaries: GetCurrentUserArtistSummary[];
|
|
87
|
+
};
|
|
88
|
+
state: GetCurrentUserState;
|
|
89
|
+
recommendedNextActions: string[];
|
|
90
|
+
hints: string[];
|
|
91
|
+
};
|
|
92
|
+
export type SmartLinkClaimStatus = "auto_approved" | "pending_ops_review" | "verification_deferred" | "approved_by_ops" | "rejected";
|
|
93
|
+
export type SmartLinkPublishState = "published" | "unpublished";
|
|
94
|
+
export type SmartLinkTakedownStatus = "none" | "active" | "resolved";
|
|
95
|
+
export type SmartLinkOdesliStatus = "pending" | "resolved" | "failed";
|
|
96
|
+
export type SmartLinkRenderState = "queued" | "rendering" | "rendered" | "failed";
|
|
97
|
+
export type SmartLinkTheme = "classic" | "brutalist" | "aurora" | "cinematic";
|
|
98
|
+
export type SmartLinkSummary = {
|
|
99
|
+
id: string;
|
|
100
|
+
artistId: string;
|
|
101
|
+
artistName: string;
|
|
102
|
+
artistHubUrl: string;
|
|
103
|
+
releaseTitle: string;
|
|
104
|
+
releaseType: string;
|
|
105
|
+
releaseSlug: string;
|
|
106
|
+
spotifyUrl: string | null;
|
|
107
|
+
publicUrl: string;
|
|
108
|
+
localizedPublicUrls?: string[];
|
|
109
|
+
isPublic: boolean;
|
|
110
|
+
claimStatus: SmartLinkClaimStatus;
|
|
111
|
+
publishState: SmartLinkPublishState;
|
|
112
|
+
takedownStatus: SmartLinkTakedownStatus;
|
|
113
|
+
odesliStatus: SmartLinkOdesliStatus;
|
|
114
|
+
renderState: SmartLinkRenderState;
|
|
115
|
+
theme: SmartLinkTheme;
|
|
116
|
+
createdAt: string;
|
|
117
|
+
updatedAt: string;
|
|
118
|
+
};
|
|
119
|
+
export type SmartLinkSettingsData = {
|
|
120
|
+
artistId: string;
|
|
121
|
+
artistName: string;
|
|
122
|
+
isEnabled: boolean;
|
|
123
|
+
defaultTheme: SmartLinkTheme;
|
|
124
|
+
pixels: {
|
|
125
|
+
metaPixelId: string | null;
|
|
126
|
+
tiktokPixelId: string | null;
|
|
127
|
+
googleAdsConversionId: string | null;
|
|
128
|
+
};
|
|
129
|
+
availableThemes: SmartLinkTheme[];
|
|
130
|
+
summary?: string;
|
|
131
|
+
};
|
|
132
|
+
export type ListSmartLinksData = {
|
|
133
|
+
smartLinks: SmartLinkSummary[];
|
|
134
|
+
nextCursor?: string;
|
|
135
|
+
};
|
|
136
|
+
export type ListSmartLinksSummaryData = {
|
|
137
|
+
summary: string;
|
|
138
|
+
totalCount: number;
|
|
139
|
+
nextCursor?: string;
|
|
140
|
+
};
|
|
141
|
+
export type GetSmartLinkData = SmartLinkSummary & {
|
|
142
|
+
customDescription: string | null;
|
|
143
|
+
originalSpotifyUrl: string | null;
|
|
144
|
+
nextActions: string[];
|
|
145
|
+
summary: string;
|
|
146
|
+
warnings?: string[];
|
|
147
|
+
actionRequired?: string[];
|
|
148
|
+
};
|
|
149
|
+
export type GetSmartLinkSummaryData = {
|
|
150
|
+
summary: string;
|
|
151
|
+
warnings?: string[];
|
|
152
|
+
actionRequired?: string[];
|
|
153
|
+
};
|
|
154
|
+
export type SmartLinkAnalyticsTotals = {
|
|
155
|
+
anonymousVisits: number;
|
|
156
|
+
streamingServiceClicks: number;
|
|
157
|
+
youtubeVideoPlays: number;
|
|
158
|
+
};
|
|
159
|
+
export type GetSmartLinkAnalyticsData = {
|
|
160
|
+
playLinkId: string;
|
|
161
|
+
artistId: string;
|
|
162
|
+
releaseTitle: string;
|
|
163
|
+
dateRange: {
|
|
164
|
+
start: string;
|
|
165
|
+
end: string;
|
|
166
|
+
};
|
|
167
|
+
totals: SmartLinkAnalyticsTotals;
|
|
168
|
+
daily?: Array<SmartLinkAnalyticsTotals & {
|
|
169
|
+
date: string;
|
|
170
|
+
}>;
|
|
171
|
+
breakdowns?: {
|
|
172
|
+
serviceClicks?: Record<string, number>;
|
|
173
|
+
countryViews?: Record<string, number>;
|
|
174
|
+
countryClicks?: Record<string, number>;
|
|
175
|
+
referrerViews?: Record<string, number>;
|
|
176
|
+
referrerClicks?: Record<string, number>;
|
|
177
|
+
utmViews?: Record<string, number>;
|
|
178
|
+
utmClicks?: Record<string, number>;
|
|
179
|
+
deviceViews?: Record<string, number>;
|
|
180
|
+
deviceClicks?: Record<string, number>;
|
|
181
|
+
localeViews?: Record<string, number>;
|
|
182
|
+
localeClicks?: Record<string, number>;
|
|
183
|
+
themeViews?: Record<string, number>;
|
|
184
|
+
themeClicks?: Record<string, number>;
|
|
185
|
+
};
|
|
186
|
+
warnings?: string[];
|
|
187
|
+
};
|
|
188
|
+
export type GetSmartLinkAnalyticsSummaryData = {
|
|
189
|
+
summary: string;
|
|
190
|
+
warnings?: string[];
|
|
191
|
+
};
|
|
192
|
+
export type CreateSmartLinkFromSpotifyData = GetSmartLinkData & {
|
|
193
|
+
outcome: "created" | "existing";
|
|
194
|
+
workflowWarning: string | null;
|
|
195
|
+
};
|
|
196
|
+
export type CreateSmartLinksFromSpotifyArtistData = {
|
|
197
|
+
artistId: string;
|
|
198
|
+
artistName: string;
|
|
199
|
+
artistHubUrl: string;
|
|
200
|
+
spotifyArtistUrl: string;
|
|
201
|
+
artistCreatedFromSpotify?: boolean;
|
|
202
|
+
catalogImportStatus: "started" | "start_failed";
|
|
203
|
+
initialSmartLink: SmartLinkSummary | null;
|
|
204
|
+
currentSmartLinkCount: number;
|
|
205
|
+
newlyAvailableCount: number;
|
|
206
|
+
existingCount: number;
|
|
207
|
+
smartLinks: SmartLinkSummary[];
|
|
208
|
+
summary: string;
|
|
209
|
+
nextActions: string[];
|
|
210
|
+
warnings?: string[];
|
|
211
|
+
};
|
|
212
|
+
export type UpdateSmartLinkData = GetSmartLinkData & {
|
|
213
|
+
renderWarning: string | null;
|
|
214
|
+
};
|
|
215
|
+
export type UpdateSmartLinkArtistSettingsData = SmartLinkSettingsData & {
|
|
216
|
+
renderQueuedCount: number;
|
|
217
|
+
renderWarning: string | null;
|
|
218
|
+
};
|
|
219
|
+
export type GetCurrentUserSummaryData = {
|
|
220
|
+
summary: string;
|
|
221
|
+
organizationCount: number;
|
|
222
|
+
artistCount: number;
|
|
223
|
+
recommendedNextActions: string[];
|
|
224
|
+
};
|
|
225
|
+
export type GetArtistData = {
|
|
226
|
+
id: string;
|
|
227
|
+
name: string;
|
|
228
|
+
slug: string;
|
|
229
|
+
tier: ArtistTier;
|
|
230
|
+
billingStatus: BillingStatus;
|
|
231
|
+
connections: {
|
|
232
|
+
spotify: {
|
|
233
|
+
connected: boolean;
|
|
234
|
+
artistName?: string;
|
|
235
|
+
};
|
|
236
|
+
meta: {
|
|
237
|
+
connected: boolean;
|
|
238
|
+
status?: string;
|
|
239
|
+
};
|
|
240
|
+
youtube: {
|
|
241
|
+
connected: boolean;
|
|
242
|
+
channelName?: string;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
onboarding: {
|
|
246
|
+
smartCampaign: {
|
|
247
|
+
isReady: boolean;
|
|
248
|
+
missingRequirements: string[];
|
|
249
|
+
nextAction?: string;
|
|
250
|
+
};
|
|
251
|
+
youtube: {
|
|
252
|
+
isReady: boolean;
|
|
253
|
+
missingRequirements: string[];
|
|
254
|
+
nextAction?: string;
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
organization?: {
|
|
258
|
+
id: string;
|
|
259
|
+
name: string;
|
|
260
|
+
};
|
|
261
|
+
warnings?: string[];
|
|
262
|
+
actionRequired?: string[];
|
|
263
|
+
};
|
|
264
|
+
export type GetArtistSummaryData = {
|
|
265
|
+
summary: string;
|
|
266
|
+
warnings?: string[];
|
|
267
|
+
actionRequired?: string[];
|
|
268
|
+
};
|
|
269
|
+
export type ListCampaignsJsonData = {
|
|
270
|
+
campaigns: Array<{
|
|
271
|
+
id: string;
|
|
272
|
+
contentTitle: string;
|
|
273
|
+
campaignType: CampaignType;
|
|
274
|
+
status: CampaignDisplayStatus;
|
|
275
|
+
budget: MoneyDisplay;
|
|
276
|
+
budgetType: "DAILY" | "TOTAL";
|
|
277
|
+
platforms: string[];
|
|
278
|
+
createdAt: string;
|
|
279
|
+
endDate?: string;
|
|
280
|
+
}>;
|
|
281
|
+
nextCursor?: string;
|
|
282
|
+
};
|
|
283
|
+
export type ListCampaignsSummaryData = {
|
|
284
|
+
summary: string;
|
|
285
|
+
totalCount: number;
|
|
286
|
+
nextCursor?: string;
|
|
287
|
+
};
|
|
288
|
+
export type GetCampaignData = {
|
|
289
|
+
summary: string;
|
|
290
|
+
id: string;
|
|
291
|
+
contentTitle: string;
|
|
292
|
+
contentType: "TRACK" | "ALBUM" | "PLAYLIST" | "VIDEO";
|
|
293
|
+
campaignType: CampaignType;
|
|
294
|
+
status: CampaignDisplayStatus;
|
|
295
|
+
budget: MoneyDisplay;
|
|
296
|
+
budgetType: "DAILY" | "TOTAL";
|
|
297
|
+
locationTargets: {
|
|
298
|
+
mode: "GLOBAL";
|
|
299
|
+
} | {
|
|
300
|
+
mode: "COUNTRIES";
|
|
301
|
+
countryCount: number;
|
|
302
|
+
countries?: Array<{
|
|
303
|
+
code: string;
|
|
304
|
+
name: string;
|
|
305
|
+
}>;
|
|
306
|
+
};
|
|
307
|
+
platforms: Array<{
|
|
308
|
+
name: "META" | "GOOGLE";
|
|
309
|
+
status: string;
|
|
310
|
+
budgetAllocation: MoneyDisplay;
|
|
311
|
+
}>;
|
|
312
|
+
createdAt: string;
|
|
313
|
+
updatedAt: string;
|
|
314
|
+
endDate?: string;
|
|
315
|
+
artistId: string;
|
|
316
|
+
artistName: string;
|
|
317
|
+
smartLinkUrl?: string;
|
|
318
|
+
blockedReason?: string;
|
|
319
|
+
nextAction?: string;
|
|
320
|
+
warnings?: string[];
|
|
321
|
+
actionRequired?: string[];
|
|
322
|
+
};
|
|
323
|
+
export type GetCampaignSummaryData = {
|
|
324
|
+
summary: string;
|
|
325
|
+
warnings?: string[];
|
|
326
|
+
actionRequired?: string[];
|
|
327
|
+
};
|
|
328
|
+
export type GetCampaignAnalyticsJsonData = {
|
|
329
|
+
campaignId: string;
|
|
330
|
+
contentTitle: string;
|
|
331
|
+
status: CampaignDisplayStatus;
|
|
332
|
+
dateRange: {
|
|
333
|
+
start: string;
|
|
334
|
+
end: string;
|
|
335
|
+
};
|
|
336
|
+
totals: {
|
|
337
|
+
impressions: number;
|
|
338
|
+
clicks: number;
|
|
339
|
+
spend: MoneyDisplay;
|
|
340
|
+
cpc: MoneyDisplay | null;
|
|
341
|
+
cpm: MoneyDisplay | null;
|
|
342
|
+
ctr: number | null;
|
|
343
|
+
};
|
|
344
|
+
byPlatform?: Array<{
|
|
345
|
+
platform: "META" | "GOOGLE";
|
|
346
|
+
impressions: number;
|
|
347
|
+
clicks: number;
|
|
348
|
+
spend: MoneyDisplay;
|
|
349
|
+
daily?: Array<{
|
|
350
|
+
date: string;
|
|
351
|
+
impressions: number;
|
|
352
|
+
clicks: number;
|
|
353
|
+
spend: MoneyDisplay;
|
|
354
|
+
}>;
|
|
355
|
+
}>;
|
|
356
|
+
daily?: Array<{
|
|
357
|
+
date: string;
|
|
358
|
+
impressions: number;
|
|
359
|
+
clicks: number;
|
|
360
|
+
spend: MoneyDisplay;
|
|
361
|
+
}>;
|
|
362
|
+
warnings?: string[];
|
|
363
|
+
};
|
|
364
|
+
export type GetCampaignAnalyticsSummaryData = {
|
|
365
|
+
summary: string;
|
|
366
|
+
warnings?: string[];
|
|
367
|
+
};
|
|
368
|
+
export type GetArtistAnalyticsJsonData = {
|
|
369
|
+
artistId: string;
|
|
370
|
+
campaignCount: number;
|
|
371
|
+
dateRange: {
|
|
372
|
+
start: string;
|
|
373
|
+
end: string;
|
|
374
|
+
};
|
|
375
|
+
totals: {
|
|
376
|
+
impressions: number;
|
|
377
|
+
clicks: number;
|
|
378
|
+
spend: MoneyDisplay;
|
|
379
|
+
cpc: MoneyDisplay | null;
|
|
380
|
+
cpm: MoneyDisplay | null;
|
|
381
|
+
ctr: number | null;
|
|
382
|
+
};
|
|
383
|
+
byPlatform?: Array<{
|
|
384
|
+
platform: "META" | "GOOGLE";
|
|
385
|
+
impressions: number;
|
|
386
|
+
clicks: number;
|
|
387
|
+
spend: MoneyDisplay;
|
|
388
|
+
daily?: Array<{
|
|
389
|
+
date: string;
|
|
390
|
+
impressions: number;
|
|
391
|
+
clicks: number;
|
|
392
|
+
spend: MoneyDisplay;
|
|
393
|
+
}>;
|
|
394
|
+
}>;
|
|
395
|
+
daily?: Array<{
|
|
396
|
+
date: string;
|
|
397
|
+
impressions: number;
|
|
398
|
+
clicks: number;
|
|
399
|
+
spend: MoneyDisplay;
|
|
400
|
+
}>;
|
|
401
|
+
strongestCampaign?: {
|
|
402
|
+
campaignId: string;
|
|
403
|
+
contentTitle: string;
|
|
404
|
+
status: string;
|
|
405
|
+
impressions: number;
|
|
406
|
+
clicks: number;
|
|
407
|
+
spend: MoneyDisplay;
|
|
408
|
+
};
|
|
409
|
+
warnings?: string[];
|
|
410
|
+
};
|
|
411
|
+
export type GetArtistAnalyticsSummaryData = {
|
|
412
|
+
summary: string;
|
|
413
|
+
campaignCount?: number;
|
|
414
|
+
dateRange?: {
|
|
415
|
+
start: string;
|
|
416
|
+
end: string;
|
|
417
|
+
};
|
|
418
|
+
hasDailyBreakdown?: boolean;
|
|
419
|
+
strongestCampaign?: {
|
|
420
|
+
campaignId: string;
|
|
421
|
+
contentTitle: string;
|
|
422
|
+
status: string;
|
|
423
|
+
impressions: number;
|
|
424
|
+
clicks: number;
|
|
425
|
+
spend: MoneyDisplay;
|
|
426
|
+
};
|
|
427
|
+
warnings?: string[];
|
|
428
|
+
};
|
|
429
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,mBAAmB,cAAc,CAAC;AAClC,mBAAmB,mBAAmB,CAAC;AAEvC,MAAM,MAAM,cAAc,CAAC,CAAC,IACzB;IAAE,MAAM,EAAE,SAAS,CAAC;IAAC,IAAI,EAAE,CAAC,CAAA;CAAE,GAC9B;IAAE,MAAM,EAAE,iBAAiB,CAAC;IAAC,IAAI,EAAE,CAAC,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GACvD;IACA,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;CACzD,CAAC;AAEL,MAAM,MAAM,YAAY,GAAG;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;AACvD,MAAM,MAAM,UAAU,GAAG,MAAM,GA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AC;IACH,iBAAiB,CAAC,EAAE;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,YAAY,EAAE,MAAM,CAAC;QACrB,MAAM,EAAE,MAAM,CAAC;QACf,WAAW,EAAE,MAAM,CAAC;QACpB,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,YAAY,CAAC;KACpB,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3C,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,iBAAiB,CAAC,EAAE;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,YAAY,EAAE,MAAM,CAAC;QACrB,MAAM,EAAE,MAAM,CAAC;QACf,WAAW,EAAE,MAAM,CAAC;QACpB,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,YAAY,CAAC;KACpB,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,mBAAmB,QAIrB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://www.schemastore.org/package",
|
|
3
3
|
"name": "@dynamoi/mcp",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.5",
|
|
5
|
+
"packageManager": "bun@1.3.14",
|
|
5
6
|
"mcpName": "io.github.getDynamoi/dynamoi",
|
|
6
7
|
"type": "module",
|
|
7
8
|
"license": "MIT",
|
|
8
|
-
"description": "
|
|
9
|
+
"description": "Remote MCP server for music promotion agents. Create free Smart Links, check artist and campaign readiness, and help musicians and labels get releases ready to promote.",
|
|
9
10
|
"keywords": [
|
|
10
11
|
"mcp",
|
|
11
12
|
"model-context-protocol",
|
|
@@ -51,28 +52,35 @@
|
|
|
51
52
|
"types": "./dist/auth/protected-resource.d.ts",
|
|
52
53
|
"import": "./dist/auth/protected-resource.js",
|
|
53
54
|
"default": "./dist/auth/protected-resource.js"
|
|
55
|
+
},
|
|
56
|
+
"./consent": {
|
|
57
|
+
"types": "./dist/consent.d.ts",
|
|
58
|
+
"import": "./dist/consent.js",
|
|
59
|
+
"default": "./dist/consent.js"
|
|
54
60
|
}
|
|
55
61
|
},
|
|
56
62
|
"publishConfig": {
|
|
57
63
|
"access": "public"
|
|
58
64
|
},
|
|
59
65
|
"scripts": {
|
|
60
|
-
"build": "
|
|
61
|
-
"dev": "
|
|
62
|
-
"typecheck": "
|
|
66
|
+
"build": "bun scripts/build.cjs",
|
|
67
|
+
"dev": "bun scripts/build.cjs --watch",
|
|
68
|
+
"typecheck": "bun ../../scripts/validate/with-heavy-slot.ts --class typecheck --wait-timeout-minutes 60 -- tsc --noEmit -p tsconfig.json",
|
|
69
|
+
"registry:validate": "bun scripts/registry-contract.ts local",
|
|
70
|
+
"registry:wait:npm": "bun scripts/registry-contract.ts npm --attempts 24 --delay-ms 5000",
|
|
71
|
+
"registry:wait:official": "bun scripts/registry-contract.ts registry --attempts 24 --delay-ms 5000",
|
|
63
72
|
"changeset": "changeset",
|
|
64
73
|
"changeset:version": "changeset version",
|
|
65
74
|
"changeset:publish": "changeset publish"
|
|
66
75
|
},
|
|
67
76
|
"dependencies": {
|
|
68
|
-
"@modelcontextprotocol/sdk": "1.
|
|
77
|
+
"@modelcontextprotocol/sdk": "1.30.0",
|
|
69
78
|
"jose": "6.2.3",
|
|
70
|
-
"zod": "4.3
|
|
79
|
+
"zod": "4.4.3"
|
|
71
80
|
},
|
|
72
81
|
"devDependencies": {
|
|
73
82
|
"@types/node": "25.6.0",
|
|
74
83
|
"@changesets/cli": "2.31.0",
|
|
75
|
-
"typescript": "
|
|
76
|
-
"tsup": "8.5.1"
|
|
84
|
+
"typescript": "7.0.2"
|
|
77
85
|
}
|
|
78
86
|
}
|
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": "Create
|
|
6
|
-
"version": "0.6.
|
|
5
|
+
"description": "Create Smart Links, check music campaign readiness, and view analytics for artists and labels.",
|
|
6
|
+
"version": "0.6.5",
|
|
7
7
|
"websiteUrl": "https://dynamoi.com",
|
|
8
8
|
"repository": {
|
|
9
9
|
"url": "https://github.com/getDynamoi/mcp",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
{
|
|
15
15
|
"registryType": "npm",
|
|
16
16
|
"identifier": "@dynamoi/mcp",
|
|
17
|
-
"version": "0.6.
|
|
17
|
+
"version": "0.6.5",
|
|
18
18
|
"transport": {
|
|
19
19
|
"type": "streamable-http",
|
|
20
20
|
"url": "https://dynamoi.com/mcp"
|