import { getDatabase } from "../index";
/**
* Initialize the Todos table
*/
export function initTodosTable() {
const db = getDatabase();
db.run(`
CREATE TABLE IF NOT EXISTS todos (
id INTEGER PRIMARY KEY AUTOINCREMENT,
content TEXT NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
)
`);
}
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/tkc/tinyt-todo-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server