Skip to main content
Glama

PostgreSQL Read-Only MCP Server

by currentspace
eslint.config.mjs2 kB
import js from '@eslint/js' import typescript from '@typescript-eslint/eslint-plugin' import typescriptParser from '@typescript-eslint/parser' import prettier from 'eslint-plugin-prettier' import prettierConfig from 'eslint-config-prettier' export default [ { ignores: ['dist/**', 'node_modules/**', '*.js', '*.mjs', '*.cjs'], }, js.configs.recommended, { files: ['src/**/*.ts'], languageOptions: { parser: typescriptParser, ecmaVersion: 2023, sourceType: 'module', parserOptions: { project: './tsconfig.json', }, globals: { console: 'readonly', process: 'readonly', Buffer: 'readonly', __dirname: 'readonly', __filename: 'readonly', setTimeout: 'readonly', clearTimeout: 'readonly', setInterval: 'readonly', clearInterval: 'readonly', Promise: 'readonly', }, }, plugins: { '@typescript-eslint': typescript, prettier, }, rules: { ...typescript.configs['recommended'].rules, ...typescript.configs['recommended-requiring-type-checking'].rules, ...typescript.configs['strict'].rules, ...prettierConfig.rules, 'prettier/prettier': 'error', '@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/explicit-module-boundary-types': 'off', '@typescript-eslint/no-use-before-define': ['error', { functions: false }], '@typescript-eslint/consistent-type-imports': [ 'error', { prefer: 'type-imports' }, ], '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }], 'no-console': ['warn', { allow: ['warn', 'error'] }], }, }, ]

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/currentspace/pg_mcp_prod'

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