diff --git a/microsoft-teams/app.json b/microsoft-teams/app.json index ed0b0275..bc7361a8 100644 --- a/microsoft-teams/app.json +++ b/microsoft-teams/app.json @@ -4,7 +4,7 @@ "friendlyName": "Microsoft Teams", "connection": { "type": "HTTP", - "url": "https://microsoft-teams-mcp.decocms.com/mcp" + "url": "https://graph-mcp.decocms.com/mcp" }, "description": "Microsoft Teams integration — send channel and private chat messages, manage meetings, and trigger agents on new Teams messages via the Microsoft Graph API.", "icon": "https://upload.wikimedia.org/wikipedia/commons/9/94/Microsoft_Office_Teams_%282019%E2%80%932025%29.svg", diff --git a/microsoft-teams/server/tools/subscriptions.ts b/microsoft-teams/server/tools/subscriptions.ts index e8d26c3f..47264fbc 100644 --- a/microsoft-teams/server/tools/subscriptions.ts +++ b/microsoft-teams/server/tools/subscriptions.ts @@ -88,8 +88,7 @@ function getConnectionId(env: Env): string { } function buildNotificationUrl(connectionId: string): string { - const base = - process.env.SERVER_PUBLIC_URL ?? `https://microsoft-teams-mcp.decocms.com`; + const base = process.env.SERVER_PUBLIC_URL ?? `https://graph-mcp.decocms.com`; return `${base.replace(/\/$/, "")}/teams/notifications/${connectionId}`; } diff --git a/microsoft-teams/server/types/env.ts b/microsoft-teams/server/types/env.ts index c980b2cd..821a89f8 100644 --- a/microsoft-teams/server/types/env.ts +++ b/microsoft-teams/server/types/env.ts @@ -16,9 +16,7 @@ export const StateSchema = z.object({ // Webhook URL shown to the user so they know where Graph notifications land WEBHOOK_URL: z .string() - .default( - "https://microsoft-teams-mcp.decocms.com/teams/notifications/{connectionId}", - ) + .default("https://graph-mcp.decocms.com/teams/notifications/{connectionId}") .readonly() .describe( "Endpoint where Microsoft Graph change notifications are delivered. When developing locally, expose this via ngrok.", diff --git a/microsoft-teams/wrangler.toml b/microsoft-teams/wrangler.toml index e4b79622..6121e443 100644 --- a/microsoft-teams/wrangler.toml +++ b/microsoft-teams/wrangler.toml @@ -4,7 +4,7 @@ compatibility_date = "2025-06-17" compatibility_flags = ["nodejs_compat"] routes = [ - { pattern = "microsoft-teams-mcp.decocms.com", custom_domain = true }, + { pattern = "graph-mcp.decocms.com", custom_domain = true }, ] [observability]