Skip to content

Commit 6599c05

Browse files
author
guide-factory[bot]
committed
Draft guide: snowflake (issue #148)
1 parent dab1dca commit 6599c05

6 files changed

Lines changed: 196 additions & 91 deletions

File tree

guides/snowflake/external.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ setup_version: 1
44

55
# Snowflake setup
66

7-
Use a Snowflake role/security administrator account to create and assign a non-privileged runtime role. You also need `ACCOUNTADMIN`, or an organization-approved delegated role with global `CREATE INTEGRATION`, for the OAuth integration only. Obtain the connecting usernames, default warehouse, approved MCP server object names, and an existing Cortex Agent's database, schema, name, and complete agent-tool grants from the security, application, and agent owners. Sign in at `https://app.snowflake.com`.
7+
Use a Snowflake role/security administrator account to create and assign a non-privileged runtime role. You also need `ACCOUNTADMIN`, or an organization-approved delegated role with global `CREATE INTEGRATION`, for the OAuth integration only. Obtain the connecting usernames, default warehouse, approved MCP server object names, and an existing Cortex Agent's database, schema, name, and complete agent-tool grants from the security, application, and agent owners. You need an existing, approved MCP database and schema, or a Snowflake object or security owner who can create them. Obtain a server-creator role with `CREATE MCP SERVER` on the target schema, `USAGE` on the target database and schema, and `USAGE` on the existing Cortex Agent and its database and schema. Sign in at [app.snowflake.com](https://app.snowflake.com).
88

99
Snowflake-managed MCP servers and Cortex Agents are unavailable in the People's Republic of China. Snowflake-managed MCP servers are also unsupported in government regions.
1010

@@ -13,7 +13,7 @@ Snowflake-managed MCP servers and Cortex Agents are unavailable in the People's
1313
1. Select **Projects** > **Workspaces**.
1414
2. Select **+** beside a folder, or select **+ Add New** on first use.
1515
3. Select **SQL File**.
16-
4. Select the organization-approved role for the statement group you are running.
16+
4. In the workspace context controls, select the organization-approved role for the statement group you are running.
1717
5. Select an available warehouse.
1818
6. Before pasting any SQL from this guide, replace every complete angle-bracket placeholder, including the `<` and `>` characters, with the corresponding value supplied by the named owner.
1919
7. Paste each completed statement into the blank SQL file.
@@ -120,17 +120,19 @@ When a code block contains multiple statements, select and run each completed st
120120
```
121121

122122
11. Retain the exact MCP database, schema, and server name.
123-
12. Select your user name.
124-
13. Select **Connect a tool to Snowflake**.
125-
14. In the **Account Details** dialog, copy **Account/Server URL**.
126-
15. For `<account_url>`, use the hostname from the copied value without the leading `https://` or a trailing `/`.
127-
16. Form the account-specific MCP Server URL:
123+
12. Ask the account or network security owner whether the Snowflake account uses PrivateLink.
124+
13. Select your user name.
125+
14. Select **Connect a tool to Snowflake**.
126+
15. In the **Account Details** dialog, copy **Account/Server URL**.
127+
16. If the account uses PrivateLink, have the account or network security owner confirm that the copied Account/Server hostname is the public hostname, not the PrivateLink hostname.
128+
17. For `<account_url>`, use the confirmed public Account/Server hostname from the copied value without the leading `https://` or a trailing `/`. `USE_PRIVATELINK_FOR_AUTHORIZATION_ENDPOINT = TRUE` affects browser authorization, not the public MCP Server URL.
129+
18. Form the account-specific MCP Server URL:
128130

129131
```
130132
https://<account_url>/api/v2/databases/<mcp_database>/schemas/<mcp_schema>/mcp-servers/<mcp_server_name>
131133
```
132134

133-
17. Retain the URL for the Speakeasy AI Control Plane setup.
135+
19. Retain the URL for the Speakeasy AI Control Plane setup.
134136

135137
<!-- screenshot: the approved CORTEX_AGENT_RUN specification and successful result, with the Cortex Agent's three-part identifier visible and organization-sensitive names redacted where policy requires -->
136138

guides/snowflake/meta.yaml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -43,104 +43,104 @@ provenance:
4343
locator: https://docs.snowflake.com/llms.txt
4444
name: Snowflake Documentation index
4545
classification: official
46-
observed_at: "2026-07-28T23:57:42Z"
46+
observed_at: "2026-08-11T18:36:01Z"
4747
- source: provider-documentation
4848
locator: https://docs.snowflake.com/en/user-guide/snowflake-cortex/llms.txt
4949
name: Snowflake Cortex documentation index
5050
classification: official
51-
observed_at: "2026-07-28T23:57:42Z"
51+
observed_at: "2026-08-11T18:36:01Z"
5252
- source: provider-documentation
5353
locator: https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-agents-mcp
5454
name: Snowflake-managed MCP server
5555
classification: official
56-
observed_at: "2026-07-28T23:57:42Z"
56+
observed_at: "2026-08-11T18:36:01Z"
5757
- source: provider-documentation
5858
locator: https://docs.snowflake.com/en/sql-reference/sql/create-mcp-server
5959
name: CREATE MCP SERVER
6060
classification: official
61-
observed_at: "2026-07-28T23:57:42Z"
61+
observed_at: "2026-08-11T18:36:01Z"
6262
- source: provider-documentation
6363
locator: https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-agents-setup
6464
name: Cortex Agents access control and authentication
6565
classification: official
66-
observed_at: "2026-07-28T23:57:42Z"
66+
observed_at: "2026-08-11T18:36:01Z"
6767
- source: provider-documentation
6868
locator: https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-agents-manage
6969
name: Create and manage Cortex Agents
7070
classification: official
71-
observed_at: "2026-07-28T23:57:42Z"
71+
observed_at: "2026-08-11T18:36:01Z"
7272
- source: provider-documentation
7373
locator: https://docs.snowflake.com/en/user-guide/oauth-custom
7474
name: Configure Snowflake OAuth for custom clients
7575
classification: official
76-
observed_at: "2026-07-28T23:57:42Z"
76+
observed_at: "2026-08-11T18:36:01Z"
7777
- source: provider-documentation
7878
locator: https://docs.snowflake.com/en/user-guide/oauth-snowflake-overview
7979
name: Snowflake OAuth overview
8080
classification: official
81-
observed_at: "2026-07-28T23:57:42Z"
81+
observed_at: "2026-08-11T18:36:01Z"
8282
- source: provider-documentation
8383
locator: https://docs.snowflake.com/en/sql-reference/sql/create-security-integration-oauth-snowflake
8484
name: CREATE SECURITY INTEGRATION (Snowflake OAuth)
8585
classification: official
86-
observed_at: "2026-07-28T23:57:42Z"
86+
observed_at: "2026-08-11T18:36:01Z"
8787
- source: provider-documentation
8888
locator: https://docs.snowflake.com/en/sql-reference/functions/system_show_oauth_client_secrets
8989
name: SYSTEM$SHOW_OAUTH_CLIENT_SECRETS
9090
classification: official
91-
observed_at: "2026-07-28T23:57:42Z"
91+
observed_at: "2026-08-11T18:36:01Z"
9292
- source: provider-documentation
9393
locator: https://docs.snowflake.com/en/user-guide/querying-semistructured
9494
name: Querying semi-structured data
9595
classification: official
96-
observed_at: "2026-07-28T23:57:42Z"
96+
observed_at: "2026-08-11T18:36:01Z"
9797
- source: provider-documentation
9898
locator: https://docs.snowflake.com/en/sql-reference/sql/create-role
9999
name: CREATE ROLE
100100
classification: official
101-
observed_at: "2026-07-28T23:57:42Z"
101+
observed_at: "2026-08-11T18:36:01Z"
102102
- source: provider-documentation
103103
locator: https://docs.snowflake.com/en/sql-reference/sql/grant-role
104104
name: GRANT ROLE
105105
classification: official
106-
observed_at: "2026-07-28T23:57:42Z"
106+
observed_at: "2026-08-11T18:36:01Z"
107107
- source: provider-documentation
108108
locator: https://docs.snowflake.com/en/sql-reference/sql/grant-database-role
109109
name: GRANT DATABASE ROLE
110110
classification: official
111-
observed_at: "2026-07-28T23:57:42Z"
111+
observed_at: "2026-08-11T18:36:01Z"
112112
- source: provider-documentation
113113
locator: https://docs.snowflake.com/en/sql-reference/sql/grant-privilege
114114
name: GRANT privileges to role
115115
classification: official
116-
observed_at: "2026-07-28T23:57:42Z"
116+
observed_at: "2026-08-11T18:36:01Z"
117117
- source: provider-documentation
118118
locator: https://docs.snowflake.com/en/user-guide/ui-snowsight/workspaces
119119
name: Workspaces
120120
classification: official
121-
observed_at: "2026-07-28T23:57:42Z"
121+
observed_at: "2026-08-11T18:36:01Z"
122122
- source: provider-documentation
123123
locator: https://docs.snowflake.com/en/user-guide/ui-snowsight/workspaces-working
124124
name: Working with workspaces
125125
classification: official
126-
observed_at: "2026-07-28T23:57:42Z"
126+
observed_at: "2026-08-11T18:36:01Z"
127127
- source: provider-documentation
128128
locator: https://docs.snowflake.com/en/user-guide/admin-account-identifier
129129
name: Account identifiers
130130
classification: official
131-
observed_at: "2026-07-28T23:57:42Z"
131+
observed_at: "2026-08-11T18:36:01Z"
132132
- source: provider-documentation
133133
locator: https://docs.snowflake.com/en/user-guide/gen-conn-config
134134
name: Configure a third-party application to connect to Snowflake
135135
classification: official
136-
observed_at: "2026-07-28T23:57:42Z"
136+
observed_at: "2026-08-11T18:36:01Z"
137137
- source: provider-quickstart
138138
locator: https://quickstarts.snowflake.com/guide/getting-started-with-snowflake-mcp-server/index.html
139139
name: Getting Started with Managed Snowflake MCP Server
140140
classification: official
141-
observed_at: "2026-07-28T23:57:42Z"
141+
observed_at: "2026-08-11T18:36:01Z"
142142
- source: repository-doctrine
143143
locator: doctrine/speakeasy-setup.md
144144
name: Speakeasy setup canonical section
145145
classification: official
146-
observed_at: "2026-07-28T23:57:42Z"
146+
observed_at: "2026-08-11T18:36:01Z"

0 commit comments

Comments
 (0)