This repository contains Model Context Protocol (MCP) server setups for Cursor AI, enabling integration with external tools and databases.
A full-featured Model Context Protocol (MCP) server that provides PostgreSQL database management capabilities. This server assists with analyzing existing PostgreSQL setups, providing implementation guidance, debugging database issues, managing schemas, migrating data, and monitoring database performance.
./postgresql-mcp/
analyze_database
: Analyze PostgreSQL configuration and performanceget_setup_instructions
: Get step-by-step PostgreSQL setup guidancedebug_database
: Debug common PostgreSQL issuesget_schema_info
: Retrieve database schema informationcreate_table
, alter_table
: Manage database tablesexport_table_data
, import_table_data
: Migrate data between formatscopy_between_databases
: Copy data between PostgreSQL instancesmonitor_database
: Real-time monitoring of PostgreSQL metricsA server that enables AI interaction with Obsidian.md notes and vaults through the Local REST API plugin. This allows you to search, read, and write content in your Obsidian vault directly from Cursor AI.
./obsidian-mcp/
list_files_in_vault
: List all files in your Obsidian vaultlist_files_in_dir
: List files in a specific directoryget_file_contents
: Get the content of a specific notesimple_search
: Search your vault for text matchescomplex_search
: Advanced search with pattern matchingpatch_content
: Insert content into existing notesappend_content
: Add content to new or existing notesbatch_get_file_contents
: Retrieve multiple files at onceshell
cd postgresql-mcp
shell
npm install
npm run build
build/index.js
shell
cd obsidian-mcp
shell
pip install -e .
.env
file or in the MCP configurationEdit your Cursor AI MCP configuration file at ~/.cursor/mcp.json
:
{
"mcpServers": {
"postgresql-mcp": {
"command": "node",
"args": ["/path/to/mcp-servers/postgresql-mcp/build/index.js"],
"env": {
"PG_DB_MAP": "{\"db1\":\"postgresql://username:password@hostname:5432/database_name?sslmode=require\",\"analytics\":\"postgresql://analytics_user:[email protected]:5432/analytics?sslmode=require\",\"default\":\"db1\"}"
}
},
"mcp-obsidian": {
"command": "/path/to/python/bin/mcp-obsidian",
"args": [],
"env": {
"OBSIDIAN_API_KEY": "your_api_key_here"
}
}
}
}
Replace paths, database connection details, and API key with your actual values. The PG_DB_MAP
environment variable lets you configure multiple database connections and reference them by name.
~/Library/Logs/Cursor/mcp-server-postgresql-mcp.log
~/Library/Logs/Cursor/mcp-server-mcp-obsidian.log
For PostgreSQL:
npx @modelcontextprotocol/inspector node /path/to/postgresql-mcp/build/index.js
For Obsidian:
npx @modelcontextprotocol/inspector /path/to/python/bin/mcp-obsidian
All in one place for my MCP servers
No releases published
No packages published