Back to Home
Daulet151 icon

hj-mcp-server

Verified Safe

by Daulet151

Overview

AI-powered natural language SQL query generation and data analysis for the Hero's Journey data warehouse, integrated with Slack and Model Context Protocol (MCP) clients.

Installation

Run Command
cd deployment; docker-compose up -d

Environment Variables

  • OPENAI_API_KEY
  • SLACK_BOT_TOKEN
  • SLACK_SIGNING_SECRET
  • DB_HOST
  • DB_USER
  • DB_PASSWORD

Security Notes

The `execute_sql` MCP tool directly executes user-provided SQL after a basic `SELECT` prefix check, which is susceptible to SQL injection if the database user has broader permissions than strictly `SELECT`. The system logs all generated and executed SQL queries, which could inadvertently capture Personally Identifiable Information (PII) if sensitive data is used in user prompts that get reflected in the SQL. While the documentation recommends read-only database access and marks PII fields, enforcement relies on external configuration and careful usage. No evident use of `eval` or deliberate obfuscation.

Similar Servers

Stats

Interest Score0
Security Score6
Cost ClassHigh
Avg Tokens3000
Stars0
Forks0
Last Update2026-01-16

Tags

AISQLData AnalyticsSlackMCP