nbbaier/mcp-turso
MCP server for interacting with Turso-hosted LibSQL databases
Platform-specific configuration:
{
"mcpServers": {
"mcp-turso": {
"command": "npx",
"args": [
"-y",
"mcp-turso"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
A Model Context Protocol (MCP) server that provides access to the Turso-hosted LibSQL databases. Currently, the server provides the following functionality:
Add this to your claude_desktop_config.json:
{
"mcpServers": [
"turso": {
"command": "npx",
"args": ["-y", "mcp-turso"],
"env": {
"TURSO_DATABASE_URL": "your_url",
"TURSO_AUTH_TOKEN": "your_token"
}
}
]
}You will need an existing database to continue. If you don't have one, create one. To get the database URL via the Turso CLI, run:
turso db show --url <database-name>Then get the database authentication token:
turso db tokens create <database-name>Add those values to your configuration as shown above.
To configure the Turso MCP server with Cursor, add the following to your Cursor settings:
"mcpServers": {
"turso": {
"command": "npx",
"args": ["-y", "mcp-turso"],
"env": {
"TURSO_DATABASE_URL": "your_url",
"TURSO_AUTH_TOKEN": "your_token"
}
}
}Replace your_url and your_token with your Turso database URL and authentication token as described in the previous section.
The server includes a custom logger for debugging outside of Claude Desktop. By default, this logger writes to <parent-dir>/logs/mcp-turso.log, where <parent-dir> is the parent directory of directory containing the mcp-turso script. In other words, if the path to mcp-turso is ~/foo/bin/mcp-turso, the logs will be at ~/foo/logs/mcp-turso.log. If running with NPX as above, the default logs
Loading reviews...