Back to Home
janjic-portside icon

pervasive-sql-mcp

Verified Safe

by janjic-portside

Overview

Provides a Model Context Protocol (MCP) server for interacting with Pervasive SQL databases via ODBC.

Installation

Run Command
npx tsx src/index.ts

Environment Variables

  • PERVASIVE_DSN

Security Notes

The server runs locally and communicates via stdio, limiting network exposure. Connection credentials can be passed via environment variables or per-tool call, which is standard for local tools. The `query` and `execute_batch` tools allow arbitrary SQL execution, which is a powerful feature and correctly flagged in the README as potentially dangerous if misused (e.g., DELETE/DROP statements). However, SQL queries using parameters are handled securely by `conn.query(sql, params)` preventing SQL injection for parameterized queries. No direct `eval` or intentional obfuscation was found in the provided source code.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens1000
Stars0
Forks0
Last Update2025-12-10

Tags

Pervasive SQLODBCDatabaseSQLMCP Server