@dynamoi/mcp 0.6.2 → 0.6.4
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 +27 -0
- package/README.md +117 -70
- package/dist/auth/protected-resource.d.ts +2 -1
- package/dist/auth/protected-resource.js +1 -1
- package/dist/{chunk-53YNLVA3.js → chunk-CHQUK72A.js} +14 -14
- package/dist/chunk-CHQUK72A.js.map +1 -0
- package/dist/index.d.ts +109 -64
- package/dist/index.js +400 -391
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/server.json +3 -3
- package/dist/chunk-53YNLVA3.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://www.schemastore.org/package",
|
|
3
3
|
"name": "@dynamoi/mcp",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.4",
|
|
5
5
|
"mcpName": "io.github.getDynamoi/dynamoi",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
|
-
"description": "
|
|
8
|
+
"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
9
|
"keywords": [
|
|
10
10
|
"mcp",
|
|
11
11
|
"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": "Create free Smart Links
|
|
6
|
-
"version": "0.6.
|
|
5
|
+
"description": "Create free Smart Links from Spotify, check artist and campaign readiness, view analytics, and help music teams get releases ready to promote.",
|
|
6
|
+
"version": "0.6.4",
|
|
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.4",
|
|
18
18
|
"transport": {
|
|
19
19
|
"type": "streamable-http",
|
|
20
20
|
"url": "https://dynamoi.com/mcp"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/auth/protected-resource.ts"],"sourcesContent":["type ProtectedResourceMetadata = {\n\tauthorization_servers: string[];\n\tbearer_methods_supported: [\"header\"];\n\tresource: string;\n\tresource_documentation?: string;\n\tscopes_supported: string[];\n};\n\nexport const DYNAMOI_MCP_SCOPES = [\n\t\"email\",\n\t\"profile\",\n\t\"dynamoi:read\",\n\t\"dynamoi:billing.read\",\n\t\"dynamoi:platform.read\",\n\t\"dynamoi:platform.write\",\n\t\"dynamoi:campaign.write\",\n\t\"dynamoi:campaign.launch\",\n\t\"dynamoi:smart_links.write\",\n] as const;\n\nexport function buildProtectedResourceMetadata(options: {\n\tresource: string;\n\tauthorizationServers: string[];\n\tresourceDocumentation?: string;\n\tscopesSupported?: string[];\n}): ProtectedResourceMetadata {\n\treturn {\n\t\tauthorization_servers: options.authorizationServers,\n\t\tbearer_methods_supported: [\"header\"],\n\t\tresource: options.resource,\n\t\t...(options.resourceDocumentation\n\t\t\t? { resource_documentation: options.resourceDocumentation }\n\t\t\t: {}),\n\t\t// Supabase OAuth Server (beta) can fail token exchange when `openid` is requested\n\t\t// (it attempts to mint an ID token). Our MCP only needs an access token.\n\t\tscopes_supported: options.scopesSupported ?? [...DYNAMOI_MCP_SCOPES],\n\t};\n}\n\nexport function buildWwwAuthenticateHeader(options: {\n\tresourceMetadataUrl: string;\n\terror?: \"insufficient_scope\" | \"invalid_token\";\n\tscope?: string;\n}): string {\n\tconst scope = options.scope ?? \"email profile\";\n\tconst error = options.error ? `, error=\"${options.error}\"` : \"\";\n\t// RFC 6750 style with resource metadata extension.\n\treturn `Bearer resource_metadata=\"${options.resourceMetadataUrl}\", scope=\"${scope}\"${error}`;\n}\n"],"mappings":";AAQO,IAAM,qBAAqB;AAAA,EACjC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD;AAEO,SAAS,+BAA+B,SAKjB;AAC7B,SAAO;AAAA,IACN,uBAAuB,QAAQ;AAAA,IAC/B,0BAA0B,CAAC,QAAQ;AAAA,IACnC,UAAU,QAAQ;AAAA,IAClB,GAAI,QAAQ,wBACT,EAAE,wBAAwB,QAAQ,sBAAsB,IACxD,CAAC;AAAA;AAAA;AAAA,IAGJ,kBAAkB,QAAQ,mBAAmB,CAAC,GAAG,kBAAkB;AAAA,EACpE;AACD;AAEO,SAAS,2BAA2B,SAIhC;AACV,QAAM,QAAQ,QAAQ,SAAS;AAC/B,QAAM,QAAQ,QAAQ,QAAQ,YAAY,QAAQ,KAAK,MAAM;AAE7D,SAAO,6BAA6B,QAAQ,mBAAmB,aAAa,KAAK,IAAI,KAAK;AAC3F;","names":[]}
|