Baseten MCP by usefulapi
Read models, deployments, logs, metrics and training jobs in Baseten.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (3)
- LOWen baseten_list_instance_type_prices
- LOWen baseten_list_deployment_replicas
- LOWen baseten_list_model_environments
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"baseten": {
"url": "https://baseten.usefulapi.io/mcp"
}
}
}Puntos de conexión remotos
https://baseten.usefulapi.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (19)
🟢baseten_list_teams(name)
List the teams in the Baseten workspace with ids, names and the default flag. Good first call: team ids scope the team-level tools. GET /v1/teams.
Esquema de entrada
{
"type": "object",
"properties": {
"name": {
"description": "Filter by team name.",
"type": [
"string",
"null"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baseten_get_team(team_id)
Get one team by id: name, default flag and creation time. GET /v1/teams/{team_id}.
Esquema de entrada
{
"type": "object",
"properties": {
"team_id": {
"type": "string",
"minLength": 1,
"description": "Team id, from baseten_list_teams."
}
},
"required": [
"team_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baseten_list_regions
List the cloud regions available to the organization, where deployments can run. GET /v1/regions.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baseten_list_instance_types
List the instance types that deployments can use, as the Baseten API reports them. GET /v1/instance_types.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baseten_list_instance_type_prices
List the prices of each instance type, as the Baseten API reports them. Read only: no charge is made here. GET /v1/instance_type_prices.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baseten_list_models(team_id, name)
List models in the workspace, or in one team when team_id is set, with their production and development deployment ids. GET /v1/models or /v1/teams/{team_id}/models.
Esquema de entrada
{
"type": "object",
"properties": {
"team_id": {
"description": "Limit the list to this team.",
"anyOf": [
{
"type": "string",
"minLength": 1,
"description": "Team id, from baseten_list_teams."
},
{
"type": "null"
}
]
},
"name": {
"description": "Filter by model name.",
"type": [
"string",
"null"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baseten_get_model(model_id)
Get one model: name, team, instance type, deployment count and the production and development deployment ids. GET /v1/models/{model_id}.
Esquema de entrada
{
"type": "object",
"properties": {
"model_id": {
"type": "string",
"minLength": 1,
"description": "Model id, from baseten_list_models."
}
},
"required": [
"model_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baseten_list_model_deployments(model_id, name)
List the deployments of one model, with status, region, environment, instance type and active replica count. GET /v1/models/{model_id}/deployments.
Esquema de entrada
{
"type": "object",
"properties": {
"model_id": {
"type": "string",
"minLength": 1,
"description": "Model id, from baseten_list_models."
},
"name": {
"description": "Filter by deployment name.",
"type": [
"string",
"null"
]
}
},
"required": [
"model_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baseten_get_model_deployment(model_id, deployment_id)
Get one deployment: status, failure reason, autoscaling and backpressure settings, labels and region. Pass `production` or `development` as deployment_id for those. GET /v1/models/{model_id}/deployments/{deployment_id}.
Esquema de entrada
{
"type": "object",
"properties": {
"model_id": {
"type": "string",
"minLength": 1,
"description": "Model id, from baseten_list_models."
},
"deployment_id": {
"type": "string",
"minLength": 1,
"description": "Deployment id from baseten_list_model_deployments, or the literal `development` or `production`."
}
},
"required": [
"model_id",
"deployment_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baseten_get_deployment_logs(model_id, deployment_id, start_epoch_millis, end_epoch_millis, direction, ...)
Read log lines of one deployment, filtered by time, level, replica, request id or text. At most 1000 lines per call (default 500). GET /v1/models/{model_id}/deployments/{deployment_id}/logs.
Esquema de entrada
{
"type": "object",
"properties": {
"model_id": {
"type": "string",
"minLength": 1,
"description": "Model id, from baseten_list_models."
},
"deployment_id": {
"type": "string",
"minLength": 1,
"description": "Deployment id from baseten_list_model_deployments, or the literal `development` or `production`."
},
"start_epoch_millis": {
"description": "Start time, Unix epoch milliseconds.",
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"end_epoch_millis": {
"description": "End time, Unix epoch milliseconds.",
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"direction": {
"description": "Sort order.",
"anyOf": [
{
"type": "string",
"enum": [
"asc",
"desc"
]
},
{
"type": "null"
}
]
},
"limit": {
"description": "Lines to return, 1 to 1000.",
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 1000
},
{
"type": "null"
}
]
},
"min_level": {
"description": "Lowest log level to return.",
"anyOf": [
{
"type": "string",
"enum": [
"DEBUG",
"INFO",
"WARNING",
"ERROR"
]
},
{
"type": "null"
}
]
},
"replica": {
"description": "Only logs from this replica id.",
"type": [
"string",
"null"
]
},
"request_id": {
"description": "Only logs for this request id.",
"type": [
"string",
"null"
]
},
"component": {
"description": "Only logs from this component.",
"type": [
"string",
"null"
]
},
"search_pattern": {
"description": "Only log lines that contain this text.",
"type": [
"string",
"null"
]
}
},
"required": [
"model_id",
"deployment_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baseten_get_deployment_metrics(model_id, deployment_id, mode, start_epoch_millis, end_epoch_millis, ...)
Read metrics of one deployment: CURRENT values, a SUMMARY, or a time SERIES between two times. GET /v1/models/{model_id}/deployments/{deployment_id}/metrics.
Esquema de entrada
{
"type": "object",
"properties": {
"model_id": {
"type": "string",
"minLength": 1,
"description": "Model id, from baseten_list_models."
},
"deployment_id": {
"type": "string",
"minLength": 1,
"description": "Deployment id from baseten_list_model_deployments, or the literal `development` or `production`."
},
"mode": {
"description": "Metric view. Default CURRENT.",
"anyOf": [
{
"type": "string",
"enum": [
"CURRENT",
"SUMMARY",
"SERIES"
]
},
{
"type": "null"
}
]
},
"start_epoch_millis": {
"description": "Start time, Unix epoch milliseconds.",
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"end_epoch_millis": {
"description": "End time, Unix epoch milliseconds.",
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"metrics": {
"description": "Metric names to include. Empty returns the API default set.",
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"required": [
"model_id",
"deployment_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baseten_list_deployment_replicas(model_id, deployment_id, cursor, limit, statuses)
List the replicas of one deployment with their status (starting, active, unhealthy, terminated). GET /v1/models/{model_id}/deployments/{deployment_id}/replicas.
Esquema de entrada
{
"type": "object",
"properties": {
"model_id": {
"type": "string",
"minLength": 1,
"description": "Model id, from baseten_list_models."
},
"deployment_id": {
"type": "string",
"minLength": 1,
"description": "Deployment id from baseten_list_model_deployments, or the literal `development` or `production`."
},
"cursor": {
"description": "Pagination cursor from a previous response.",
"type": [
"string",
"null"
]
},
"limit": {
"description": "Maximum results to return.",
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"statuses": {
"description": "Only replicas in these statuses.",
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"enum": [
"STARTING",
"ACTIVE",
"UNHEALTHY",
"TERMINATING",
"TERMINATED",
"UNKNOWN"
]
}
},
{
"type": "null"
}
]
}
},
"required": [
"model_id",
"deployment_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baseten_list_model_environments(model_id)
List the environments of one model, with the deployment promoted to each. GET /v1/models/{model_id}/environments.
Esquema de entrada
{
"type": "object",
"properties": {
"model_id": {
"type": "string",
"minLength": 1,
"description": "Model id, from baseten_list_models."
}
},
"required": [
"model_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baseten_get_model_environment(model_id, env_name)
Get one environment of a model: its current and candidate deployments, any promotion in progress, and autoscaling settings. GET /v1/models/{model_id}/environments/{env_name}.
Esquema de entrada
{
"type": "object",
"properties": {
"model_id": {
"type": "string",
"minLength": 1,
"description": "Model id, from baseten_list_models."
},
"env_name": {
"type": "string",
"minLength": 1,
"description": "Environment name, from baseten_list_model_environments."
}
},
"required": [
"model_id",
"env_name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baseten_list_training_projects(name, cursor, limit)
List training projects in the workspace. GET /v1/training_projects.
Esquema de entrada
{
"type": "object",
"properties": {
"name": {
"description": "Filter by project name.",
"type": [
"string",
"null"
]
},
"cursor": {
"description": "Pagination cursor from a previous response.",
"type": [
"string",
"null"
]
},
"limit": {
"description": "Maximum results to return.",
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baseten_list_training_jobs(training_project_id, cursor, limit)
List the training jobs of one training project. GET /v1/training_projects/{training_project_id}/jobs.
Esquema de entrada
{
"type": "object",
"properties": {
"training_project_id": {
"type": "string",
"minLength": 1,
"description": "Training project id, from baseten_list_training_projects."
},
"cursor": {
"description": "Pagination cursor from a previous response.",
"type": [
"string",
"null"
]
},
"limit": {
"description": "Maximum results to return.",
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"training_project_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baseten_get_training_job(training_project_id, training_job_id)
Get one training job with its training project. GET /v1/training_projects/{training_project_id}/jobs/{training_job_id}.
Esquema de entrada
{
"type": "object",
"properties": {
"training_project_id": {
"type": "string",
"minLength": 1,
"description": "Training project id."
},
"training_job_id": {
"type": "string",
"minLength": 1,
"description": "Training job id, from baseten_list_training_jobs."
}
},
"required": [
"training_project_id",
"training_job_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baseten_list_secrets
List the workspace secrets, metadata only (no plain text values). GET /v1/secrets.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢baseten_list_audit_logs(cursor, limit, direction, search, start_epoch_millis, ...)
List workspace audit events, filtered by time, text or source (UI, API, MCP, SYSTEM, OTHER). GET /v1/audit_logs.
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "Pagination cursor from a previous response.",
"type": [
"string",
"null"
]
},
"limit": {
"description": "Events to return, 1 to 200.",
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 200
},
{
"type": "null"
}
]
},
"direction": {
"description": "Sort order.",
"anyOf": [
{
"type": "string",
"enum": [
"asc",
"desc"
]
},
{
"type": "null"
}
]
},
"search": {
"description": "Text to search in event details.",
"type": [
"string",
"null"
]
},
"start_epoch_millis": {
"description": "Start time, Unix epoch milliseconds.",
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"end_epoch_millis": {
"description": "End time, Unix epoch milliseconds.",
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"sources": {
"description": "Only events from these sources.",
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"enum": [
"UI",
"API",
"MCP",
"SYSTEM",
"OTHER"
]
}
},
{
"type": "null"
}
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Comunidad
Evidencia