Kiliczsh_MCP-Mongo-Merver
Espejo de https: //github.com/kiliczsh/mcp-mongo-server
0
Github Watches
1
Github Forks
0
Github Stars
MCP MongoDB Server
A Model Context Protocol server that provides access to MongoDB databases. This server enables LLMs to inspect collection schemas and execute read-only queries.
Demo
Features
Resources
- List and access collections via
mongodb://URIs - Each collection has a name, description and schema
- JSON mime type for schema access
Tools
-
query
- Execute read-only MongoDB queries against the connected database
- Input:
query(object): The MongoDB query to execute - All queries are executed with read-only permissions
-
aggregate
- Execute read-only MongoDB queries against the connected database
- Input:
aggregate(object): The MongoDB query to execute - All queries are executed with read-only permissions
Prompts
-
query- Provide insights about the collection's structure, data types, and basic statistics- Input:
collection(string): The name of the collection to analyze - Output:
text(string): A summary of the collection's structure, data types, and basic statistics
- Input:
-
aggregate- Provide insights about the collection's structure, data types, and basic statistics- Input:
collection(string): The name of the collection to analyze - Output:
text(string): A summary of the collection's structure, data types, and basic statistics
- Input:
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Installation for Development
Using Claude Desktop
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"mongodb": {
"command": "node",
"args": [
"~/mcp-mongo-server/build/index.js",
"mongodb://muhammed:kilic@mongodb.localhost/namespace"
]
},
}
}
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
Components
Resources
The server provides schema information for each collection in the database:
-
Collection Schemas (
mongodb://<host>/<collection>/schema)- JSON schema information for each collection
- Includes field names and data types
- Automatically inferred from collection documents
Usage with Claude Desktop
To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your claude_desktop_config.json:
{
"mcpServers": {
"mongodb": {
"command": "npx",
"args": [
"-y",
"mcp-mongo-server",
"mongodb://muhammed:kilic@mongodb.localhost/sample_namespace"
]
}
}
}
Installing via Smithery
To install MCP MongoDB Server for Claude Desktop automatically via Smithery:
npx @smithery/cli install mcp-mongo-server --client claude
Installing via mcp-get
You can install this package using mcp-get:
npx @michaellatman/mcp-get@latest install mcp-mongo-server
Replace /sample_namespace with your database name.
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
相关推荐
I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.
I find academic articles and books for research and literature reviews.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Converts Figma frames into front-end code for various mobile frameworks.
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.
La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.
Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.
Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx
🧑🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.
Una lista curada de servidores de protocolo de contexto del modelo (MCP)
Reviews
user_KFjQsL9i
As a loyal MCP Server Proxy user, I must say that this tool has significantly streamlined our server management processes. Amirilovic has done a superb job with this product, ensuring high performance and reliability. The user interface is intuitive, and the setup was incredibly straightforward. I highly recommend MCP Server Proxy for anyone looking to enhance their server management experience.
