MCP Servers
by mericozkayagan
This repository provides Model Context Protocol (MCP) server setups for Cursor AI, enabling integration with external tools and databases. It includes servers for PostgreSQL, Obsidian, and n8n.
Last updated: N/A
What is MCP Servers?
This repository contains MCP server implementations designed to extend Cursor AI's capabilities by connecting it to external resources like PostgreSQL databases, Obsidian vaults, and n8n workflow automation platforms. These servers act as intermediaries, allowing Cursor AI to interact with these systems using a standardized protocol.
How to use MCP Servers?
To use these servers, you need to set up the required prerequisites (Node.js, Python, etc.), install the server-specific dependencies, configure the server with the appropriate credentials and API keys, and then configure Cursor AI to connect to the server by editing the mcp.json
file. Detailed setup instructions are provided for each server.
Key features of MCP Servers
Database analysis and management (PostgreSQL)
Note searching, reading, and writing (Obsidian)
Workflow management and execution (n8n)
Standardized communication via MCP SDK
Integration with Cursor AI
Use cases of MCP Servers
Analyzing PostgreSQL database performance and schema
Searching and modifying notes in an Obsidian vault
Automating tasks using n8n workflows directly from Cursor AI
Debugging database issues using AI assistance
Generating new content for Obsidian notes using AI
FAQ from MCP Servers
What is the Model Context Protocol (MCP)?
What is the Model Context Protocol (MCP)?
MCP is a standardized protocol that allows AI tools like Cursor AI to interact with external tools and databases.
What are the prerequisites for setting up these servers?
What are the prerequisites for setting up these servers?
You need Node.js 18+, Python 3.11+, and the specific requirements for each server (e.g., Obsidian with Local REST API plugin, PostgreSQL database, n8n instance with API access).
How do I configure Cursor AI to use these servers?
How do I configure Cursor AI to use these servers?
You need to edit the ~/.cursor/mcp.json
file and add the server configurations with the correct command, arguments, and environment variables.
Where can I find the logs for these servers?
Where can I find the logs for these servers?
The logs are located in ~/Library/Logs/Cursor/
with specific filenames for each server (e.g., mcp-server-postgresql-mcp.log
).
What are the security considerations when using these servers?
What are the security considerations when using these servers?
Be mindful of sensitive credentials in connection strings and API keys. Ensure you use environment variables where possible and review permissions carefully.