User MCP server¶
EnumAPIRepresentationConverter¶
PromptInUserMCPServerDeployment¶
A prompt registered in one MCP server deployment. It is used to: - Create one prompt and register it in one MCP server deployment. - List tools registered in one MCP server deployment.
Variables
| Attribute | Type | Description |
|---|---|---|
id |
str |
The identifier of prompt. |
name |
str |
The prompt name. |
type |
str |
The prompt type. It is a camelCase string representation of TypeOfPromptInUserMCPServerDeployment. |
created_at |
str |
Datetime when the prompt is created. It is formatted as RFC3339 UTC, e.g., 2026-02-24T19:12:48.285320Z. |
user_id |
bool |
The identifier of user who created the prompt. |
user_name |
str |
The name of user who created the prompt. |
mcp_server_deployment_id |
str |
The identifier of MCP server deployment (custom model deployment) under which the prompt is registered. |
create()¶
Create a new MCP prompt and return it.
Parameters
| Parameter | Type | Description |
|---|---|---|
mcp_server_deployment_id |
str |
The identifier of MCP server deployment (custom model deployment) under which the prompt is registered. |
name |
str |
The prompt name. |
type |
TypeOfPromptInUserMCPServerDeployment |
The prompt type. |
Returns
| Returns | Description |
|---|---|
| The created MCP prompt. |
Return type: PromptInUserMCPServerDeployment
list()¶
Get a list of MCP prompts.
Parameters
| Parameter | Type | Description |
|---|---|---|
mcp_server_deployment_id |
str |
The identifier of MCP server deployment (custom model deployment) under which the prompt is registered. |
offset |
int |
The offset of the query. |
limit |
int |
The limit of returned MCP prompt. |
Returns
| Returns | Description |
|---|---|
| A list of MCP prompts. |
Return type: List[PromptInUserMCPServerDeployment]
from_data()¶
Instantiate an object of this class using a dict.
Parameters
| Parameter | Type | Description |
|---|---|---|
data |
dict |
Correctly snake_cased keys and their values. |
Return type: TypeVar(T, bound= APIObject)
from_server_data()¶
Instantiate an object of this class using the data directly from the server, meaning that the keys may have the wrong camel casing
Parameters
| Parameter | Type | Description |
|---|---|---|
data |
dict |
The directly translated dict of JSON from the server. No casing fixes have taken place |
keep_attrs |
iterable |
List, set or tuple of the dotted namespace notations for attributes to keep within the object structure even if their values are None |
Return type: TypeVar(T, bound= APIObject)
ResourceInUserMCPServerDeployment¶
A resource registered in one MCP server deployment. It is used to: - Create one resource and register it in one MCP server deployment. - List tools registered in one MCP server deployment.
Variables
| Attribute | Type | Description |
|---|---|---|
id |
str |
The identifier of resource. |
name |
str |
The resource name. |
type |
str |
The resource type. It is a camelCase string representation of TypeOfResourceInUserMCPServerDeployment. |
uri |
str |
The resource URI. |
created_at |
str |
Datetime when the resource is created. It is formatted as RFC3339 UTC, e.g., 2026-02-24T19:12:48.285320Z. |
user_id |
bool |
The identifier of user who created the resource. |
user_name |
str |
The name of user who created the resource. |
mcp_server_deployment_id |
str |
The identifier of MCP server deployment (custom model deployment) under which the resource is registered. |
create()¶
Create a new MCP resource and return it.
Parameters
| Parameter | Type | Description |
|---|---|---|
mcp_server_deployment_id |
str |
The identifier of MCP server deployment (custom model deployment) under which the resource is registered. |
name |
str |
The resource name. |
type |
TypeOfResourceInUserMCPServerDeployment |
The resource type. |
uri |
str |
The resource URI. |
Returns
| Returns | Description |
|---|---|
| The created MCP resource. |
Return type: ResourceInUserMCPServerDeployment
list()¶
Get a list of MCP resources.
Parameters
| Parameter | Type | Description |
|---|---|---|
mcp_server_deployment_id |
str |
The identifier of MCP server deployment (custom model deployment) under which the resource is registered. |
offset |
int |
The offset of the query. |
limit |
int |
The limit of returned MCP resource. |
Returns
| Returns | Description |
|---|---|
| A list of MCP resources. |
Return type: List[ResourceInUserMCPServerDeployment]
from_data()¶
Instantiate an object of this class using a dict.
Parameters
| Parameter | Type | Description |
|---|---|---|
data |
dict |
Correctly snake_cased keys and their values. |
Return type: TypeVar(T, bound= APIObject)
from_server_data()¶
Instantiate an object of this class using the data directly from the server, meaning that the keys may have the wrong camel casing
Parameters
| Parameter | Type | Description |
|---|---|---|
data |
dict |
The directly translated dict of JSON from the server. No casing fixes have taken place |
keep_attrs |
iterable |
List, set or tuple of the dotted namespace notations for attributes to keep within the object structure even if their values are None |
Return type: TypeVar(T, bound= APIObject)
ToolInUserMCPServerDeployment¶
A tool registered in one MCP server deployment. It is used to: - Create one tool and register it in one MCP server deployment. - List tools registered in one MCP server deployment.
Variables
| Attribute | Type | Description |
|---|---|---|
id |
str |
The identifier of tool. |
name |
str |
The tool name. |
type |
str |
The tool type. It is a camelCase string representation of TypeOfToolInUserMCPServerDeployment. |
created_at |
str |
Datetime when the tool is created. It is formatted as RFC3339 UTC, e.g., 2026-02-24T19:12:48.285320Z. |
user_id |
bool |
The identifier of user who created the tool. |
user_name |
str |
The name of user who created the tool. |
mcp_server_deployment_id |
str |
The identifier of MCP server deployment (custom model deployment) under which the tool is registered. |
create()¶
Create a new MCP tool and return it.
Parameters
| Parameter | Type | Description |
|---|---|---|
mcp_server_deployment_id |
str |
The identifier of MCP server deployment (custom model deployment) under which the tool is registered. |
name |
str |
The tool name. |
type |
TypeOfToolInUserMCPServerDeployment |
The tool type. |
Returns
| Returns | Description |
|---|---|
| The created MCP tool. |
Return type: ToolInUserMCPServerDeployment
list()¶
Get a list of MCP tools.
Parameters
| Parameter | Type | Description |
|---|---|---|
mcp_server_deployment_id |
str |
The identifier of MCP server deployment (custom model deployment) under which the tool is registered. |
offset |
int |
The offset of the query. |
limit |
int |
The limit of returned MCP tool. |
Returns
| Returns | Description |
|---|---|
| A list of MCP tools. |
Return type: List[ToolInUserMCPServerDeployment]
from_data()¶
Instantiate an object of this class using a dict.
Parameters
| Parameter | Type | Description |
|---|---|---|
data |
dict |
Correctly snake_cased keys and their values. |
Return type: TypeVar(T, bound= APIObject)
from_server_data()¶
Instantiate an object of this class using the data directly from the server, meaning that the keys may have the wrong camel casing
Parameters
| Parameter | Type | Description |
|---|---|---|
data |
dict |
The directly translated dict of JSON from the server. No casing fixes have taken place |
keep_attrs |
iterable |
List, set or tuple of the dotted namespace notations for attributes to keep within the object structure even if their values are None |
Return type: TypeVar(T, bound= APIObject)
TypeOfPromptInUserMCPServerDeployment¶
Supported types of prompts in one user MCP server deployment
USER_PROMPT_TEMPLATE : A prompt template created as an MCP prompt decorated function within the user MCP server.
USER_PROMPT_TEMPLATE_VERSION : A prompt template created and registered in DataRobot.
TypeOfResourceInUserMCPServerDeployment¶
Supported types of resources in one user MCP server deployment
USER_RESOURCE : A resource created as an MCP resource decorated function within the user MCP server.
TypeOfToolInUserMCPServerDeployment¶
Supported types of tools in one user MCP server deployment
USER_TOOL : A tool created as an MCP tool decorated Python function within the user MCP server.
BUILT_IN_TOOL : A DataRobot Predictive AI tool or wrapper tool of external service (e.g., GitHub).
USER_TOOL_DEPLOYMENT : A tool created as a custom inference model.
PromptInUserMCPServerVersion¶
A prompt registered in one MCP server version. It is used to: - List prompts registered in one MCP server version.
Variables
| Attribute | Type | Description |
|---|---|---|
id |
str |
The identifier of prompt. |
name |
str |
The prompt name. |
type |
str |
The prompt type. It is a camelized string representation of TypeOfPromptInUserMCPServerVersion. |
created_at |
str |
Datetime when the prompt is created. It is formatted as RFC3339 UTC, e.g. 2026-02-24T19:12:48.285320Z |
user_id |
bool |
The identifier of user who created the prompt. |
user_name |
str |
The name of user who created the prompt. |
mcp_server_version_id |
str |
The identifier of MCP server version (custom model version) under which the prompt is registered. |
list()¶
Get a list of MCP prompts.
Parameters
| Parameter | Type | Description |
|---|---|---|
mcp_server_version_id |
str |
The identifier of MCP server version (custom model version) under which the prompt is registered. |
offset |
int |
The offset of the query. |
limit |
int |
The limit of returned MCP prompt. |
Returns
| Returns | Description |
|---|---|
| A list of MCP prompts. |
Return type: List[PromptInUserMCPServerVersion]
from_data()¶
Instantiate an object of this class using a dict.
Parameters
| Parameter | Type | Description |
|---|---|---|
data |
dict |
Correctly snake_cased keys and their values. |
Return type: TypeVar(T, bound= APIObject)
from_server_data()¶
Instantiate an object of this class using the data directly from the server, meaning that the keys may have the wrong camel casing
Parameters
| Parameter | Type | Description |
|---|---|---|
data |
dict |
The directly translated dict of JSON from the server. No casing fixes have taken place |
keep_attrs |
iterable |
List, set or tuple of the dotted namespace notations for attributes to keep within the object structure even if their values are None |
Return type: TypeVar(T, bound= APIObject)
ResourceInUserMCPServerVersion¶
A resource registered in one MCP server version. It is used to: - List resources registered in one MCP server version.
Variables
| Attribute | Type | Description |
|---|---|---|
id |
str |
The identifier of resource. |
name |
str |
The resource name. |
type |
str |
The resource type. It is a camelized string representation of TypeOfResourceInUserMCPServerVersion. |
uri |
str |
The resource URI. |
created_at |
str |
Datetime when the resource is created. It is formatted as RFC3339 UTC, e.g. 2026-02-24T19:12:48.285320Z |
user_id |
bool |
The identifier of user who created the resource. |
user_name |
str |
The name of user who created the resource. |
mcp_server_version_id |
str |
The identifier of MCP server version (custom model version) under which the resource is registered. |
list()¶
Get a list of MCP resources.
Parameters
| Parameter | Type | Description |
|---|---|---|
mcp_server_version_id |
str |
The identifier of MCP server version (custom model version) under which the resource is registered. |
offset |
int |
The offset of the query. |
limit |
int |
The limit of returned MCP resource. |
Returns
| Returns | Description |
|---|---|
| A list of MCP resources. |
Return type: List[ResourceInUserMCPServerVersion]
from_data()¶
Instantiate an object of this class using a dict.
Parameters
| Parameter | Type | Description |
|---|---|---|
data |
dict |
Correctly snake_cased keys and their values. |
Return type: TypeVar(T, bound= APIObject)
from_server_data()¶
Instantiate an object of this class using the data directly from the server, meaning that the keys may have the wrong camel casing
Parameters
| Parameter | Type | Description |
|---|---|---|
data |
dict |
The directly translated dict of JSON from the server. No casing fixes have taken place |
keep_attrs |
iterable |
List, set or tuple of the dotted namespace notations for attributes to keep within the object structure even if their values are None |
Return type: TypeVar(T, bound= APIObject)
ToolInUserMCPServerVersion¶
A tool registered in one MCP server version. It is used to: - List tools registered in one MCP server version.
Variables
| Attribute | Type | Description |
|---|---|---|
id |
str |
The identifier of tool. |
name |
str |
The tool name. |
type |
str |
The tool type. It is a camelized string representation of TypeOfToolInUserMCPServerVersion |
created_at |
str |
Datetime when the tool is created. It is formatted as RFC3339 UTC, e.g. 2026-02-24T19:12:48.285320Z |
user_id |
bool |
The identifier of user who created the tool. |
user_name |
str |
The name of user who created the tool. |
mcp_server_version_id |
str |
The identifier of MCP server version (custom model version) under which the tool is registered. |
list()¶
Get a list of MCP tools.
Parameters
| Parameter | Type | Description |
|---|---|---|
mcp_server_version_id |
str |
The identifier of MCP server version (custom model version) under which the tool is registered. |
offset |
int |
The offset of the query. |
limit |
int |
The limit of returned MCP tool. |
Returns
| Returns | Description |
|---|---|
| A list of MCP tools. |
Return type: List[ToolInUserMCPServerVersion]
from_data()¶
Instantiate an object of this class using a dict.
Parameters
| Parameter | Type | Description |
|---|---|---|
data |
dict |
Correctly snake_cased keys and their values. |
Return type: TypeVar(T, bound= APIObject)
from_server_data()¶
Instantiate an object of this class using the data directly from the server, meaning that the keys may have the wrong camel casing
Parameters
| Parameter | Type | Description |
|---|---|---|
data |
dict |
The directly translated dict of JSON from the server. No casing fixes have taken place |
keep_attrs |
iterable |
List, set or tuple of the dotted namespace notations for attributes to keep within the object structure even if their values are None |
Return type: TypeVar(T, bound= APIObject)
TypeOfPromptInUserMCPServerVersion¶
Supported types of prompts associated with one user MCP server version
USER_PROMPT_TEMPLATE : A prompt template created as a mcp prompt decorated function within the user MCP server.
TypeOfResourceInUserMCPServerVersion¶
Supported types of resources associated with one user MCP server version
USER_RESOURCE : A resource created as a mcp resource decorated function within the user MCP server.
TypeOfToolInUserMCPServerVersion¶
Supported types of tools associated with one user MCP server version
USER_TOOL : A tool created as a mcp tool decorated python function within the user MCP server.
BUILT_IN_TOOL : A DataRobot Predictive AI tool or wrapper tool of external service (e.g., github).