Skip to main content

简介

将用户的问题转化为SQL语句,然后执行SQL语句,返回结果。

使用

{
    "mcpServers": {
        "nltosql_agent": {
            "command": "uvx",
            "args": ["mcp-server-database"],
            "env": {
                "model": "模型名称",
                "api_key": "模型api_key",
                "base_url": "模型调用地址",
                "database": "数据库类型",
                "host": "数据库地址",
                "port": "数据库端口",
                "user": "数据库用户名",
                "password": "数据库密码",
                "dbname": "数据库名称"
            }
        }
    }
}

Metadata

Release files for mcp-server-database 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-server-database 0.1.4
File Size Uploaded Provenance
mcp_server_database-0.1.4.tar.gz 8.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-server-database 0.1.4
File Interpreter ABI Platform
mcp_server_database-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 19.8 kB

Release files / mcp_server_database-0.1.4.tar.gz

Download URL mcp_server_database-0.1.4.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
93780ea5b5538fd60871ea1d721be1eb05407610bff7bcfda699ee1b402f3131
BLAKE2b-256 checksum
How to use checksums
94cfece24a1d0855bf2d6a81b1fe1bfe788a3d92410f74cc400302f888dd6311
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.6

Release files / mcp_server_database-0.1.4-py3-none-any.whl

Download URL mcp_server_database-0.1.4-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9c1289a7425c68eb65fd792edb204fc485c87d7503c7e2193304f4b333163e3
BLAKE2b-256 checksum
How to use checksums
585a1d5e1edcb15b3f766ddaaf85764f0071cf5d61b2322fe8ee06e7d312b31a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.6

Security for mcp-server-database 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page