MCP Servers
by cmiles74
This project provides a Docker container image that includes several MCP servers that might be useful to a variety of projects. It includes tools like Git repository access, PostgreSQL database server, Internet Search, and knowledge graph capabilities.
Last updated: N/A
What is MCP Servers?
MCP Servers is a Docker container image that bundles multiple MCP (Machine Comprehension Programming) servers. These servers provide functionalities like accessing a Git repository, interacting with a PostgreSQL database, performing internet searches, and managing a knowledge graph, all designed to enhance LLM-powered applications like Cursor.
How to use MCP Servers?
To use MCP Servers, pull the published Docker image and run it, mapping the necessary ports and volumes. Configure Cursor to use the exposed MCP servers by adding them to your Cursor settings file. The README provides a sample configuration. Alternatively, you can build the image locally using the provided build.sh
script and run it using the start-mcp-servers
script.
Key features of MCP Servers
Dockerized environment for easy deployment
Includes multiple MCP servers in a single container
Provides Git repository access with history
Offers PostgreSQL database server integration
Enables Internet Search capabilities
Supports knowledge graph management
Includes an inspector tool to view available tools
Provides a proxy for tools using standard IO
Offers sample Cursor rules for steering the LLM
Use cases of MCP Servers
Enhancing LLM-powered code editors like Cursor
Providing LLMs with access to Git repositories for code analysis and modification
Enabling LLMs to query and manipulate PostgreSQL databases
Allowing LLMs to perform internet searches for up-to-date information
Giving LLMs access to knowledge graphs for reasoning and inference
Automating development tasks using LLMs and MCP servers
Building intelligent agents that can interact with various data sources
FAQ from MCP Servers
How do I configure Cursor to use these servers?
How do I configure Cursor to use these servers?
You need to add the server configurations to Cursor's MCP settings file (a JSON blob). The README provides a sample configuration.
What ports do I need to map when running the Docker container?
What ports do I need to map when running the Docker container?
You need to map ports 6274, 6277, 9099, 9098, 9097, and 9096 to expose the MCP servers and the inspector tool.
How do I access the Git repository from within the container?
How do I access the Git repository from within the container?
The directory from which you start the container is mapped to /project
in the container. You may need to inform the LLM about this path.
How do I connect to my PostgreSQL database?
How do I connect to my PostgreSQL database?
Set the MCP_DATABASE_URI
environment variable with your database connection string. Ensure the hostname points to host.docker.internal
.
Where can I find sample Cursor rules?
Where can I find sample Cursor rules?
A sample rule set is available in the rules-example.md
file.