{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_q9v64w6yegnq","handle":"mongo-agent-mcp","url":"https://wellknown.network/agents/mongo-agent-mcp","links":{"self":"https://wellknown.network/agents/mongo-agent-mcp/record.json","html":"https://wellknown.network/agents/mongo-agent-mcp","markdown":"https://wellknown.network/agents/mongo-agent-mcp/record.md","api":"https://wellknown.network/api/v1/agents/mongo-agent-mcp","status":"https://wellknown.network/api/v1/agents/mongo-agent-mcp/status","claim":"https://wellknown.network/agents/mongo-agent-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/mongo-agent-mcp/claim.json","badge":"https://wellknown.network/agents/mongo-agent-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/mongo-agent-mcp/history","tools":"https://wellknown.network/api/v1/agents/mongo-agent-mcp/tools"},"ard":{"identifier":"urn:air::server:mongo-agent-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"mongo_agent_mcp","summary":"A mongo mcp that can be used to automate the database query with llm","description":"# MongoDB MCP \n \nA MongoDB Model Context Protocol (MCP) Server that allows AI agents and MCP clients to interact with MongoDB databases through standardized tools. \n \n## Features \n \n* List all collections \n* Discover collection schemas \n* Fetch collection data \n* Query documents \n* Insert documents \n* Update documents \n* Delete documents \n* MongoDB Atlas support \n* Local MongoDB support \n* MCP stdio transport support \n \n--- \n \n# Installation \n \n## Using pip \n \n```bash \npip install mongo-mcp \n``` \n \n## Using uv \n \n```bash \nuv add mongo-mcp \n``` \n \n--- \n \n# Prerequisites \n \n* Python 3.10+ \n* MongoDB Local Instance or MongoDB Atlas Cluster \n \nExamples: \n \n```txt \nmongodb://localhost:27017 \n``` \n \nor \n \n```txt \nmongodb+srv://username:password@cluster.mongodb.net \n``` \n \n--- \n \n# Configuration \n \nMongoDB MCP uses environment variables to connect to your database. \n \nCreate a `.env` file: \n \n```env \nMONGODB_URI=mongodb://localhost:27017 \nDATABASE_NAME=shipbihar \n``` \n \n## Environment Variables \n \n| Variable      | Description               | Required | \n| ------------- | ------------------------- | -------- | \n| MONGODB_URI   | MongoDB connection string | Yes      | \n| DATABASE_NAME | Database name             | Yes      | \n \n--- \n \n# Running the MCP Server \n \n```bash \nmongo_mcp \n``` \n \nor \n \n```bash \npython -m mongo_mcp.main \n``` \n \nThe MCP server will start using stdio transport. \n \n--- \n \n# MCP Client Configuration \n \nExample MCP configuration: \n \n```json \n{ \n  \"mcpServers\": { \n    \"mongodb\": { \n      \"command\": \"mongo_mcp\", \n      \"env\": { \n        \"MONGODB_URI\": \"mongodb://localhost:27017\", \n        \"DATABASE_NAME\": \"shipbihar\" \n      } \n    } \n  } \n} \n``` \n \n--- \n \n# Available Tools \n \n## all_collections \n \nReturns all collections in the configured database. \n \nExample Output: \n \n```json \n[ \n  \"users\", \n  \"orders\", \n  \"shipments\" \n] \n``` \n \n--- \n \n## fetch_collection_schema \n \nReturns an inferred schema from a sample document. \n \nExample: \n \n```json \n{ \n  \"_id\": \"O…","publisher":null,"homepage":null,"repository":null,"version":"0.1.0","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:mongo_agent_mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","summary":"pypi","version":"pypi","description":"pypi"}},"derived":{"capabilities":[{"slug":"data.database","name":"Databases","confidence":1,"provenance":"derived"}],"categories":["data"],"language":"fr"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"mongo_agent_mcp","registry":"pypi","observedAt":"2026-09-10T06:25:22.655Z","publishedAt":"2026-06-19T15:57:37.013939Z","latestVersion":"0.1.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"mongo_agent_mcp","url":"https://pypi.org/project/mongo_agent_mcp/","firstSeenAt":"2026-09-10T06:23:42.663Z","fetchedAt":"2026-09-10T06:23:42.663Z","normalizedAt":"2026-09-10T06:23:42.663Z"}]},"firstSeenAt":"2026-09-10T06:23:42.663Z","updatedAt":"2026-09-10T06:25:22.655Z"}