mcp-mongodb-server

officeWorkPlace/mcp-mongodb-server

3.1

If you are the rightful owner of mcp-mongodb-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The MCP MongoDB Server is a Java-based server scaffold designed to integrate MongoDB with the Model Context Protocol (MCP).

mcp-mongodb-server

Java + Maven scaffold for a MongoDB MCP server.

Prerequisites

  • Java 17+
  • Maven 3.9+

Build

mvn -q clean package

Run

java -jar target/mcp-mongodb-server-0.1.0-SNAPSHOT.jar

Test

mvn -q test

Next steps

  • Wire up MongoDB driver and MCP protocol handling.
  • Add configuration (connection string, DB name) via env vars or CLI flags.
  • Implement MCP tools/resources for MongoDB operations.