初始化提交
Some checks failed
CI / Check / macos-latest (push) Has been cancelled
CI / Check / ubuntu-latest (push) Has been cancelled
CI / Check / windows-latest (push) Has been cancelled
CI / Test / macos-latest (push) Has been cancelled
CI / Test / ubuntu-latest (push) Has been cancelled
CI / Test / windows-latest (push) Has been cancelled
CI / Clippy (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Security Audit (push) Has been cancelled
CI / Secrets Scan (push) Has been cancelled
CI / Install Script Smoke Test (push) Has been cancelled
Some checks failed
CI / Check / macos-latest (push) Has been cancelled
CI / Check / ubuntu-latest (push) Has been cancelled
CI / Check / windows-latest (push) Has been cancelled
CI / Test / macos-latest (push) Has been cancelled
CI / Test / ubuntu-latest (push) Has been cancelled
CI / Test / windows-latest (push) Has been cancelled
CI / Clippy (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Security Audit (push) Has been cancelled
CI / Secrets Scan (push) Has been cancelled
CI / Install Script Smoke Test (push) Has been cancelled
This commit is contained in:
28
crates/openfang-extensions/integrations/postgresql.toml
Normal file
28
crates/openfang-extensions/integrations/postgresql.toml
Normal file
@@ -0,0 +1,28 @@
|
||||
id = "postgresql"
|
||||
name = "PostgreSQL"
|
||||
description = "Query and manage PostgreSQL databases through the MCP server"
|
||||
category = "data"
|
||||
icon = "🐘"
|
||||
tags = ["database", "sql", "relational", "postgres", "queries"]
|
||||
|
||||
[transport]
|
||||
type = "stdio"
|
||||
command = "npx"
|
||||
args = ["@modelcontextprotocol/server-postgres"]
|
||||
|
||||
[[required_env]]
|
||||
name = "POSTGRES_CONNECTION_STRING"
|
||||
label = "PostgreSQL Connection String"
|
||||
help = "A full connection URI (e.g., postgresql://user:password@host:5432/dbname)"
|
||||
is_secret = true
|
||||
get_url = ""
|
||||
|
||||
[health_check]
|
||||
interval_secs = 60
|
||||
unhealthy_threshold = 3
|
||||
|
||||
setup_instructions = """
|
||||
1. Obtain your PostgreSQL connection string in the format: postgresql://user:password@host:5432/dbname.
|
||||
2. Ensure the database user has the necessary read/write permissions for the tables you want to access.
|
||||
3. Paste the full connection string into the POSTGRES_CONNECTION_STRING field above.
|
||||
"""
|
||||
Reference in New Issue
Block a user