published on Tuesday, Mar 10, 2026 by DataRobot, Inc.
published on Tuesday, Mar 10, 2026 by DataRobot, Inc.
User MCP tool metadata. This resource creates a tool metadata entry for a given MCP server version using the User MCP public API.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datarobot from "@datarobot/pulumi-datarobot";
const example = new datarobot.UserMcpToolMetadata("example", {
type: "userTool",
mcpServerVersionId: "69a761e40746897942318e2f",
});
export const exampleId = example.id;
import pulumi
import pulumi_datarobot as datarobot
example = datarobot.UserMcpToolMetadata("example",
type="userTool",
mcp_server_version_id="69a761e40746897942318e2f")
pulumi.export("exampleId", example.id)
package main
import (
"github.com/datarobot-community/pulumi-datarobot/sdk/go/datarobot"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := datarobot.NewUserMcpToolMetadata(ctx, "example", &datarobot.UserMcpToolMetadataArgs{
Type: pulumi.String("userTool"),
McpServerVersionId: pulumi.String("69a761e40746897942318e2f"),
})
if err != nil {
return err
}
ctx.Export("exampleId", example.ID())
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Datarobot = DataRobotPulumi.Datarobot;
return await Deployment.RunAsync(() =>
{
var example = new Datarobot.UserMcpToolMetadata("example", new()
{
Type = "userTool",
McpServerVersionId = "69a761e40746897942318e2f",
});
return new Dictionary<string, object?>
{
["exampleId"] = example.Id,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.datarobot.UserMcpToolMetadata;
import com.pulumi.datarobot.UserMcpToolMetadataArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new UserMcpToolMetadata("example", UserMcpToolMetadataArgs.builder()
.type("userTool")
.mcpServerVersionId("69a761e40746897942318e2f")
.build());
ctx.export("exampleId", example.id());
}
}
resources:
example:
type: datarobot:UserMcpToolMetadata
properties:
type: userTool
mcpServerVersionId: 69a761e40746897942318e2f
outputs:
exampleId: ${example.id}
Create UserMcpToolMetadata Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new UserMcpToolMetadata(name: string, args: UserMcpToolMetadataArgs, opts?: CustomResourceOptions);@overload
def UserMcpToolMetadata(resource_name: str,
args: UserMcpToolMetadataArgs,
opts: Optional[ResourceOptions] = None)
@overload
def UserMcpToolMetadata(resource_name: str,
opts: Optional[ResourceOptions] = None,
mcp_server_version_id: Optional[str] = None,
type: Optional[str] = None,
name: Optional[str] = None)func NewUserMcpToolMetadata(ctx *Context, name string, args UserMcpToolMetadataArgs, opts ...ResourceOption) (*UserMcpToolMetadata, error)public UserMcpToolMetadata(string name, UserMcpToolMetadataArgs args, CustomResourceOptions? opts = null)
public UserMcpToolMetadata(String name, UserMcpToolMetadataArgs args)
public UserMcpToolMetadata(String name, UserMcpToolMetadataArgs args, CustomResourceOptions options)
type: datarobot:UserMcpToolMetadata
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args UserMcpToolMetadataArgs
- 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 UserMcpToolMetadataArgs
- 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 UserMcpToolMetadataArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UserMcpToolMetadataArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UserMcpToolMetadataArgs
- 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 userMcpToolMetadataResource = new Datarobot.UserMcpToolMetadata("userMcpToolMetadataResource", new()
{
McpServerVersionId = "string",
Type = "string",
Name = "string",
});
example, err := datarobot.NewUserMcpToolMetadata(ctx, "userMcpToolMetadataResource", &datarobot.UserMcpToolMetadataArgs{
McpServerVersionId: pulumi.String("string"),
Type: pulumi.String("string"),
Name: pulumi.String("string"),
})
var userMcpToolMetadataResource = new UserMcpToolMetadata("userMcpToolMetadataResource", UserMcpToolMetadataArgs.builder()
.mcpServerVersionId("string")
.type("string")
.name("string")
.build());
user_mcp_tool_metadata_resource = datarobot.UserMcpToolMetadata("userMcpToolMetadataResource",
mcp_server_version_id="string",
type="string",
name="string")
const userMcpToolMetadataResource = new datarobot.UserMcpToolMetadata("userMcpToolMetadataResource", {
mcpServerVersionId: "string",
type: "string",
name: "string",
});
type: datarobot:UserMcpToolMetadata
properties:
mcpServerVersionId: string
name: string
type: string
UserMcpToolMetadata 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 UserMcpToolMetadata resource accepts the following input properties:
- Mcp
Server stringVersion Id - The ID of the MCP server version this tool belongs to.
- Type string
- The type of the MCP tool.
- Name string
- The name of the MCP tool.
- Mcp
Server stringVersion Id - The ID of the MCP server version this tool belongs to.
- Type string
- The type of the MCP tool.
- Name string
- The name of the MCP tool.
- mcp
Server StringVersion Id - The ID of the MCP server version this tool belongs to.
- type String
- The type of the MCP tool.
- name String
- The name of the MCP tool.
- mcp
Server stringVersion Id - The ID of the MCP server version this tool belongs to.
- type string
- The type of the MCP tool.
- name string
- The name of the MCP tool.
- mcp_
server_ strversion_ id - The ID of the MCP server version this tool belongs to.
- type str
- The type of the MCP tool.
- name str
- The name of the MCP tool.
- mcp
Server StringVersion Id - The ID of the MCP server version this tool belongs to.
- type String
- The type of the MCP tool.
- name String
- The name of the MCP tool.
Outputs
All input properties are implicitly available as output properties. Additionally, the UserMcpToolMetadata resource produces the following output properties:
- created_
at str - When the MCP tool is created.
- id str
- The provider-assigned unique ID for this managed resource.
- user_
id str - The id of the user who created the MCP tool.
- user_
name str - The name of the user who created the MCP tool
Look up Existing UserMcpToolMetadata Resource
Get an existing UserMcpToolMetadata 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?: UserMcpToolMetadataState, opts?: CustomResourceOptions): UserMcpToolMetadata@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
mcp_server_version_id: Optional[str] = None,
name: Optional[str] = None,
type: Optional[str] = None,
user_id: Optional[str] = None,
user_name: Optional[str] = None) -> UserMcpToolMetadatafunc GetUserMcpToolMetadata(ctx *Context, name string, id IDInput, state *UserMcpToolMetadataState, opts ...ResourceOption) (*UserMcpToolMetadata, error)public static UserMcpToolMetadata Get(string name, Input<string> id, UserMcpToolMetadataState? state, CustomResourceOptions? opts = null)public static UserMcpToolMetadata get(String name, Output<String> id, UserMcpToolMetadataState state, CustomResourceOptions options)resources: _: type: datarobot:UserMcpToolMetadata get: 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.
- Created
At string - When the MCP tool is created.
- Mcp
Server stringVersion Id - The ID of the MCP server version this tool belongs to.
- Name string
- The name of the MCP tool.
- Type string
- The type of the MCP tool.
- User
Id string - The id of the user who created the MCP tool.
- User
Name string - The name of the user who created the MCP tool
- Created
At string - When the MCP tool is created.
- Mcp
Server stringVersion Id - The ID of the MCP server version this tool belongs to.
- Name string
- The name of the MCP tool.
- Type string
- The type of the MCP tool.
- User
Id string - The id of the user who created the MCP tool.
- User
Name string - The name of the user who created the MCP tool
- created
At String - When the MCP tool is created.
- mcp
Server StringVersion Id - The ID of the MCP server version this tool belongs to.
- name String
- The name of the MCP tool.
- type String
- The type of the MCP tool.
- user
Id String - The id of the user who created the MCP tool.
- user
Name String - The name of the user who created the MCP tool
- created
At string - When the MCP tool is created.
- mcp
Server stringVersion Id - The ID of the MCP server version this tool belongs to.
- name string
- The name of the MCP tool.
- type string
- The type of the MCP tool.
- user
Id string - The id of the user who created the MCP tool.
- user
Name string - The name of the user who created the MCP tool
- created_
at str - When the MCP tool is created.
- mcp_
server_ strversion_ id - The ID of the MCP server version this tool belongs to.
- name str
- The name of the MCP tool.
- type str
- The type of the MCP tool.
- user_
id str - The id of the user who created the MCP tool.
- user_
name str - The name of the user who created the MCP tool
- created
At String - When the MCP tool is created.
- mcp
Server StringVersion Id - The ID of the MCP server version this tool belongs to.
- name String
- The name of the MCP tool.
- type String
- The type of the MCP tool.
- user
Id String - The id of the user who created the MCP tool.
- user
Name String - The name of the user who created the MCP tool
Package Details
- Repository
- datarobot datarobot-community/pulumi-datarobot
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datarobotTerraform Provider.
published on Tuesday, Mar 10, 2026 by DataRobot, Inc.
