manage_function
InactiveTool of io.github.butterbase-ai/mcp
Manage function lifecycle: list, get source, delete, get logs, and update environment variables. Actions: - "list": List all deployed functions with status, metrics, and invocation URLs - "get": Retrieve a single function's full detail including its deployed source code - "delete": Delete a deployed function permanently (IRREVERSIBLE) - "get_logs": Retrieve recent invocation logs for debugging and monitoring - "update_env": Update environment variables for a deployed function without redeploying code - "update_settings": Toggle per-function settings (currently: allow_service_key_impersonation) Parameters by action: list: { app_id, action: "list" } get: { app_id, action: "get", function_name } delete: { app_id, action: "delete", function_name } get_logs: { app_id, action: "get_logs", function_name, limit?, since?, level?, include_deleted? } update_env: { app_id, action: "update_env", function_name, env } update_settings: { app_id, action: "update_settings", function_name, allow_service_key_impersonation? } Common errors: - RESOURCE_NOT_FOUND: Function doesn't exist - VALIDATION_INVALID_SCHEMA: Invalid parameter format Idempotency: Safe to call anytime (list is read-only; delete is idempotent; update_env is safe to call multiple times).
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"app_id",
"action"
],
"properties": {
"env": {
"type": "object",
"description": "Environment variables to set (string) or delete (null)",
"additionalProperties": {
"type": [
"string",
"null"
]
}
},
"level": {
"enum": [
"error",
"all"
],
"type": "string",
"description": "Filter by log level (default: all)"
},
"limit": {
"type": "number",
"description": "Maximum number of logs to return (default: 100)"
},
"since": {
"type": "string",
"description": "ISO timestamp to filter logs after this time"
},
"action": {
"enum": [
"list",
"get",
"delete",
"get_logs",
"update_env",
"update_settings"
],
"type": "string",
"description": "The action to perform"
},
"app_id": {
"type": "string",
"description": "The app ID"
},
"function_name": {
"type": "string",
"description": "The function name (required for get, delete, get_logs, update_env, update_settings)"
},
"include_deleted": {
"type": "boolean",
"description": "Include logs for soft-deleted functions (post-incident forensics). Default: false."
},
"allow_service_key_impersonation": {
"type": "boolean",
"description": "Per-function gate (Phase 2). When false, the platform 403s any call carrying X-Butterbase-As-User at the edge — use for admin-only or billing-webhook handlers that must never accept an as-user assertion."
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
io.github.butterbase-ai/mcp
https://github.com/butterbase-ai/butterbase-oss
1/7 registries