Skip to main content
Glama
yunosuke-github

secure-mcp-database-crud

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SQLITE_PATHNoPath to SQLite database filedata/tasks.db
MYSQL_POOL_SIZENoNumber of connections in each MySQL connection pool5
DATABASE_BACKENDNoDatabase backend: sqlite or mysqlsqlite
DB_TIMEOUT_SECONDSNoDatabase connection and lock timeout in seconds5
CONFIRMATION_SIGNING_KEYYesHMAC signing key for deletion tokens (32+ characters)
CONFIRMATION_TTL_SECONDSNoTime-to-live for deletion confirmation in seconds120

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_tasksB

List tasks with bounded pagination and allowlisted sorting.

get_taskA

Get one task by its positive integer ID.

prepare_delete_taskA

Return the exact delete target and a short-lived confirmation token.

create_taskA

Create one validated task and its audit event atomically.

update_taskA

Update only allowlisted task fields, optionally checking the observed version.

confirm_delete_taskA

Delete the confirmed task after validating its signed, single-use token.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yunosuke-github/secure-mcp-database-crud'

If you have feedback or need assistance with the MCP directory API, please join our Discord server