Salta l'installazione. Attivo in meno di 2 minuti.
Avvia una prova gratuita su cloud.anythingmcp.com, aggiungi MongoDB con un clic, poi punta il tuo client AI (Claude, ChatGPT, Copilot o Cursor) all'endpoint MCP generato. Niente Docker, niente git clone, nessuna esperienza di sviluppo richiesta.
In breve
Interroga direttamente un database MongoDB: analizza raccolte e la struttura dei loro campi, ed esegui query find in sola lettura con filtro, proiezione, ordinamento e limite. Installazione in sola lettura; le credenziali sono conservate crittografate anziché nella stringa di connessione.
Prova a chiedere
Prompt di esempio per MongoDB
Clicca su un prompt per copiarlo. Incollalo in Claude, ChatGPT, Cursor, Gemini, Copilot o OpenClaw per eseguirlo contro questo connettore.
Claude è un'AI e può sbagliare. Verifica sempre le risposte.
💡 Niente installazione? Vai direttamente su cloud.anythingmcp.com. Accedi, clicca Connectors → MongoDB, inserisci le credenziali, genera una MCP API key — fatto. Niente Docker, niente
git clone, niente server locale.
MongoDB + ChatGPT
Interroga direttamente un database MongoDB: analizza raccolte e la struttura dei loro campi, ed esegui query find in sola lettura con filtro, proiezione, ordinamento e limite. Installazione in sola lettura; le credenziali sono conservate crittografate anziché nella stringa di connessione.
Prerequisiti
Le istruzioni di setup complete sono incluse nel connettore stesso (visibili nello store quando lo selezioni). Le variabili d'ambiente richieste sono:
MONGODB_HOST, MONGODB_PORT, MONGODB_DATABASE, MONGODB_USER, MONGODB_PASSWORD, MONGODB_AUTH_SOURCE
Step 1 — Ottieni le credenziali
Setup
- Create a user with only
readon the database the agent should see:use admin db.createUser({ user: "amcp_reader", pwd: "change-me", roles: [{ role: "read", db: "shop" }] }) - Set
MONGODB_HOST,MONGODB_PORT(27017),MONGODB_DATABASE,MONGODB_USERandMONGODB_PASSWORD.
MONGODB_AUTH_SOURCE is the field that decides whether this works at all. MongoDB authenticates a user against the database the user was created in, not the one you want to read. A root or admin account created the usual way lives in admin, so MONGODB_AUTH_SOURCE must be admin even though MONGODB_DATABASE is shop. …
Step 2 — Installa l'adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Aggiungi il connettore in ChatGPT
L'URL del tuo server: in AnythingMCP apri MCP Servers → il server su cui si trova questo connettore e copia il suo URL (
https://cloud.anythingmcp.com/mcp/…). Usalo ovunque questa guida mostraYOUR_SERVER_ID.
ChatGPT aggiunge i server MCP come plugin dalla pagina Plugins, sul web e nei piani a pagamento. La modalità sviluppatore non serve più. In un workspace Business possono farlo solo admin e owner; in Enterprise ed Edu un amministratore può concedere il permesso Create plugins with MCPs.
- Vai su chatgpt.com/plugins, clicca Add e poi Add custom MCP server.
- Inserisci un nome, ad esempio Name:
MongoDB. - In Connection inserisci come Server URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDe lascia Authentication su OAuth. - Seleziona I understand and want to continue, poi Create as a plugin. Quando ChatGPT lo chiede, accedi ad AnythingMCP e consenti l'accesso.
- Installa il nuovo plugin dai tuoi plugin personali, poi digita @ in una chat e selezionalo.
Tool disponibili
| Tool | What it does |
|---|---|
mongodb_schema | Introspect the database: every collection, its estimated document count and the field names and types inferred from a sampled document |
mongodb_find | Run a read-only find |
mongodb_find_recent | Read the most recent documents of one collection, newest first by a timestamp field |
mongodb_matching | Return the documents of one collection matching a filter, projecting only their ids, so a population can be sized without transferring it |
mongodb_query_examples | Show worked MongoDB query specs for this connector: filters, operators, projection, sort and the limits that apply |
FAQ
Il piano free di ChatGPT funziona con i server MCP personalizzati? OpenAI documenta i server MCP personalizzati solo per i piani a pagamento; il piano Free non è nell'elenco.
Prossimi passi
- Landing del connettore
- Collegare a Claude
- Collegare a Cursor
- Collegare a Gemini
- Collegare a Meta Muse
- Collegare a Microsoft Copilot
Questa guida ti è stata utile?