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.
Resource used to manage MCP server objects. For more information, check MCP server documentation.
Create McpServer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new McpServer(name: string, args: McpServerArgs, opts?: CustomResourceOptions);@overload
def McpServer(resource_name: str,
args: McpServerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def McpServer(resource_name: str,
opts: Optional[ResourceOptions] = None,
database: Optional[str] = None,
schema: Optional[str] = None,
specification: Optional[str] = None,
comment: Optional[str] = None,
name: Optional[str] = None)func NewMcpServer(ctx *Context, name string, args McpServerArgs, opts ...ResourceOption) (*McpServer, error)public McpServer(string name, McpServerArgs args, CustomResourceOptions? opts = null)
public McpServer(String name, McpServerArgs args)
public McpServer(String name, McpServerArgs args, CustomResourceOptions options)
type: snowflake:McpServer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "snowflake_mcp_server" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args McpServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args McpServerArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args McpServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args McpServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args McpServerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var mcpServerResource = new Snowflake.McpServer("mcpServerResource", new()
{
Database = "string",
Schema = "string",
Specification = "string",
Comment = "string",
Name = "string",
});
example, err := snowflake.NewMcpServer(ctx, "mcpServerResource", &snowflake.McpServerArgs{
Database: pulumi.String("string"),
Schema: pulumi.String("string"),
Specification: pulumi.String("string"),
Comment: pulumi.String("string"),
Name: pulumi.String("string"),
})
resource "snowflake_mcp_server" "mcpServerResource" {
lifecycle {
create_before_destroy = true
}
database = "string"
schema = "string"
specification = "string"
comment = "string"
name = "string"
}
var mcpServerResource = new McpServer("mcpServerResource", McpServerArgs.builder()
.database("string")
.schema("string")
.specification("string")
.comment("string")
.name("string")
.build());
mcp_server_resource = snowflake.McpServer("mcpServerResource",
database="string",
schema="string",
specification="string",
comment="string",
name="string")
const mcpServerResource = new snowflake.McpServer("mcpServerResource", {
database: "string",
schema: "string",
specification: "string",
comment: "string",
name: "string",
});
type: snowflake:McpServer
properties:
comment: string
database: string
name: string
schema: string
specification: string
McpServer Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The McpServer resource accepts the following input properties:
- Database string
- The database in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Schema string
- The schema in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Specification string
- Specifies a YAML object containing the MCP server tool definitions. The provider wraps it in
$$by default, so be aware of that while referencing the argument in the spec definition. Using$$in this field is disallowed. - Comment string
- Specifies a comment for the MCP server.
- Name string
- Specifies the identifier for the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,".
- Database string
- The database in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Schema string
- The schema in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Specification string
- Specifies a YAML object containing the MCP server tool definitions. The provider wraps it in
$$by default, so be aware of that while referencing the argument in the spec definition. Using$$in this field is disallowed. - Comment string
- Specifies a comment for the MCP server.
- Name string
- Specifies the identifier for the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,".
- database string
- The database in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - schema string
- The schema in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - specification string
- Specifies a YAML object containing the MCP server tool definitions. The provider wraps it in
$$by default, so be aware of that while referencing the argument in the spec definition. Using$$in this field is disallowed. - comment string
- Specifies a comment for the MCP server.
- name string
- Specifies the identifier for the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,".
- database String
- The database in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - schema String
- The schema in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - specification String
- Specifies a YAML object containing the MCP server tool definitions. The provider wraps it in
$$by default, so be aware of that while referencing the argument in the spec definition. Using$$in this field is disallowed. - comment String
- Specifies a comment for the MCP server.
- name String
- Specifies the identifier for the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,".
- database string
- The database in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - schema string
- The schema in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - specification string
- Specifies a YAML object containing the MCP server tool definitions. The provider wraps it in
$$by default, so be aware of that while referencing the argument in the spec definition. Using$$in this field is disallowed. - comment string
- Specifies a comment for the MCP server.
- name string
- Specifies the identifier for the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,".
- database str
- The database in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - schema str
- The schema in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - specification str
- Specifies a YAML object containing the MCP server tool definitions. The provider wraps it in
$$by default, so be aware of that while referencing the argument in the spec definition. Using$$in this field is disallowed. - comment str
- Specifies a comment for the MCP server.
- name str
- Specifies the identifier for the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,".
- database String
- The database in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - schema String
- The schema in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - specification String
- Specifies a YAML object containing the MCP server tool definitions. The provider wraps it in
$$by default, so be aware of that while referencing the argument in the spec definition. Using$$in this field is disallowed. - comment String
- Specifies a comment for the MCP server.
- name String
- Specifies the identifier for the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,".
Outputs
All input properties are implicitly available as output properties. Additionally, the McpServer resource produces the following output properties:
- Describe
Outputs List<McpServer Describe Output> - Outputs the result of
DESCRIBE MCP SERVERfor this MCP server. - Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Id string
- The provider-assigned unique ID for this managed resource.
- Show
Outputs List<McpServer Show Output> - Outputs the result of
SHOW MCP SERVERSfor this MCP server.
- Describe
Outputs []McpServer Describe Output - Outputs the result of
DESCRIBE MCP SERVERfor this MCP server. - Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Id string
- The provider-assigned unique ID for this managed resource.
- Show
Outputs []McpServer Show Output - Outputs the result of
SHOW MCP SERVERSfor this MCP server.
- describe_
outputs list(object) - Outputs the result of
DESCRIBE MCP SERVERfor this MCP server. - fully_
qualified_ stringname - Fully qualified name of the resource. For more information, see object name resolution.
- id string
- The provider-assigned unique ID for this managed resource.
- show_
outputs list(object) - Outputs the result of
SHOW MCP SERVERSfor this MCP server.
- describe
Outputs List<McpServer Describe Output> - Outputs the result of
DESCRIBE MCP SERVERfor this MCP server. - fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- id String
- The provider-assigned unique ID for this managed resource.
- show
Outputs List<McpServer Show Output> - Outputs the result of
SHOW MCP SERVERSfor this MCP server.
- describe
Outputs McpServer Describe Output[] - Outputs the result of
DESCRIBE MCP SERVERfor this MCP server. - fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- id string
- The provider-assigned unique ID for this managed resource.
- show
Outputs McpServer Show Output[] - Outputs the result of
SHOW MCP SERVERSfor this MCP server.
- describe_
outputs Sequence[McpServer Describe Output] - Outputs the result of
DESCRIBE MCP SERVERfor this MCP server. - fully_
qualified_ strname - Fully qualified name of the resource. For more information, see object name resolution.
- id str
- The provider-assigned unique ID for this managed resource.
- show_
outputs Sequence[McpServer Show Output] - Outputs the result of
SHOW MCP SERVERSfor this MCP server.
- describe
Outputs List<Property Map> - Outputs the result of
DESCRIBE MCP SERVERfor this MCP server. - fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- id String
- The provider-assigned unique ID for this managed resource.
- show
Outputs List<Property Map> - Outputs the result of
SHOW MCP SERVERSfor this MCP server.
Look up Existing McpServer Resource
Get an existing McpServer resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: McpServerState, opts?: CustomResourceOptions): McpServer@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
comment: Optional[str] = None,
database: Optional[str] = None,
describe_outputs: Optional[Sequence[McpServerDescribeOutputArgs]] = None,
fully_qualified_name: Optional[str] = None,
name: Optional[str] = None,
schema: Optional[str] = None,
show_outputs: Optional[Sequence[McpServerShowOutputArgs]] = None,
specification: Optional[str] = None) -> McpServerfunc GetMcpServer(ctx *Context, name string, id IDInput, state *McpServerState, opts ...ResourceOption) (*McpServer, error)public static McpServer Get(string name, Input<string> id, McpServerState? state, CustomResourceOptions? opts = null)public static McpServer get(String name, Output<String> id, McpServerState state, CustomResourceOptions options)resources: _: type: snowflake:McpServer get: id: ${id}import {
to = snowflake_mcp_server.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Comment string
- Specifies a comment for the MCP server.
- Database string
- The database in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Describe
Outputs List<McpServer Describe Output> - Outputs the result of
DESCRIBE MCP SERVERfor this MCP server. - Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Name string
- Specifies the identifier for the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Schema string
- The schema in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Show
Outputs List<McpServer Show Output> - Outputs the result of
SHOW MCP SERVERSfor this MCP server. - Specification string
- Specifies a YAML object containing the MCP server tool definitions. The provider wraps it in
$$by default, so be aware of that while referencing the argument in the spec definition. Using$$in this field is disallowed.
- Comment string
- Specifies a comment for the MCP server.
- Database string
- The database in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Describe
Outputs []McpServer Describe Output Args - Outputs the result of
DESCRIBE MCP SERVERfor this MCP server. - Fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- Name string
- Specifies the identifier for the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Schema string
- The schema in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - Show
Outputs []McpServer Show Output Args - Outputs the result of
SHOW MCP SERVERSfor this MCP server. - Specification string
- Specifies a YAML object containing the MCP server tool definitions. The provider wraps it in
$$by default, so be aware of that while referencing the argument in the spec definition. Using$$in this field is disallowed.
- comment string
- Specifies a comment for the MCP server.
- database string
- The database in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - describe_
outputs list(object) - Outputs the result of
DESCRIBE MCP SERVERfor this MCP server. - fully_
qualified_ stringname - Fully qualified name of the resource. For more information, see object name resolution.
- name string
- Specifies the identifier for the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - schema string
- The schema in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - show_
outputs list(object) - Outputs the result of
SHOW MCP SERVERSfor this MCP server. - specification string
- Specifies a YAML object containing the MCP server tool definitions. The provider wraps it in
$$by default, so be aware of that while referencing the argument in the spec definition. Using$$in this field is disallowed.
- comment String
- Specifies a comment for the MCP server.
- database String
- The database in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - describe
Outputs List<McpServer Describe Output> - Outputs the result of
DESCRIBE MCP SERVERfor this MCP server. - fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- name String
- Specifies the identifier for the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - schema String
- The schema in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - show
Outputs List<McpServer Show Output> - Outputs the result of
SHOW MCP SERVERSfor this MCP server. - specification String
- Specifies a YAML object containing the MCP server tool definitions. The provider wraps it in
$$by default, so be aware of that while referencing the argument in the spec definition. Using$$in this field is disallowed.
- comment string
- Specifies a comment for the MCP server.
- database string
- The database in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - describe
Outputs McpServer Describe Output[] - Outputs the result of
DESCRIBE MCP SERVERfor this MCP server. - fully
Qualified stringName - Fully qualified name of the resource. For more information, see object name resolution.
- name string
- Specifies the identifier for the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - schema string
- The schema in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - show
Outputs McpServer Show Output[] - Outputs the result of
SHOW MCP SERVERSfor this MCP server. - specification string
- Specifies a YAML object containing the MCP server tool definitions. The provider wraps it in
$$by default, so be aware of that while referencing the argument in the spec definition. Using$$in this field is disallowed.
- comment str
- Specifies a comment for the MCP server.
- database str
- The database in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - describe_
outputs Sequence[McpServer Describe Output Args] - Outputs the result of
DESCRIBE MCP SERVERfor this MCP server. - fully_
qualified_ strname - Fully qualified name of the resource. For more information, see object name resolution.
- name str
- Specifies the identifier for the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - schema str
- The schema in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - show_
outputs Sequence[McpServer Show Output Args] - Outputs the result of
SHOW MCP SERVERSfor this MCP server. - specification str
- Specifies a YAML object containing the MCP server tool definitions. The provider wraps it in
$$by default, so be aware of that while referencing the argument in the spec definition. Using$$in this field is disallowed.
- comment String
- Specifies a comment for the MCP server.
- database String
- The database in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - describe
Outputs List<Property Map> - Outputs the result of
DESCRIBE MCP SERVERfor this MCP server. - fully
Qualified StringName - Fully qualified name of the resource. For more information, see object name resolution.
- name String
- Specifies the identifier for the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - schema String
- The schema in which to create the MCP server. Due to technical limitations (read more here), avoid using the following characters:
|,.,". - show
Outputs List<Property Map> - Outputs the result of
SHOW MCP SERVERSfor this MCP server. - specification String
- Specifies a YAML object containing the MCP server tool definitions. The provider wraps it in
$$by default, so be aware of that while referencing the argument in the spec definition. Using$$in this field is disallowed.
Supporting Types
McpServerDescribeOutput, McpServerDescribeOutputArgs
- 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
McpServerShowOutput, McpServerShowOutputArgs
- 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
Import
$ pulumi import snowflake:index/mcpServer:McpServer example '"<database_name>"."<schema_name>"."<mcp_server_name>"'
To learn more about importing existing cloud resources, see Importing resources.
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