Skip to main content
Glama

PostgreSQL API SSH MCP Server

by iMAGRAY
MIT License

mcp_psql_manager

Manage PostgreSQL databases securely with setup, queries, and data operations. Features AES-256 encryption, SQL injection protection, and input validation for safe database interactions.

Instructions

🐘 PostgreSQL Manager - безопасные операции с базой данных: setup_profile, list_profiles, quick_query, show_tables, describe_table, sample_data, insert_data, update_data, delete_data, database_info. Шифрование AES-256-CBC, защита от SQL injection, валидация входных данных.

Input Schema

NameRequiredDescriptionDefault
actionYesДействие PostgreSQL
dataNoДанные для insert/update
databaseNoИмя базы данных
hostNoХост PostgreSQL
limitNoЛимит записей
passwordNoПароль PostgreSQL
portNoПорт PostgreSQL
profile_nameNoИмя профиля подключения (по умолчанию 'default')
sqlNoSQL запрос
table_nameNoИмя таблицы
usernameNoИмя пользователя PostgreSQL
whereNoWHERE условие

Input Schema (JSON Schema)

{ "properties": { "action": { "description": "Действие PostgreSQL", "enum": [ "setup_profile", "list_profiles", "quick_query", "show_tables", "describe_table", "sample_data", "insert_data", "update_data", "delete_data", "database_info" ], "type": "string" }, "data": { "description": "Данные для insert/update", "type": "object" }, "database": { "description": "Имя базы данных", "type": "string" }, "host": { "description": "Хост PostgreSQL", "type": "string" }, "limit": { "description": "Лимит записей", "type": "integer" }, "password": { "description": "Пароль PostgreSQL", "type": "string" }, "port": { "description": "Порт PostgreSQL", "type": "integer" }, "profile_name": { "description": "Имя профиля подключения (по умолчанию 'default')", "type": "string" }, "sql": { "description": "SQL запрос", "type": "string" }, "table_name": { "description": "Имя таблицы", "type": "string" }, "username": { "description": "Имя пользователя PostgreSQL", "type": "string" }, "where": { "description": "WHERE условие", "type": "string" } }, "required": [ "action" ], "type": "object" }
Install Server

Other Tools from PostgreSQL API SSH MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/iMAGRAY/PSQL_SSH_API_MCP'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server