Enables environment variable configuration for development and production environments, supporting database connection parameters and application settings.
Enables version control and collaborative development workflow for the project codebase.
Hosts the project repository, allowing for project sharing, issue tracking, and collaboration.
Runs the server application on Node.js runtime (v14 or higher), providing the execution environment for the MCP server.
Manages package dependencies and provides scripts for development, building, and running the application.
Provides PostGIS database connection capabilities, allowing spatial data querying and manipulation through PostgreSQL with the PostGIS extension.
Implements server functionality with TypeScript, providing type safety and modern JavaScript features for robust application development.
Offers an alternative package manager for installing dependencies and running the application.
Provides schema validation for data structures, ensuring type safety and data integrity when processing database queries and responses.
PostGIS MCP Server
PostGIS MCP Server
This project is a server application that provides PostGIS database connection using Model Context Protocol (MCP).
🚀 Features
- Developed with TypeScript
- Model Context Protocol (MCP) integration
- PostGIS database support
- Configuration for development and production environments
- Hot-reload support
📋 Requirements
- Node.js (v14 or higher)
- PostgreSQL (with PostGIS extension)
- npm or yarn
🛠️ Installation
- Clone the project:
- Install dependencies:
- Create
.env
file:
🚀 Usage
Development Mode
Production Mode
🔧 MCP Configuration
You can use the following example configuration for MCP server:
📦 Dependencies
- @modelcontextprotocol/sdk: ^1.12.1
- dotenv: ^16.5.0
- pg: ^8.16.0
- zod: ^3.25.64
🤝 Contributing
- Fork this repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'feat: Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
📝 License
This project is licensed under the ISC License. See the LICENSE
file for more information.
📧 Contact
Project Owner - @receptopalak
Project Link: https://github.com/receptopalak/postgis-mcp
PostGIS MCP Server
Bu proje, Model Context Protocol (MCP) kullanarak PostGIS veritabanı bağlantısını sağlayan bir sunucu uygulamasıdır.
🚀 Özellikler
- TypeScript ile geliştirilmiş
- Model Context Protocol (MCP) entegrasyonu
- PostGIS veritabanı desteği
- Geliştirme ve üretim ortamları için yapılandırma
- Hot-reload desteği
📋 Gereksinimler
- Node.js (v14 veya üzeri)
- PostgreSQL (PostGIS eklentisi ile)
- npm veya yarn
🛠️ Kurulum
- Projeyi klonlayın:
- Bağımlılıkları yükleyin:
.env
dosyası oluşturun:
🚀 Kullanım
Geliştirme Modu
Üretim Modu
🔧 MCP Yapılandırması
MCP sunucu yapılandırması için aşağıdaki örnek yapılandırmayı kullanabilirsiniz:
📦 Bağımlılıklar
- @modelcontextprotocol/sdk: ^1.12.1
- dotenv: ^16.5.0
- pg: ^8.16.0
- zod: ^3.25.64
🤝 Katkıda Bulunma
- Bu depoyu fork edin
- Yeni bir özellik dalı oluşturun (
git checkout -b feature/amazing-feature
) - Değişikliklerinizi commit edin (
git commit -m 'feat: Add some amazing feature'
) - Dalınıza push edin (
git push origin feature/amazing-feature
) - Bir Pull Request oluşturun
📝 Lisans
Bu proje ISC lisansı altında lisanslanmıştır. Daha fazla bilgi için LICENSE
dosyasına bakın.
📧 İletişim
Proje Sahibi - @receptopalak
Proje Linki: https://github.com/receptopalak/postgis-mcp
You must be authenticated.
Tools
A server application that provides PostGIS database connection using Model Context Protocol (MCP), enabling spatial database functionality through natural language interactions.
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that enables powerful PostgreSQL database management capabilities including analysis, schema management, data migration, and monitoring through natural language interactions.Last updated -35546TypeScriptAGPL 3.0
- -securityFlicense-qualityA Model Context Protocol server that enables performing PostgreSQL database operations (create, read, update, delete) on User and Post entities through MCP tools.Last updated -TypeScript
- -securityFlicense-qualityA Model Context Protocol server that enables interaction with PostgreSQL databases to list tables, retrieve schemas, and execute read-only SQL queries.Last updated -16,948JavaScript
- -securityAlicense-qualityA Model Context Protocol server that enables interaction with PostgreSQL databases for analyzing setups, debugging issues, managing schemas, migrating data, and monitoring performance.Last updated -6TypeScriptMIT License