Baseten MCP by usefulapi

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

Should I use this

Quality & Safety

A
Description quality
96%
Schema completeness
80%
Naming quality
77%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (3)

  • LOWTool 'baseten_list_instance_type_prices' name length outside 3-30 rangein baseten_list_instance_type_prices
  • LOWTool 'baseten_list_deployment_replicas' name length outside 3-30 rangein baseten_list_deployment_replicas
  • LOWTool 'baseten_list_model_environments' name length outside 3-30 rangein baseten_list_model_environments

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~3,202Tokens (tool definitions)
~1.2 KBTypical response size
Significant attention impact (2.50% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "baseten": {
      "url": "https://baseten.usefulapi.io/mcp"
    }
  }
}

Remote endpoints

https://baseten.usefulapi.io/mcpstreamable-http

What it can do

Tool inventory

Tools (19)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢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.

Input Schema

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

Input Schema

{
  "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.

Input Schema

{
  "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.

Input Schema

{
  "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.

Input Schema

{
  "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.

Input Schema

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

Input Schema

{
  "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.

Input Schema

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

Input Schema

{
  "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.

Input Schema

{
  "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.

Input Schema

{
  "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.

Input Schema

{
  "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.

Input Schema

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

Input Schema

{
  "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.

Input Schema

{
  "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.

Input Schema

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

Input Schema

{
  "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.

Input Schema

{
  "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.

Input Schema

{
  "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"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded19 tools