MCP Servers With a Read-Only Mode: GitHub, Supabase, MongoDB, Postgres, DuckDB, Google Workspace and Microsoft 365 (November 2026)

Glasp AI Tools

Glasp AI Tools

Nov 21, 2026

4 min read

Several widely used MCP servers can be started in a read-only mode, and each one switches it on differently: GitHub's server takes a --read-only flag, Supabase's hosted server takes read_only=true in its address, MongoDB's takes --readOnly, Postgres MCP Pro uses --access-mode=restricted, MotherDuck's DuckDB server is read-only unless --read-write is passed, and the community Google Workspace and Microsoft 365 servers both have a --read-only flag. The options below are as their READMEs describe them in November 2026; none was exercised for this page. A read-only flag stops the server from changing data, but it does not stop a model from repeating or leaking what it reads.


Code and developer platforms

  • GitHub MCP Server: GitHub's official server for repositories, issues and pull requests. With --read-only, "write tools are skipped", even when they are requested by name through --tools. Toolsets can be narrowed with --toolsets or the GITHUB_TOOLSETS environment variable; the default set is context, repos, issues, pull_requests and users. (GitHub MCP Server on GitHub)

  • Supabase MCP: Supabase's hosted server. Adding read_only=true to the server address turns on read-only mode, project_ref=<project-ref> scopes it to one project and drops account-level tools, and features= limits it to chosen tool groups such as database and docs. The README asks readers to read Supabase's security guidance before connecting. (Supabase MCP on GitHub)


Databases

  • MongoDB MCP Server: from MongoDB's GitHub organization, for MongoDB databases and Atlas. --readOnly (or MDB_MCP_READ_ONLY=true) "only allows read, connect, and metadata operation types", and tools that create, update or delete are not registered at all. --disabledTools can also switch off tools by name, operation type or category. (MongoDB MCP Server on GitHub)

  • Postgres MCP Pro: created and maintained by Crystal DBA. --access-mode=restricted limits it to read-only transactions with an execution time limit, and the README suggests that mode for production; --access-mode=unrestricted allows full read and write and is suggested for development. (Postgres MCP Pro on GitHub)

  • MotherDuck MCP server: from MotherDuck, for local DuckDB files and MotherDuck. Read-only is the default, and --read-write "Enable[s] write access". Other limits include --max-rows, --max-chars and --query-timeout, and switching databases at runtime stays off unless --allow-switch-databases is given. The README warns that "read-only mode alone is not sufficient" for third-party access, because local file access and settings changes are still possible. (MotherDuck MCP server on GitHub)


Email, calendar and office suites

  • Google Workspace MCP: a community project that says it "is not affiliated with, endorsed by, or sponsored by Google LLC", covering Gmail, Drive, Calendar, Docs, Sheets, Slides, Forms, Tasks, Contacts, Chat, Custom Search and Apps Script. It has a --read-only flag, per-service --permissions and three tool tiers (core, extended, complete). The README names the read-only flag but sends readers to its server modes documentation for what it blocks. (Google Workspace MCP on GitHub)

  • ms-365-mcp-server: a community project by Softeria, not described as made by Microsoft, for Microsoft 365 areas including email, calendar, OneDrive, Excel, OneNote, Planner, Contacts, Teams and SharePoint. --read-only (or READ_ONLY=true) disables write operations. The README notes that setting READ_ONLY in a .env file has no effect: it must be set in the shell or the MCP client configuration. (ms-365-mcp-server on GitHub)


What read-only does and does not cover

On these servers read-only is a server setting: it removes or skips the tools that write. It does not limit what the model does with what it reads, and MotherDuck's README is explicit that its read-only mode still leaves local file access open. Narrowing what a server can see (one project, a few toolsets, one database) is a separate control that several of these servers offer next to read-only mode.


FAQ

Does a read-only flag make a server safe to connect?

It stops write tools on that server, as each README describes. It does not stop data the server reads from reaching the model and anything else connected to it.

Which of these servers are made by the vendor of the service?

GitHub, Supabase, MongoDB and MotherDuck servers sit in those companies' GitHub organizations. Postgres MCP Pro is from Crystal DBA, not from the PostgreSQL project. The Google Workspace and Microsoft 365 servers are community projects.

Can read-only be set on a hosted server without a command-line flag?

Supabase's hosted server takes read_only=true as part of its address. The GitHub README read for this page names the --read-only flag; a header or address option for its hosted server was not on the part of the page read.

Compiled by Glasp from public pages read on November 21, 2026. Nothing listed here was installed, connected or run; options are as each README described them on that day, and flags change between versions.

Comments

Add a comment