Baseten MCP by usefulapi
Read models, deployments, logs, metrics and training jobs in Baseten.
사용해야 할까요
품질 및 안전성
발견 사항 (3)
- LOWbaseten_list_instance_type_prices에서
- LOWbaseten_list_deployment_replicas에서
- LOWbaseten_list_model_environments에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"baseten": {
"url": "https://baseten.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://baseten.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (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.
입력 스키마
{
"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}.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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}.
입력 스키마
{
"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.
입력 스키마
{
"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}.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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}.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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}.
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"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"
}커뮤니티
증거