Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

feat(ai): notion + fix infra (#3304)

Eric Hayesc659895ec572
diff --git a/infra/stacks/document-cognition-service/index.ts b/infra/stacks/document-cognition-service/index.ts
index 6349cd4e0e..90ab3e155f 100644
--- a/infra/stacks/document-cognition-service/index.ts
+++ b/infra/stacks/document-cognition-service/index.ts
@@ -83,15 +83,11 @@ const PERPLEXITY_API_KEY = aws.secretsmanager
.apply((secret) => secret.secretString);
const SLACK_MCP_CLIENT_ID = aws.secretsmanager
- .getSecretVersionOutput({
- secretId: config.get('slack-mcp-client-id') ?? '',
- })
+ .getSecretVersionOutput({ secretId: 'slack-mcp-client-id' })
.apply((secret) => secret.secretString);
const SLACK_MCP_CLIENT_SECRET = aws.secretsmanager
- .getSecretVersionOutput({
- secretId: config.get('slack-mcp-client-secret') ?? '',
- })
+ .getSecretVersionOutput({ secretId: 'slack-mcp-client-secret' })
.apply((secret) => secret.secretString);
const AUTHENTICATION_SERVICE_INTERNAL_API_KEY_SECRET_NAME = config.require(
diff --git a/js/app/packages/core/component/AI/constant/mcpServers.ts b/js/app/packages/core/component/AI/constant/mcpServers.ts
index 515be6fa63..48b877cc13 100644
--- a/js/app/packages/core/component/AI/constant/mcpServers.ts
+++ b/js/app/packages/core/component/AI/constant/mcpServers.ts
@@ -1,6 +1,7 @@
import IconDatadog from '@macro-icons/mcp-datadog.svg';
import IconGrafana from '@macro-icons/mcp-grafana.svg';
import IconLinear from '@macro-icons/mcp-linear.svg';
+import IconNotion from '@macro-icons/mcp-notion.svg';
import IconPostHog from '@macro-icons/mcp-posthog.svg';
import IconSlack from '@macro-icons/mcp-slack.svg';
import type { Component, JSX } from 'solid-js';
@@ -13,6 +14,17 @@ export const QUICK_CONNECT_SERVERS = [
url: 'https://mcp.linear.app/mcp',
icon: IconLinear as SvgIcon,
},
+
+ {
+ server_name: 'Slack',
+ url: 'https://mcp.slack.com/mcp',
+ icon: IconSlack as SvgIcon,
+ },
+ {
+ server_name: 'Notion',
+ url: 'https://mcp.notion.com/mcp',
+ icon: IconNotion as SvgIcon,
+ },
{
server_name: 'PostHog',
url: 'https://mcp.posthog.com/mcp',
@@ -28,11 +40,6 @@ export const QUICK_CONNECT_SERVERS = [
url: 'https://mcp.grafana.com/mcp',
icon: IconGrafana as SvgIcon,
},
- {
- server_name: 'Slack',
- url: 'https://mcp.slack.com/mcp',
- icon: IconSlack as SvgIcon,
- },
] as const;
export const QUICK_CONNECT_ICON_MAP: Map<string, SvgIcon> = new Map(
diff --git a/rust/cloud-storage/mcp_client/src/domain/provider_registry/slack/README.md b/rust/cloud-storage/mcp_client/src/domain/provider_registry/slack/README.md
index 9542a5643f..1c09e8b90d 100644
--- a/rust/cloud-storage/mcp_client/src/domain/provider_registry/slack/README.md
+++ b/rust/cloud-storage/mcp_client/src/domain/provider_registry/slack/README.md
@@ -22,7 +22,7 @@ Both must be set together or both omitted. If only one is set the service will p
It can be used with the [Slack Manifest API](https://api.slack.com/reference/manifests) to create
or update the app programmatically.
-## Relevant Docs
+## Docs
- [Slack MCP overview](https://docs.slack.dev/agents-and-apps/mcp-for-slack)
- [Slack OAuth v2 user tokens](https://docs.slack.dev/authentication/installing-with-oauth)