mongo-ts-mcp

dapapkung/mongo-ts-mcp

3.2

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

A Model Context Protocol (MCP) server for MongoDB operations, built with TypeScript.

Tools

Functions exposed to the LLM to take actions

list_collections

List all collections in a database

query_collection

Query documents with filters and sorting

aggregate

Run MongoDB aggregation pipelines

count_documents

Count documents matching a filter

get_schema

Infer schema from collection samples

sample_data

Get random sample documents

distinct_values

Get distinct values for a field

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources