mcp-mongodb
A Model Context Protocol server that provides read access to MongoDB databases. This server enables LLMs to interact with MongoDB collections and execute reqd queries.
GitHubスター
0
ユーザー評価
未評価
お気に入り
0
閲覧数
11
フォーク
0
イシュー
0
MongoDB
A Model Context Protocol server that provides read access to MongoDB databases. This server enables LLMs to interact with MongoDB collections and execute read queries.
Components
Tools
find
- Query documents in a MongoDB collection
- Input:
collection
(string): The collection namequery
(object): MongoDB query objectoptions
(object, optional): Query options like limit, sort, projection
findOne
- Find a single document in a collection
- Input:
collection
(string): The collection namequery
(object): MongoDB query objectoptions
(object, optional): Query options
aggregate
- Execute an aggregation pipeline
- Input:
collection
(string): The collection namepipeline
(array): Array of aggregation stages
listCollections
- List all collections in the database
- Input: None
getCollectionInfo
- Get information about a specific collection
- Input:
collection
(string): The collection name
Usage with custom client
I have added a custom client. I'll add claud desktop integration example later.
pnpm install
pnpm run build
pnpm run dev
Replace mydb
with your database name.
0
フォロワー
0
リポジトリ
0
Gist
0
貢献数
🤯 Lobe Chat - an open-source, modern design AI chat framework. Supports multiple AI providers (OpenAI / Claude 4 / Gemini / DeepSeek / Ollama / Qwen), Knowledge Base (file upload / RAG ), one click install MCP Marketplace and Artifacts / Thinking. One-click FREE deployment of your private AI Agent application.