published on Friday, Jul 31, 2026 by Pulumi
published on Friday, Jul 31, 2026 by Pulumi
Caution: Preview Feature This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to
previewFeaturesEnabledfield in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
Data source used to get details of filtered MCP servers. Filtering is aligned with the current possibilities for SHOW MCP SERVERS query (like, in). The results of SHOW and DESCRIBE are encapsulated in one output collection mcpServers.
Using getMcpServers
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMcpServers(args: GetMcpServersArgs, opts?: InvokeOptions): Promise<GetMcpServersResult>
function getMcpServersOutput(args: GetMcpServersOutputArgs, opts?: InvokeOptions): Output<GetMcpServersResult>def get_mcp_servers(in_: Optional[GetMcpServersIn] = None,
like: Optional[str] = None,
with_describe: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetMcpServersResult
def get_mcp_servers_output(in_: pulumi.Input[Optional[GetMcpServersInArgs]] = None,
like: pulumi.Input[Optional[str]] = None,
with_describe: pulumi.Input[Optional[bool]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMcpServersResult]func GetMcpServers(ctx *Context, args *GetMcpServersArgs, opts ...InvokeOption) (*GetMcpServersResult, error)
func GetMcpServersOutput(ctx *Context, args *GetMcpServersOutputArgs, opts ...InvokeOption) GetMcpServersResultOutput> Note: This function is named GetMcpServers in the Go SDK.
public static class GetMcpServers
{
public static Task<GetMcpServersResult> InvokeAsync(GetMcpServersArgs args, InvokeOptions? opts = null)
public static Output<GetMcpServersResult> Invoke(GetMcpServersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMcpServersResult> getMcpServers(GetMcpServersArgs args, InvokeOptions options)
public static Output<GetMcpServersResult> getMcpServers(GetMcpServersArgs args, InvokeOptions options)
fn::invoke:
function: snowflake:index/getMcpServers:getMcpServers
arguments:
# arguments dictionarydata "snowflake_get_mcp_servers" "name" {
# arguments
}The following arguments are supported:
- In
Get
Mcp Servers In - IN clause to filter the list of objects
- Like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - With
Describe bool - (Default:
true) Runs DESC MCP SERVER for each MCP server returned by SHOW MCP SERVERS. The output of describe is saved to the describeOutput field. By default this value is set to true.
- In
Get
Mcp Servers In - IN clause to filter the list of objects
- Like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - With
Describe bool - (Default:
true) Runs DESC MCP SERVER for each MCP server returned by SHOW MCP SERVERS. The output of describe is saved to the describeOutput field. By default this value is set to true.
- in object
- IN clause to filter the list of objects
- like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - with_
describe bool - (Default:
true) Runs DESC MCP SERVER for each MCP server returned by SHOW MCP SERVERS. The output of describe is saved to the describeOutput field. By default this value is set to true.
- in
Get
Mcp Servers In - IN clause to filter the list of objects
- like String
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - with
Describe Boolean - (Default:
true) Runs DESC MCP SERVER for each MCP server returned by SHOW MCP SERVERS. The output of describe is saved to the describeOutput field. By default this value is set to true.
- in
Get
Mcp Servers In - IN clause to filter the list of objects
- like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - with
Describe boolean - (Default:
true) Runs DESC MCP SERVER for each MCP server returned by SHOW MCP SERVERS. The output of describe is saved to the describeOutput field. By default this value is set to true.
- in_
Get
Mcp Servers In - IN clause to filter the list of objects
- like str
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - with_
describe bool - (Default:
true) Runs DESC MCP SERVER for each MCP server returned by SHOW MCP SERVERS. The output of describe is saved to the describeOutput field. By default this value is set to true.
- in Property Map
- IN clause to filter the list of objects
- like String
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - with
Describe Boolean - (Default:
true) Runs DESC MCP SERVER for each MCP server returned by SHOW MCP SERVERS. The output of describe is saved to the describeOutput field. By default this value is set to true.
getMcpServers Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Mcp
Servers List<GetMcp Servers Mcp Server> - Holds the aggregated output of all MCP server details queries.
- In
Get
Mcp Servers In - IN clause to filter the list of objects
- Like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - With
Describe bool - (Default:
true) Runs DESC MCP SERVER for each MCP server returned by SHOW MCP SERVERS. The output of describe is saved to the describeOutput field. By default this value is set to true.
- Id string
- The provider-assigned unique ID for this managed resource.
- Mcp
Servers []GetMcp Servers Mcp Server - Holds the aggregated output of all MCP server details queries.
- In
Get
Mcp Servers In - IN clause to filter the list of objects
- Like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - With
Describe bool - (Default:
true) Runs DESC MCP SERVER for each MCP server returned by SHOW MCP SERVERS. The output of describe is saved to the describeOutput field. By default this value is set to true.
- id string
- The provider-assigned unique ID for this managed resource.
- mcp_
servers list(object) - Holds the aggregated output of all MCP server details queries.
- in object
- IN clause to filter the list of objects
- like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - with_
describe bool - (Default:
true) Runs DESC MCP SERVER for each MCP server returned by SHOW MCP SERVERS. The output of describe is saved to the describeOutput field. By default this value is set to true.
- id String
- The provider-assigned unique ID for this managed resource.
- mcp
Servers List<GetMcp Servers Mcp Server> - Holds the aggregated output of all MCP server details queries.
- in
Get
Mcp Servers In - IN clause to filter the list of objects
- like String
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - with
Describe Boolean - (Default:
true) Runs DESC MCP SERVER for each MCP server returned by SHOW MCP SERVERS. The output of describe is saved to the describeOutput field. By default this value is set to true.
- id string
- The provider-assigned unique ID for this managed resource.
- mcp
Servers GetMcp Servers Mcp Server[] - Holds the aggregated output of all MCP server details queries.
- in
Get
Mcp Servers In - IN clause to filter the list of objects
- like string
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - with
Describe boolean - (Default:
true) Runs DESC MCP SERVER for each MCP server returned by SHOW MCP SERVERS. The output of describe is saved to the describeOutput field. By default this value is set to true.
- id str
- The provider-assigned unique ID for this managed resource.
- mcp_
servers Sequence[GetMcp Servers Mcp Server] - Holds the aggregated output of all MCP server details queries.
- in_
Get
Mcp Servers In - IN clause to filter the list of objects
- like str
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - with_
describe bool - (Default:
true) Runs DESC MCP SERVER for each MCP server returned by SHOW MCP SERVERS. The output of describe is saved to the describeOutput field. By default this value is set to true.
- id String
- The provider-assigned unique ID for this managed resource.
- mcp
Servers List<Property Map> - Holds the aggregated output of all MCP server details queries.
- in Property Map
- IN clause to filter the list of objects
- like String
- Filters the output with case-insensitive pattern, with support for SQL wildcard characters (
%and_). - with
Describe Boolean - (Default:
true) Runs DESC MCP SERVER for each MCP server returned by SHOW MCP SERVERS. The output of describe is saved to the describeOutput field. By default this value is set to true.
Supporting Types
GetMcpServersIn
GetMcpServersMcpServer
- Describe
Outputs List<GetMcp Servers Mcp Server Describe Output> - Holds the output of DESCRIBE MCP SERVER.
- Show
Outputs List<GetMcp Servers Mcp Server Show Output> - Holds the output of SHOW MCP SERVERS.
- Describe
Outputs []GetMcp Servers Mcp Server Describe Output - Holds the output of DESCRIBE MCP SERVER.
- Show
Outputs []GetMcp Servers Mcp Server Show Output - Holds the output of SHOW MCP SERVERS.
- describe_
outputs list(object) - Holds the output of DESCRIBE MCP SERVER.
- show_
outputs list(object) - Holds the output of SHOW MCP SERVERS.
- describe
Outputs List<GetMcp Servers Mcp Server Describe Output> - Holds the output of DESCRIBE MCP SERVER.
- show
Outputs List<GetMcp Servers Mcp Server Show Output> - Holds the output of SHOW MCP SERVERS.
- describe
Outputs GetMcp Servers Mcp Server Describe Output[] - Holds the output of DESCRIBE MCP SERVER.
- show
Outputs GetMcp Servers Mcp Server Show Output[] - Holds the output of SHOW MCP SERVERS.
- describe_
outputs Sequence[GetMcp Servers Mcp Server Describe Output] - Holds the output of DESCRIBE MCP SERVER.
- show_
outputs Sequence[GetMcp Servers Mcp Server Show Output] - Holds the output of SHOW MCP SERVERS.
- describe
Outputs List<Property Map> - Holds the output of DESCRIBE MCP SERVER.
- show
Outputs List<Property Map> - Holds the output of SHOW MCP SERVERS.
GetMcpServersMcpServerDescribeOutput
- Comment string
- Created
On string - Database
Name string - Name string
- Owner string
- Schema
Name string - Server
Spec string
- Comment string
- Created
On string - Database
Name string - Name string
- Owner string
- Schema
Name string - Server
Spec string
- comment string
- created_
on string - database_
name string - name string
- owner string
- schema_
name string - server_
spec string
- comment String
- created
On String - database
Name String - name String
- owner String
- schema
Name String - server
Spec String
- comment string
- created
On string - database
Name string - name string
- owner string
- schema
Name string - server
Spec string
- comment str
- created_
on str - database_
name str - name str
- owner str
- schema_
name str - server_
spec str
- comment String
- created
On String - database
Name String - name String
- owner String
- schema
Name String - server
Spec String
GetMcpServersMcpServerShowOutput
- Comment string
- Created
On string - Database
Name string - Name string
- Owner string
- Schema
Name string
- Comment string
- Created
On string - Database
Name string - Name string
- Owner string
- Schema
Name string
- comment string
- created_
on string - database_
name string - name string
- owner string
- schema_
name string
- comment String
- created
On String - database
Name String - name String
- owner String
- schema
Name String
- comment string
- created
On string - database
Name string - name string
- owner string
- schema
Name string
- comment str
- created_
on str - database_
name str - name str
- owner str
- schema_
name str
- comment String
- created
On String - database
Name String - name String
- owner String
- schema
Name String
Package Details
- Repository
- Snowflake pulumi/pulumi-snowflake
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
snowflakeTerraform Provider.
published on Friday, Jul 31, 2026 by Pulumi