mobile-growth-mcp 2.3.7 → 2.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +9 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1715,13 +1715,19 @@ Assets exist in the account and can be linked manually.`;
|
|
|
1715
1715
|
}
|
|
1716
1716
|
|
|
1717
1717
|
// src/tools/connection-status.ts
|
|
1718
|
+
var SERVER_VERSION = true ? "2.3.8" : "dev";
|
|
1718
1719
|
function registerConnectionStatus(server2, status2) {
|
|
1719
1720
|
server2.tool(
|
|
1720
1721
|
"connection_status",
|
|
1721
1722
|
"Check the connection status of the knowledge base and Google Ads API. Call this if tools seem missing or you get unexpected errors.",
|
|
1722
1723
|
{},
|
|
1723
1724
|
async () => {
|
|
1724
|
-
const lines = [
|
|
1725
|
+
const lines = [
|
|
1726
|
+
"# Connection Status",
|
|
1727
|
+
"",
|
|
1728
|
+
`**Server version:** mobile-growth-mcp@${SERVER_VERSION}`,
|
|
1729
|
+
""
|
|
1730
|
+
];
|
|
1725
1731
|
if (status2.kb.connected) {
|
|
1726
1732
|
lines.push(
|
|
1727
1733
|
`## Knowledge Base: Connected`,
|
|
@@ -2502,6 +2508,7 @@ if (googleAdsResult.refreshToken)
|
|
|
2502
2508
|
process.env.GOOGLE_ADS_REFRESH_TOKEN = googleAdsResult.refreshToken;
|
|
2503
2509
|
if (googleAdsResult.loginCustomerId)
|
|
2504
2510
|
process.env.GOOGLE_ADS_LOGIN_CUSTOMER_ID = googleAdsResult.loginCustomerId;
|
|
2511
|
+
console.error(`mobile-growth-mcp@${SERVER_VERSION} starting`);
|
|
2505
2512
|
var apiKey = apiKeyResult.value;
|
|
2506
2513
|
console.error(
|
|
2507
2514
|
apiKey ? `API key: ${apiKeyResult.source}` : "API key: not configured \u2014 KB tools will not be available"
|
|
@@ -2511,7 +2518,7 @@ console.error(
|
|
|
2511
2518
|
);
|
|
2512
2519
|
var server = new McpServer({
|
|
2513
2520
|
name: "mobile-growth-mcp",
|
|
2514
|
-
version:
|
|
2521
|
+
version: SERVER_VERSION
|
|
2515
2522
|
});
|
|
2516
2523
|
var status = {
|
|
2517
2524
|
kb: { connected: false, toolCount: 0, promptCount: 0 },
|
package/package.json
CHANGED