MCP cover image
See in Github
2025-04-14

Un MCP SQL universal (protocolo de contexto modelo).

0

Github Watches

0

Github Forks

0

Github Stars

usqlmcp

A universal SQL MCP (Model Context Protocol).

Features

  • Tools

    • read_query: Execute a SELECT query and return the results.
    • write_query: Execute an INSERT, UPDATE, DELETE, or ALTER query and return the number of affected rows.
    • create_table: Execute a CREATE TABLE query to define new tables in the database.
    • list_tables: Retrieve a list of all table names in the database.
    • describe_table: Retrieve schema information for a specific table.
  • Resources

    • schema://all: Get schema information for all tables
    • schema://{table}: Get schema information for a specific table

Installing

usqlmcp is available via Release

Installing via Release

  1. Download a release for your platform
  2. Extract the usqlmcp or usqlcmp.exe file from the .tar.bz2 or .zip file
  3. Move the extracted executable to somewhere on your $PATH (Linux/macOS) or %PATH% (Windows)

Setup

MCP Integration in Cursor

Add the following configuration to your ~/.cursor/mcp.json file or configure via the settings menu in Cursor.

{
    "mcpServers": {
        "usqlmcp": {
            "command": "usqlmcp",
            "args": ["--dsn", "sqlite3:///your/db/dsn/file.db"]
        }
    }
}

Other tools

{
    "servers": {
        "usqlmcp": {
            "type": "stdio",
            "command": "usqlmcp",
            "args": ["--dsn", "sqlite3:///your/db/dsn/file.db"]
        }
    }
}

Acknowledgments

This project depends on usql, a universal command-line interface for SQL databases.

相关推荐

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.

  • av
  • Ejecute sin esfuerzo LLM Backends, API, frontends y servicios con un solo comando.

  • 1Panel-dev
  • 🔥 1Panel proporciona una interfaz web intuitiva y un servidor MCP para administrar sitios web, archivos, contenedores, bases de datos y LLM en un servidor de Linux.

  • langgenius
  • alibaba
  • rulego
  • ⛓️Rulego es un marco de motor de regla de orquestación de componentes de alta generación de alto rendimiento, de alto rendimiento y de alto rendimiento para GO.

  • hkr04
  • SDK liviano C ++ MCP (Protocolo de contexto del modelo)

  • nbonamy
  • WITSY: Asistente de escritorio AI

  • sigoden
  • Cree fácilmente herramientas y agentes de LLM utilizando funciones Plain Bash/JavaScript/Python.

  • evilsocket
  • El kit de desarrollo de agentes simples.

  • mem0ai
  • RockChinQ
  • 😎简单易用、🧩丰富生态 - 大模型原生即时通信机器人平台 | 适配 Qq / 微信(企业微信、个人微信) / 飞书 / 钉钉 / Discord / Telegram / Slack 等平台 | 支持 Chatgpt 、 Deepseek 、 DiFy 、 Claude 、 Gemini 、 Xai 、 PPIO 、 Ollama 、 LM Studio 、阿里云百炼、火山方舟、 Siliconflow 、 Qwen 、 Moonshot 、 Chatglm 、 SillyTraven 、 MCP 等 LLM 的机器人 / Agente | Plataforma de bots de mensajería instantánea basada en LLM, admite Discord, Telegram, WeChat, Lark, Dingtalk, QQ, Slack

    Reviews

    5 (0)