導入と接続
第三者のコードです。実行前に内容を確認してください。HPSILab はこの手順を審査しましたが、このサーバーを運営していません。
クライアント別のインストール
claude mcp add mongodb-mcp-server -- npx -y mongodb-mcp-server
追加の引数や環境変数(キー、パスなど)が必要なサーバーもあります。下の公式ガイドをご確認ください。
この掲載のエンドポイントとパッケージから、各クライアントの公式ドキュメントの形式で HPSILab が生成しました。引数・キー・バージョンは公式ガイドに従ってください。
公式ガイド
# From the official README: https://github.com/mongodb-js/mongodb-mcp-server
# Guided setup
npx -y mongodb-mcp-server@latest setup
# Manual, read-only
{
"mcpServers": {
"MongoDB": {
"command": "npx",
"args": ["-y", "mongodb-mcp-server@latest", "--readOnly"],
"env": { "MDB_MCP_CONNECTION_STRING": "mongodb://localhost:27017/myDatabase" }
}
}
}リンク
「データ・データベース」の他の MCP サーバー
- Airtable MCP Server
Read and write Airtable bases, tables and records, and inspect their schemas, from an AI client.
- Confluent MCP Server
Manage Confluent Cloud Kafka topics, connectors and Flink SQL for streaming data in natural language.
- InfluxDB 3 MCP Server
Query and write time-series data in InfluxDB 3 — a fit for market ticks, metrics and sensor data.
- Couchbase MCP Server
Query and manage data in Couchbase clusters with SQL++ from an AI client.
- Neo4j MCP Servers
Neo4j's servers for running Cypher queries, inspecting graph schemas and storing agent memory in a graph.
- Upstash MCP Server
Manage Upstash Redis databases in natural language: create databases, run commands and inspect usage.