Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Turso Server

БесплатноНе проверен

Enables SQL queries, table listing, schema description, and data retrieval with pagination on Turso (libSQL) databases.

GitHubEmbed

Описание

Enables SQL queries, table listing, schema description, and data retrieval with pagination on Turso (libSQL) databases.

README

A Model Context Protocol (MCP) server for Turso (libSQL) database access.

Features

  • Execute SQL queries (SELECT, INSERT, UPDATE, DELETE)
  • List all tables in your database
  • Describe table schemas
  • Retrieve table data with pagination
  • Full parameterized query support

Installation

npm install -g @gamzadongza/turso-mcp-server

Configuration

Environment Variables

You need to set these environment variables:

  • TURSO_DATABASE_URL: Your Turso database URL (e.g., libsql://your-db.turso.io)
  • TURSO_AUTH_TOKEN: Your Turso authentication token

Getting Turso Credentials

  1. Install Turso CLI:
# Windows (PowerShell)
irm https://get.tur.so/install.ps1 | iex

# macOS/Linux
curl -sSfL https://get.tur.so/install.sh | bash
  1. Login and create database:
turso auth login
turso db create my-database
  1. Get your credentials:
# Get database URL
turso db show my-database --url

# Create auth token
turso db tokens create my-database

Usage with Claude Desktop

Add this to your Claude Desktop config:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "turso": {
      "command": "turso-mcp-server",
      "env": {
        "TURSO_DATABASE_URL": "libsql://your-db.turso.io",
        "TURSO_AUTH_TOKEN": "eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9..."
      }
    }
  }
}

Usage with Claude Mobile (Android/iOS)

  1. Go to Claude app settings
  2. Add MCP server from Smithery: @gamzadongza/turso-mcp-server
  3. Set environment variables:
    • TURSO_DATABASE_URL: Your database URL
    • TURSO_AUTH_TOKEN: Your auth token

Available Tools

execute_query

Execute any SQL query on your Turso database.

Parameters:

  • query (string, required): SQL query to execute
  • params (array, optional): Parameters for parameterized queries

Example:

SELECT * FROM users WHERE age > ?

list_tables

Get a list of all tables in your database.

Example: "Show me all tables in my database"

describe_table

Get detailed schema information about a specific table.

Parameters:

  • table_name (string, required): Name of the table

Example: "Describe the structure of the users table"

get_table_data

Retrieve data from a table with pagination support.

Parameters:

  • table_name (string, required): Name of the table
  • limit (number, optional): Max rows to return (default: 100, max: 1000)
  • offset (number, optional): Rows to skip (default: 0)

Example: "Get the first 50 rows from the posts table"

Development

# Clone and install dependencies
git clone https://github.com/gamzadongza/turso-mcp-server
cd turso-mcp-server
npm install

# Build
npm run build

# Run locally
export TURSO_DATABASE_URL="libsql://your-db.turso.io"
export TURSO_AUTH_TOKEN="your-token"
node dist/index.js

License

MIT

Links

from github.com/gamzadongza/turso-mcp-server

Установка Turso Server

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/gamzadongza/turso-mcp-server

FAQ

Turso Server MCP бесплатный?

Да, Turso Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Turso Server?

Нет, Turso Server работает без API-ключей и переменных окружения.

Turso Server — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Turso Server в Claude Desktop, Claude Code или Cursor?

Открой Turso Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

wenb1n-dev/SmartDB_MCP

A universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim

wenb1n-devавтор: wenb1n-dev

Postgres Server

This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools

madhurprashавтор: madhurprash

Postgres

Query your database in natural language

Anthropicавтор: Anthropic

PostgreSQL

Read-only database access with schema inspection.

modelcontextprotocolавтор: modelcontextprotocol

Redis

Interact with Redis key-value stores.

modelcontextprotocolавтор: modelcontextprotocol

SQLite

Database interaction and business intelligence capabilities.

modelcontextprotocolавтор: modelcontextprotocol

mxcp

Open-source framework for building enterprise-grade MCP servers using just YAML, SQL, and Python, with built-in auth, monitoring, ETL and policy enforcement.

raw-labsавтор: raw-labs

tadas-github/a2asearch-mcp

MCP server to search 4,800+ MCP servers, AI agents, CLI tools and agent skills. Install: npx -y a2asearch-mcp. Ask Claude: "Find MCP servers for database access

tadas-githubавтор: tadas-github

julien040/anyquery

Query more than 40 apps with one binary using SQL. It can also connect to your PostgreSQL, MySQL, or SQLite compatible database. Local-first and private by desi

julien040автор: julien040

drakonkat/wizzy-mcp-tmdb

A MCP server for The Movie Database API that enables AI assistants to search and retrieve movie, TV show, and person information.

drakonkatавтор: drakonkat

Compare Turso Server with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории data