Baseten MCP by usefulapi

v1.1.0
io.usefulapi/baseten Checked 6 hours ago Published 8 days ago

Read models, deployments, logs, metrics and training jobs in Baseten.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

baseten_list_teams List teams

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.

ParameterTypeDescription
namestring | nullFilter by team name.

baseten_get_team Get team

Get one team by id: name, default flag and creation time. GET /v1/teams/{team_id}.

ParameterTypeDescription
team_id *stringTeam id, from baseten_list_teams.

baseten_list_regions List regions

List the cloud regions available to the organization, where deployments can run. GET /v1/regions.

baseten_list_instance_types List instance types

List the instance types that deployments can use, as the Baseten API reports them. GET /v1/instance_types.

baseten_list_instance_type_prices 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.

baseten_list_models List models

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.

ParameterTypeDescription
namestring | nullFilter by model name.
team_idLimit the list to this team.

baseten_get_model Get model

Get one model: name, team, instance type, deployment count and the production and development deployment ids. GET /v1/models/{model_id}.

ParameterTypeDescription
model_id *stringModel id, from baseten_list_models.

baseten_list_model_deployments List model deployments

List the deployments of one model, with status, region, environment, instance type and active replica count. GET /v1/models/{model_id}/deployments.

ParameterTypeDescription
model_id *stringModel id, from baseten_list_models.
namestring | nullFilter by deployment name.

baseten_get_model_deployment Get model deployment

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}.

ParameterTypeDescription
deployment_id *stringDeployment id from baseten_list_model_deployments, or the literal `development` or `production`.
model_id *stringModel id, from baseten_list_models.

baseten_get_deployment_logs Get deployment logs

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.

ParameterTypeDescription
deployment_id *stringDeployment id from baseten_list_model_deployments, or the literal `development` or `production`.
model_id *stringModel id, from baseten_list_models.
componentstring | nullOnly logs from this component.
directionSort order.
end_epoch_millisEnd time, Unix epoch milliseconds.
limitLines to return, 1 to 1000.
min_levelLowest log level to return.
replicastring | nullOnly logs from this replica id.
request_idstring | nullOnly logs for this request id.
search_patternstring | nullOnly log lines that contain this text.
start_epoch_millisStart time, Unix epoch milliseconds.

baseten_get_deployment_metrics Get deployment metrics

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.

ParameterTypeDescription
deployment_id *stringDeployment id from baseten_list_model_deployments, or the literal `development` or `production`.
model_id *stringModel id, from baseten_list_models.
end_epoch_millisEnd time, Unix epoch milliseconds.
metricsMetric names to include. Empty returns the API default set.
modeMetric view. Default CURRENT.
start_epoch_millisStart time, Unix epoch milliseconds.

baseten_list_deployment_replicas List deployment replicas

List the replicas of one deployment with their status (starting, active, unhealthy, terminated). GET /v1/models/{model_id}/deployments/{deployment_id}/replicas.

ParameterTypeDescription
deployment_id *stringDeployment id from baseten_list_model_deployments, or the literal `development` or `production`.
model_id *stringModel id, from baseten_list_models.
cursorstring | nullPagination cursor from a previous response.
limitMaximum results to return.
statusesOnly replicas in these statuses.

baseten_list_model_environments List model environments

List the environments of one model, with the deployment promoted to each. GET /v1/models/{model_id}/environments.

ParameterTypeDescription
model_id *stringModel id, from baseten_list_models.

baseten_get_model_environment Get model environment

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}.

ParameterTypeDescription
env_name *stringEnvironment name, from baseten_list_model_environments.
model_id *stringModel id, from baseten_list_models.

baseten_list_training_projects List training projects

List training projects in the workspace. GET /v1/training_projects.

ParameterTypeDescription
cursorstring | nullPagination cursor from a previous response.
limitMaximum results to return.
namestring | nullFilter by project name.

baseten_list_training_jobs List training jobs

List the training jobs of one training project. GET /v1/training_projects/{training_project_id}/jobs.

ParameterTypeDescription
training_project_id *stringTraining project id, from baseten_list_training_projects.
cursorstring | nullPagination cursor from a previous response.
limitMaximum results to return.

baseten_get_training_job Get training job

Get one training job with its training project. GET /v1/training_projects/{training_project_id}/jobs/{training_job_id}.

ParameterTypeDescription
training_job_id *stringTraining job id, from baseten_list_training_jobs.
training_project_id *stringTraining project id.

baseten_list_secrets List secrets

List the workspace secrets, metadata only (no plain text values). GET /v1/secrets.

baseten_list_audit_logs List audit logs

List workspace audit events, filtered by time, text or source (UI, API, MCP, SYSTEM, OTHER). GET /v1/audit_logs.

ParameterTypeDescription
cursorstring | nullPagination cursor from a previous response.
directionSort order.
end_epoch_millisEnd time, Unix epoch milliseconds.
limitEvents to return, 1 to 200.
searchstring | nullText to search in event details.
sourcesOnly events from these sources.
start_epoch_millisStart time, Unix epoch milliseconds.