@adport/mcp 0.1.0 → 0.3.0
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/dist/bin.js +2 -2
- package/dist/bin.js.map +1 -1
- package/dist/{chunk-ENVODTLT.js → chunk-F6HYGFTT.js} +58 -7
- package/dist/chunk-F6HYGFTT.js.map +1 -0
- package/dist/index.d.ts +7 -4
- package/dist/index.js +1 -1
- package/package.json +11 -11
- package/dist/chunk-ENVODTLT.js.map +0 -1
package/dist/bin.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
assembleRuntime,
|
|
4
4
|
runStdioServer
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-F6HYGFTT.js";
|
|
6
6
|
|
|
7
7
|
// src/bin.ts
|
|
8
|
-
var runtime = await assembleRuntime();
|
|
8
|
+
var runtime = await assembleRuntime(process.argv.includes("--demo") ? { includeMock: true } : {});
|
|
9
9
|
await runStdioServer(runtime);
|
|
10
10
|
//# sourceMappingURL=bin.js.map
|
package/dist/bin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/bin.ts"],"sourcesContent":["#!/usr/bin/env node\nimport { assembleRuntime, runStdioServer } from './index.js';\n\nconst runtime = await assembleRuntime();\nawait runStdioServer(runtime);\n"],"mappings":";;;;;;;AAGA,IAAM,UAAU,MAAM,gBAAgB;
|
|
1
|
+
{"version":3,"sources":["../src/bin.ts"],"sourcesContent":["#!/usr/bin/env node\nimport { assembleRuntime, runStdioServer } from './index.js';\n\nconst runtime = await assembleRuntime(process.argv.includes('--demo') ? { includeMock: true } : {});\nawait runStdioServer(runtime);\n"],"mappings":";;;;;;;AAGA,IAAM,UAAU,MAAM,gBAAgB,QAAQ,KAAK,SAAS,QAAQ,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC,CAAC;AAClG,MAAM,eAAe,OAAO;","names":[]}
|
|
@@ -7,17 +7,65 @@ import { createMetaModule } from "@adport/provider-meta";
|
|
|
7
7
|
import { createTikTokModule } from "@adport/provider-tiktok";
|
|
8
8
|
import { createAppleModule } from "@adport/provider-apple";
|
|
9
9
|
import { createMicrosoftModule } from "@adport/provider-microsoft";
|
|
10
|
+
|
|
11
|
+
// package.json
|
|
12
|
+
var package_default = {
|
|
13
|
+
name: "@adport/mcp",
|
|
14
|
+
version: "0.3.0",
|
|
15
|
+
description: "adport MCP server \u2014 the open control plane for paid media",
|
|
16
|
+
license: "Apache-2.0",
|
|
17
|
+
type: "module",
|
|
18
|
+
main: "./dist/index.js",
|
|
19
|
+
types: "./dist/index.d.ts",
|
|
20
|
+
exports: {
|
|
21
|
+
".": {
|
|
22
|
+
types: "./dist/index.d.ts",
|
|
23
|
+
import: "./dist/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
bin: {
|
|
27
|
+
"adport-mcp": "./dist/bin.js"
|
|
28
|
+
},
|
|
29
|
+
files: ["dist"],
|
|
30
|
+
scripts: {
|
|
31
|
+
build: "tsup src/index.ts src/bin.ts --format esm --dts --sourcemap --clean",
|
|
32
|
+
test: "vitest run",
|
|
33
|
+
typecheck: "tsc --noEmit",
|
|
34
|
+
clean: "rm -rf dist"
|
|
35
|
+
},
|
|
36
|
+
dependencies: {
|
|
37
|
+
"@adport/core": "workspace:*",
|
|
38
|
+
"@adport/provider-apple": "workspace:*",
|
|
39
|
+
"@adport/provider-google": "workspace:*",
|
|
40
|
+
"@adport/provider-meta": "workspace:*",
|
|
41
|
+
"@adport/provider-microsoft": "workspace:*",
|
|
42
|
+
"@adport/provider-tiktok": "workspace:*",
|
|
43
|
+
"@modelcontextprotocol/sdk": "^1.12.0",
|
|
44
|
+
zod: "^4.4.3"
|
|
45
|
+
},
|
|
46
|
+
devDependencies: {
|
|
47
|
+
"@types/node": "^26.1.2",
|
|
48
|
+
tsup: "^8.3.0",
|
|
49
|
+
typescript: "^5.8.0",
|
|
50
|
+
vitest: "^4.1.10"
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
// src/index.ts
|
|
10
55
|
var PROVIDER_IDS = ["google", "meta", "tiktok", "apple", "microsoft"];
|
|
11
|
-
async function assembleRuntime() {
|
|
56
|
+
async function assembleRuntime(options = {}) {
|
|
12
57
|
const store = new CredentialStore();
|
|
13
58
|
const modules = [];
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
59
|
+
const includeMock = options.includeMock ?? process.env.ADPORT_DEMO === "true";
|
|
60
|
+
if (!includeMock) {
|
|
61
|
+
for (const factory of [createGoogleModule, createMetaModule, createTikTokModule, createAppleModule, createMicrosoftModule]) {
|
|
62
|
+
const module = await factory(store);
|
|
63
|
+
if (module) modules.push(module);
|
|
64
|
+
}
|
|
17
65
|
}
|
|
18
|
-
return createContext({ providerModules: modules });
|
|
66
|
+
return createContext({ providerModules: modules, includeMock });
|
|
19
67
|
}
|
|
20
|
-
function createMcpServer({ runtime, name = "adport", version =
|
|
68
|
+
function createMcpServer({ runtime, name = "adport", version = package_default.version }) {
|
|
21
69
|
const server = new McpServer({ name, version });
|
|
22
70
|
for (const tool of runtime.registry.list()) {
|
|
23
71
|
server.registerTool(
|
|
@@ -50,6 +98,9 @@ async function runStdioServer(runtime, version) {
|
|
|
50
98
|
const server = createMcpServer({ runtime, version });
|
|
51
99
|
await server.connect(new StdioServerTransport());
|
|
52
100
|
console.error(`adport MCP server on stdio (${runtime.registry.list().length} tools, policy: ${runtime.policySource})`);
|
|
101
|
+
if (runtime.ctx.providers.list().length === 0) {
|
|
102
|
+
console.error("No ad providers connected. Run `adport connect <provider>` or restart with `--demo` for synthetic mock data.");
|
|
103
|
+
}
|
|
53
104
|
}
|
|
54
105
|
|
|
55
106
|
export {
|
|
@@ -58,4 +109,4 @@ export {
|
|
|
58
109
|
createMcpServer,
|
|
59
110
|
runStdioServer
|
|
60
111
|
};
|
|
61
|
-
//# sourceMappingURL=chunk-
|
|
112
|
+
//# sourceMappingURL=chunk-F6HYGFTT.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../package.json"],"sourcesContent":["import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';\nimport { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';\nimport { AdportError, CredentialStore, createContext, type AdportRuntime, type ProviderModule } from '@adport/core';\nimport { createGoogleModule } from '@adport/provider-google';\nimport { createMetaModule } from '@adport/provider-meta';\nimport { createTikTokModule } from '@adport/provider-tiktok';\nimport { createAppleModule } from '@adport/provider-apple';\nimport { createMicrosoftModule } from '@adport/provider-microsoft';\nimport packageJson from '../package.json';\n\nexport const PROVIDER_IDS = ['google', 'meta', 'tiktok', 'apple', 'microsoft'] as const;\n\n/**\n * Standard runtime assembly: real providers whose credentials exist. Mock data\n * is opt-in so a live runtime never silently substitutes synthetic accounts.\n */\nexport interface AssembleRuntimeOptions {\n includeMock?: boolean;\n}\n\nexport async function assembleRuntime(options: AssembleRuntimeOptions = {}): Promise<AdportRuntime> {\n const store = new CredentialStore();\n const modules: ProviderModule[] = [];\n const includeMock = options.includeMock ?? process.env.ADPORT_DEMO === 'true';\n if (!includeMock) {\n for (const factory of [createGoogleModule, createMetaModule, createTikTokModule, createAppleModule, createMicrosoftModule]) {\n const module = await factory(store);\n if (module) modules.push(module);\n }\n }\n return createContext({ providerModules: modules, includeMock });\n}\n\nexport interface CreateServerOptions {\n runtime: AdportRuntime;\n name?: string;\n version?: string;\n}\n\n/**\n * Thin adapter: every tool in the shared registry becomes an MCP tool.\n * No tool logic lives here — see the \"one tool-definition layer\" principle.\n */\nexport function createMcpServer({ runtime, name = 'adport', version = packageJson.version }: CreateServerOptions): McpServer {\n const server = new McpServer({ name, version });\n for (const tool of runtime.registry.list()) {\n server.registerTool(\n tool.name,\n {\n description: tool.description,\n inputSchema: tool.input.shape,\n annotations: {\n readOnlyHint: tool.annotations.readOnly ?? false,\n destructiveHint: tool.annotations.destructive ?? false,\n },\n },\n async (args: Record<string, unknown>) => {\n try {\n const result = await runtime.registry.call(tool.name, args, runtime.ctx);\n return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] };\n } catch (err) {\n const payload =\n err instanceof AdportError\n ? err.toJSON()\n : { error: 'INTERNAL', message: err instanceof Error ? err.message : String(err) };\n return {\n content: [{ type: 'text' as const, text: JSON.stringify(payload, null, 2) }],\n isError: true,\n };\n }\n },\n );\n }\n return server;\n}\n\nexport async function runStdioServer(runtime: AdportRuntime, version?: string): Promise<void> {\n const server = createMcpServer({ runtime, version });\n await server.connect(new StdioServerTransport());\n // stdout is the protocol channel; stderr is for humans.\n console.error(`adport MCP server on stdio (${runtime.registry.list().length} tools, policy: ${runtime.policySource})`);\n if (runtime.ctx.providers.list().length === 0) {\n console.error('No ad providers connected. Run `adport connect <provider>` or restart with `--demo` for synthetic mock data.');\n }\n}\n","{\n \"name\": \"@adport/mcp\",\n \"version\": \"0.3.0\",\n \"description\": \"adport MCP server — the open control plane for paid media\",\n \"license\": \"Apache-2.0\",\n \"type\": \"module\",\n \"main\": \"./dist/index.js\",\n \"types\": \"./dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"types\": \"./dist/index.d.ts\",\n \"import\": \"./dist/index.js\"\n }\n },\n \"bin\": {\n \"adport-mcp\": \"./dist/bin.js\"\n },\n \"files\": [\"dist\"],\n \"scripts\": {\n \"build\": \"tsup src/index.ts src/bin.ts --format esm --dts --sourcemap --clean\",\n \"test\": \"vitest run\",\n \"typecheck\": \"tsc --noEmit\",\n \"clean\": \"rm -rf dist\"\n },\n \"dependencies\": {\n \"@adport/core\": \"workspace:*\",\n \"@adport/provider-apple\": \"workspace:*\",\n \"@adport/provider-google\": \"workspace:*\",\n \"@adport/provider-meta\": \"workspace:*\",\n \"@adport/provider-microsoft\": \"workspace:*\",\n \"@adport/provider-tiktok\": \"workspace:*\",\n \"@modelcontextprotocol/sdk\": \"^1.12.0\",\n \"zod\": \"^4.4.3\"\n },\n \"devDependenc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Q,CAAC;AACnD,QAAM,OAAO,QAAQ,IAAI,qBAAqB,CAAC;AAE/C,UAAQ,MAAM,+BAA+B,QAAQ,SAAS,KAAK,EAAE,MAAM,mBAAmB,QAAQ,YAAY,GAAG;AACrH,MAAI,QAAQ,IAAI,UAAU,KAAK,EAAE,WAAW,GAAG;AAC7C,YAAQ,MAAM,8GAA8G;AAAA,EAC9H;AACF;","names":[]}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,10 +3,13 @@ import { AdportRuntime } from '@adport/core';
|
|
|
3
3
|
|
|
4
4
|
declare const PROVIDER_IDS: readonly ["google", "meta", "tiktok", "apple", "microsoft"];
|
|
5
5
|
/**
|
|
6
|
-
* Standard runtime assembly: real providers
|
|
7
|
-
*
|
|
6
|
+
* Standard runtime assembly: real providers whose credentials exist. Mock data
|
|
7
|
+
* is opt-in so a live runtime never silently substitutes synthetic accounts.
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
interface AssembleRuntimeOptions {
|
|
10
|
+
includeMock?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare function assembleRuntime(options?: AssembleRuntimeOptions): Promise<AdportRuntime>;
|
|
10
13
|
interface CreateServerOptions {
|
|
11
14
|
runtime: AdportRuntime;
|
|
12
15
|
name?: string;
|
|
@@ -19,4 +22,4 @@ interface CreateServerOptions {
|
|
|
19
22
|
declare function createMcpServer({ runtime, name, version }: CreateServerOptions): McpServer;
|
|
20
23
|
declare function runStdioServer(runtime: AdportRuntime, version?: string): Promise<void>;
|
|
21
24
|
|
|
22
|
-
export { type CreateServerOptions, PROVIDER_IDS, assembleRuntime, createMcpServer, runStdioServer };
|
|
25
|
+
export { type AssembleRuntimeOptions, type CreateServerOptions, PROVIDER_IDS, assembleRuntime, createMcpServer, runStdioServer };
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adport/mcp",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "adport MCP server —
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "adport MCP server — the open control plane for paid media",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@modelcontextprotocol/sdk": "^1.12.0",
|
|
23
|
-
"zod": "^
|
|
24
|
-
"@adport/core": "0.
|
|
25
|
-
"@adport/provider-
|
|
26
|
-
"@adport/provider-
|
|
27
|
-
"@adport/provider-
|
|
28
|
-
"@adport/provider-microsoft": "0.
|
|
29
|
-
"@adport/provider-tiktok": "0.
|
|
23
|
+
"zod": "^4.4.3",
|
|
24
|
+
"@adport/core": "0.3.0",
|
|
25
|
+
"@adport/provider-google": "0.3.0",
|
|
26
|
+
"@adport/provider-meta": "0.3.0",
|
|
27
|
+
"@adport/provider-apple": "0.3.0",
|
|
28
|
+
"@adport/provider-microsoft": "0.3.0",
|
|
29
|
+
"@adport/provider-tiktok": "0.3.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@types/node": "^
|
|
32
|
+
"@types/node": "^26.1.2",
|
|
33
33
|
"tsup": "^8.3.0",
|
|
34
34
|
"typescript": "^5.8.0",
|
|
35
|
-
"vitest": "^
|
|
35
|
+
"vitest": "^4.1.10"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "tsup src/index.ts src/bin.ts --format esm --dts --sourcemap --clean",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';\nimport { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';\nimport { AdportError, CredentialStore, createContext, type AdportRuntime, type ProviderModule } from '@adport/core';\nimport { createGoogleModule } from '@adport/provider-google';\nimport { createMetaModule } from '@adport/provider-meta';\nimport { createTikTokModule } from '@adport/provider-tiktok';\nimport { createAppleModule } from '@adport/provider-apple';\nimport { createMicrosoftModule } from '@adport/provider-microsoft';\n\nexport const PROVIDER_IDS = ['google', 'meta', 'tiktok', 'apple', 'microsoft'] as const;\n\n/**\n * Standard runtime assembly: real providers when credentials exist, the mock\n * provider otherwise (so a fresh install always has something to talk to).\n */\nexport async function assembleRuntime(): Promise<AdportRuntime> {\n const store = new CredentialStore();\n const modules: ProviderModule[] = [];\n for (const factory of [createGoogleModule, createMetaModule, createTikTokModule, createAppleModule, createMicrosoftModule]) {\n const module = await factory(store);\n if (module) modules.push(module);\n }\n return createContext({ providerModules: modules });\n}\n\nexport interface CreateServerOptions {\n runtime: AdportRuntime;\n name?: string;\n version?: string;\n}\n\n/**\n * Thin adapter: every tool in the shared registry becomes an MCP tool.\n * No tool logic lives here — see the \"one tool-definition layer\" principle.\n */\nexport function createMcpServer({ runtime, name = 'adport', version = '0.1.0' }: CreateServerOptions): McpServer {\n const server = new McpServer({ name, version });\n for (const tool of runtime.registry.list()) {\n server.registerTool(\n tool.name,\n {\n description: tool.description,\n inputSchema: tool.input.shape,\n annotations: {\n readOnlyHint: tool.annotations.readOnly ?? false,\n destructiveHint: tool.annotations.destructive ?? false,\n },\n },\n async (args: Record<string, unknown>) => {\n try {\n const result = await runtime.registry.call(tool.name, args, runtime.ctx);\n return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] };\n } catch (err) {\n const payload =\n err instanceof AdportError\n ? err.toJSON()\n : { error: 'INTERNAL', message: err instanceof Error ? err.message : String(err) };\n return {\n content: [{ type: 'text' as const, text: JSON.stringify(payload, null, 2) }],\n isError: true,\n };\n }\n },\n );\n }\n return server;\n}\n\nexport async function runStdioServer(runtime: AdportRuntime, version?: string): Promise<void> {\n const server = createMcpServer({ runtime, version });\n await server.connect(new StdioServerTransport());\n // stdout is the protocol channel; stderr is for humans.\n console.error(`adport MCP server on stdio (${runtime.registry.list().length} tools, policy: ${runtime.polic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