References

Resource Tools

MCP tools for provisioning and managing databases on Ink

create_resource

Provision a new database. Returns connection credentials immediately.

ParameterTypeRequiredDefaultDescription
namestringyesResource name
typestringyesResource type. Values: sqlite
workspacestringnodefaultWorkspace slug
sizestringno100mbSize limit for the database
regionstringnoeu-centralRegion. Values: eu-central

Returns: resource_id, name, type, region, database_url (libsql://...), auth_token, status

Example

Tool Call
(
  : "app_db",
  : 
)

Your service connects using database_url and auth_token as environment variables.

list_resources

List all provisioned resources with their status.

ParameterTypeRequiredDefaultDescription
workspacestringnodefaultWorkspace slug

Returns: Array of resources with resource_id, name, type, region, status, created_at

get_resource

Get resource connection details including URL and auth token.

ParameterTypeRequiredDefaultDescription
namestringyesResource name
workspacestringnodefaultWorkspace slug

Returns: resource_id, name, type, region, database_url, auth_token, status, created_at, updated_at

delete_resource

Permanently delete a resource and all its data. This action is irreversible.

ParameterTypeRequiredDefaultDescription
namestringyesResource name
workspacestringnodefaultWorkspace slug

Returns: resource_id, name, message

On this page