Skip to main content
Glama
vishnuweb-a

MongoDB MCP

by vishnuweb-a

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MONGODB_URIYesMongoDB connection string
DATABASE_NAMEYesDatabase name

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
all_collectionsA

Returns all collections in the database.

fetch_collection_schemaB

Returns inferred schema from a sample document.

fetch_collection_dataC

Fetch documents from a collection.

find_documentC

Find a single document.

count_documentsC

Count matching documents.

insert_documentC

Insert a document.

update_documentC

Update matching document.

delete_documentC

Delete matching document.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vishnuweb-a/mongo_agent_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server