supersendtx-mcp 0.6.12 → 0.6.14
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 +7 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -119,6 +119,7 @@ var ARC_MCP_TALK_GROWTH_TOOL_NAMES = [
|
|
|
119
119
|
"get_campaign_evaluation",
|
|
120
120
|
"list_ad_campaigns",
|
|
121
121
|
"get_ad_spend",
|
|
122
|
+
"recommend_ad_landings",
|
|
122
123
|
"read_campaign_design",
|
|
123
124
|
"list_campaign_replies",
|
|
124
125
|
"get_learnings",
|
|
@@ -126,7 +127,10 @@ var ARC_MCP_TALK_GROWTH_TOOL_NAMES = [
|
|
|
126
127
|
"get_codebase_digest",
|
|
127
128
|
"read_product_context",
|
|
128
129
|
"search_codebase",
|
|
129
|
-
"read_repo_file"
|
|
130
|
+
"read_repo_file",
|
|
131
|
+
"site_traffic_summary",
|
|
132
|
+
"site_traffic_breakdown",
|
|
133
|
+
"site_traffic_efforts"
|
|
130
134
|
];
|
|
131
135
|
|
|
132
136
|
// src/arc-mcp.ts
|
|
@@ -922,10 +926,10 @@ function appOriginForMcpOrigin(mcpOrigin) {
|
|
|
922
926
|
try {
|
|
923
927
|
const host = new URL(mcpOrigin).hostname.toLowerCase();
|
|
924
928
|
if (host === "mcp.ranla.ai") return "https://app.ranla.ai";
|
|
925
|
-
if (host === "mcp.supersendtx.com") return "https://app.
|
|
929
|
+
if (host === "mcp.supersendtx.com") return "https://app.ranla.ai";
|
|
926
930
|
} catch {
|
|
927
931
|
}
|
|
928
|
-
return (process.env.SUPERSENDTX_OAUTH_ISSUER?.trim() || process.env.SUPERSENDTX_APP_URL?.trim() || "https://app.
|
|
932
|
+
return (process.env.SUPERSENDTX_OAUTH_ISSUER?.trim() || process.env.SUPERSENDTX_APP_URL?.trim() || "https://app.ranla.ai").replace(/\/$/, "");
|
|
929
933
|
}
|
|
930
934
|
function buildProtectedResourceMetadata(origin) {
|
|
931
935
|
const resource = `${origin.replace(/\/$/, "")}${MCP_HTTP_PATH}`;
|