MCP.so
ログイン

Focus MCP Sql

@FocusSearch

基本情報

カテゴリ

データベース

ライセンス

Apache-2.0

トランスポート

stdio

作者

FocusSearch

投稿者

王韬

Focus MCP Sql について

A NL2SQL plugin based on FocusSearch keyword parsing, offering greater accuracy, higher speed, and more reliability!

#nl2sql#sql-generator#focussearch

Focus MCP Sql の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

Focus MCP Sql のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Focus_mcp_sql?

Focus_mcp_sql is a Model Context Protocol (MCP) server that enables AI assistants to convert natural language into SQL statements. It employs a transparent two-step generation process (keywords first, then SQL) to reduce LLM hallucinations and build trust in the generated SQL results.

How to use Focus_mcp_sql?

Clone the repository, build the server with Gradle (requires JDK 23+ and Gradle 8.12+), then add the server to your MCP settings file with the java -jar command. After configuration, use the gptText2sqlStart tool to initialize the model with table schema (and a Datafocus bearer token), then use gptText2sqlChat to convert natural language queries into SQL.

Key features of Focus_mcp_sql

  • Transparent two-step generation: keywords then SQL
  • Low hallucination risk through keyword verification
  • Fast, deterministic keyword-to-SQL conversion
  • Low cost by reducing reliance on large models
  • Non-technical user friendly with easy keyword checking
  • Requires only a Datafocus bearer token for authentication

Use cases of Focus_mcp_sql

  • Non-technical users querying databases via natural language
  • Scenarios where SQL accuracy and transparency are critical
  • Reducing operational costs by minimizing LLM inference usage
  • Providing a verifiable SQL generation pipeline for business analysts

よくある質問

1

How does Focus_mcp_sql reduce hallucinations?

It uses a two-step approach: first generates keywords from the natural language query, then maps those keywords deterministically to SQL. This keyword verification step makes the process transparent and controllable, lowering hallucination risk.

2

What are the prerequisites for running Focus_mcp_sql?

You need JDK 23 or higher, Gradle 8.12 or higher, and a registered Datafocus account to obtain a bearer token for authentication.

3

Where does my data live during SQL generation?

The table schema and bearer token are sent to the server as parameters in the `gptText2sqlStart` tool. The actual database is not accessed directly; only the metadata provided by the user is used.

4

What transport does Focus_mcp_sql use?

The server communicates over stdio via the MCP protocol, as configured in the MCP settings file with a `java -jar` command.

5

What limits should I be aware of?

The server relies on the Datafocus API for token authentication and keyword generation. It is designed for structured table schemas and does not handle unstructured data or complex joins without explicit relation definitions.

コメント

「データベース」の他のコンテンツ