# Turso — MCP server on mcp.ai > Connect your Turso account and use 3 tools for databases straight from your AI agent. Connect with your own API key. Turso is a fully managed database platform built on libSQL, offering serverless SQLite databases with global replication and low-latency access. By: mcp.ai · official Page: https://mcp.ai/turso ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_turso?ms=1787293560000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/turso/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/turso/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/turso/skill.md Postman collection (v2.1): https://mcp.ai/turso/postman.json ## Tools - turso_closest_region() — Tool to get the closest Turso region based on client location. Use when you need to minimize latency by selecting the nearest deployment region. - turso_listen_to_changes(table: string, action: string, database_url: string, database_token?: string) — Listen to committed table changes in a Turso database via the /beta/listen endpoint. This tool streams real-time insert/update/delete events for a specific table. IMPORTANT: Requires a database-specif - turso_validate_api_token(mode?: string, health_sql?: string) — Validates a Turso API token and retrieves its expiration time. Use this action to verify that an API token is valid and check when it expires. Returns the token's expiration timestamp, or -1 if the to ## Example prompts - "What can I do in Turso?" - "Show me a summary of my Turso account" ## Links Docs: https://mcp.ai/docs/mcps/turso Website: https://mcp.ai/mcps/turso