Obsidian MCP security: what the server can read and change

Obsidian MCP servers run through the community Local REST API plugin and authenticate with one API key, so the sources document no per-tool, read-only or audit controls. This page sets out what a connected client can read, write and delete, and what must be configured or built around it.

On this page

Can an Obsidian MCP server meet our access control requirement?

The requirement is only partly met. The supplied sources describe one API key gate on the Local REST API plugin and no per-tool permissions, read-only mode or audit log, so a head of IT or security cannot approve staff access against a fine-grained control set. There is no vendor-run Obsidian MCP server, no paid edition to buy and no admin console, so the access decision sits with whoever installs the plugin and the server on each machine.

The realistic options are the Local REST API plugin itself, which exposes an MCP endpoint at ` and the community servers that wrap it: MarkusPfundstein/mcp-obsidian and cyanheads/obsidian-mcp-server. The plugin is licensed under MIT and the cyanheads server under Apache-2.0, so license review is straightforward, but licensing is not a security control. Nothing supplied describes SSO, central enterprise administration, role-based access or plan tiers for any of these, so confirm with each project's maintainers whether such features exist before assuming them. The Local REST API README is the primary reference for what the plugin documents.

Before approval, the organization needs to build or decide several things: a written owner for each vault, a procedure for issuing and rotating the API key that the client holds in an environment variable or header, a decision on whether the plain HTTP endpoint stays disabled, and a restriction on destructive tools such as the delete_file tool in mcp-obsidian. Because Obsidian cannot reliably restrict plugins to specific permissions, the team should also decide whether the approved vault is a dedicated copy with no sensitive notes, and document that any logging or read-only enforcement must come from a separate layer the organization controls.

Which read, write and delete capabilities exist, and where they come from

This table lists the read, write, delete and access controls that an Obsidian MCP setup can expose, and says whether each comes from Obsidian itself, the Local REST API plugin or a community server. Read the status column as the question a reviewer should ask before approving a connection. No edition or plan tier is supplied for Obsidian or the plugin, so the controls below apply to any installation, and the main takeaway is that several controls a reviewer would expect are not documented in the supplied sources.

CapabilityWhere it comes fromStatus for enterprise review
Reading file contents and listing filesCommunity server (mcp-obsidian), through the Local REST API pluginDocumented. Any connected client that can call the tool can read the notes it returns.
Searching the vaultCommunity server (mcp-obsidian), through the Local REST API pluginDocumented. Search results expose note content to the client, so scope the vault before connecting.
Querying tagsLocal REST API pluginDocumented in the plugin README. Confirm which tag data a client receives.
Reading and writing the active fileLocal REST API pluginDocumented in the plugin README. Writes change the note open in the app, so test on a copy of the vault first.
Patching and appending contentCommunity server (mcp-obsidian), through the Local REST API pluginDocumented as changing notes. Treat as a write capability requiring approval.
Deleting a file or directoryCommunity server (mcp-obsidian), through the Local REST API pluginDocumented as removing files from the vault. Any client that can call it can remove notes, so this is the highest-risk tool to review.
Executing any Obsidian commandLocal REST API pluginDocumented. Commands run as if from the command palette, which reaches beyond note content, so confirm which commands the plugin exposes.
API key authenticationLocal REST API pluginDocumented. Requests carry an Authorization Bearer header with the plugin's API key, which the connected client must hold.
Local HTTPS with a locally generated certificateLocal REST API pluginDocumented. Requests are served over HTTPS on the local machine, which limits exposure but does not restrict what an authorized key can do.
Optional plain HTTP endpointLocal REST API pluginOff until enabled under Settings, Local REST API, Enable HTTP server. Keep it off unless a reviewer has approved it.
Restricted modeObsidian itselfDefault on. Blocks third-party code execution and ignores installed plugins while on, so the REST API plugin will not serve requests in that state. Confirm the setting on each managed machine.
Per-tool or read-only permissionsNot documented in the supplied sourcesNot documented. Confirm with the server maintainer whether individual tools or a read-only mode can be turned off.
Audit logging of client actionsNot documented in the supplied sourcesNot documented. Ask the plugin and server maintainers what is logged, and plan for local vault history as an alternative record.

Which tools carry the most risk for a vault

An Obsidian MCP server exposes the vault through a small set of tools, and the risk depends on which of them the connected client can call. Read access exposes confidential notes, write tools change existing content, and the Local REST API can reach beyond notes into Obsidian itself.

Deleting files and folders

The mcp-obsidian server documents delete_file as deleting a file or directory from the vault. Any client that can call it can remove notes, and the server does not describe a recycle step or a confirmation prompt in its README. Before connecting a client, confirm whether the server you run exposes this tool at all, whether your vault is backed up outside Obsidian, and whether your sync or version history can restore deleted notes.

mcp-obsidian README

Patching and appending note content

The patch_content and append_content tools change notes that already exist, so the damage can be silent. A client can alter a meeting record, a policy draft or a client file without deleting anything, and the change may not be obvious during later review. Ask the team to confirm which notes are edited by agents, keep those notes in a separate folder or vault where possible, and check whether the change history in your sync tool captures agent edits.

Running Obsidian commands

The Local REST API README lists the ability to list and execute any Obsidian command as if it came from the command palette. That reaches beyond notes into the app itself, including commands provided by installed plugins. Because Obsidian cannot reliably restrict community plugins to specific permissions, a client with this capability inherits the app's own access. Check which Local REST API features are enabled, and review the installed plugin list before any agent connects.

Local REST API README

Writing the active file

The Local REST API lets a client read or write the file that is open in the Obsidian window. The target is not chosen by a folder path the team set in advance, so an agent may write to whichever note the user has focused. This makes accidental edits likely during normal work. Before rollout, confirm how the team uses the open note, agree that sensitive notes are closed during agent sessions, and test what the client writes when a note is active.

Reading and searching confidential notes

Read and search tools expose note contents to the connected client, and search returns matches across the whole vault unless the server limits it. Anything the client reads may be sent to the model provider the client uses, so a folder of personal, legal or client material can leave the machine. Ask which folders the vault contains that should never be indexed, decide whether a separate vault is needed for them, and confirm where the client sends the text it retrieves.

What the API key, local binding and Restricted mode do and do not limit

The Local REST API plugin serves HTTPS on 127.0.0.1 port 27124 with a locally generated certificate, and every request must carry an Authorization: Bearer header holding the plugin's API key. An optional plain HTTP endpoint on port 27123 exists, but it is off until someone turns on Enable HTTP server under Settings, Local REST API. The MCP server process holds the key, often through an OBSIDIAN_API_KEY environment variable, so the key sits in a second place: the client's configuration or shell environment. Before approving a setup, confirm which of these endpoints is active, that the HTTP option is disabled unless there is a documented need, and where the key is stored on the endpoint and in the MCP client config.

The API key is a single shared secret. It gates every request, but it identifies no user, so the vault's audit trail cannot tell one AI client, employee or script from another. Local binding limits reach from the network but does nothing against other programs running on the same computer that can read the key or the vault file. Any process that obtains the key can read notes, call the same tools and act with the full access the plugin grants. Treat the key like a password for the whole vault, rotate it when a device or client changes hands, and ask the vendor or the community project how the key can be scoped or revoked per client, since the sources supplied do not describe per-client keys.

Restricted mode is a different kind of control. Obsidian runs in Restricted mode by default, which prevents third-party code from running and ignores installed plugins while it is on. That means the Local REST API stops serving requests, which switches the connection off rather than narrowing what a connected client may do. It is a useful kill switch for a suspected compromise, but it does not separate read from write or limit which notes a client may delete. Obsidian also states that it cannot reliably restrict community plugins to specific permissions, so the plugin inherits Obsidian's own access levels. Plan for the server to act with full vault rights, and confirm with the plugin and server maintainers what, if anything, limits tool use inside that boundary.

How a client request reaches the vault

The request starts at the AI client, which sends it to the MCP server process. The server calls the Local REST API plugin over HTTPS on 127.0.0.1 port 27124, carrying the plugin's API key as a Bearer header. The plugin checks that key, then runs the tool call against the vault. Once the key is accepted, no step checks whether the specific tool should be allowed. The optional plain HTTP endpoint on port 27123 is off unless someone enables it in settings. When Restricted mode is on, the plugin does not run at all. Check each hand-off, and confirm the setting on every machine that hosts a vault.

Request path from an AI client to the vault, with the key check and the Restricted mode gate.

Where the documented controls leave gaps for a regulated team

The documented controls for an Obsidian MCP server cover transport and a single shared credential, not who calls a tool or what a delete can cost. The cards below list the gaps a regulated team should expect, and the usual way to cover each one before the server reaches a production vault.

No documented per-tool allowlist

The supplied sources do not describe a per-tool allowlist or a read-only mode for the Local REST API plugin or the community servers built on it. A client that reaches the server can call every tool the server lists, including the ones that change or remove notes. Ask each community server maintainer whether tools can be disabled individually, and check the server's configuration file and source before approving it. Where the answer is no, a wrapper or gateway with its own allowlist is the usual way to expose only read tools.

mcp-obsidian README

Shared key, no per-user identity

The Local REST API authenticates requests with one API key sent as a Bearer token. The sources do not describe per-user identity, SSO, or a way to tie a tool call to a named person. Anyone or anything holding the key acts with the same vault access. Treat the key as a vault-wide secret, store it outside client config files that get shared, and plan rotation with the vault owner. If named accountability is required, the usual fix is a gateway that issues individual credentials and forwards only approved calls.

Local REST API README

No documented audit log of tool calls

The supplied sources do not describe a log of which MCP client called which tool, with which arguments, at what time. The plugin and the community servers may write their own logs, but the reader should confirm this in the code and configuration, not assume it. Without a call record, an unexpected edit or deletion cannot be traced to a session. Ask for a logging setting or add request logging at the gateway, and test that a delete leaves a visible record.

Deletes may not be recoverable

The mcp-obsidian server documents delete_file as deleting a file or directory from the vault, and patch_content and append_content change existing notes. Obsidian's own trash behavior is not a backup for an agent's actions. Confirm whether your sync service, version history or backup would restore a deleted or overwritten note, and how far back it reaches. Before enabling write tools, take a verified backup and confirm a restore on a copy of the vault.

Plain HTTP endpoint exposure

The Local REST API documents an optional plain HTTP endpoint at which must be enabled under Settings, Local REST API, Enable HTTP server. The default-style HTTPS endpoint uses a locally generated certificate, while this option sends the Bearer key without TLS. Keep it disabled unless a specific local client needs it, and confirm the listener binds only to 127.0.0.1. Check that no port forwarding, container port mapping or VPN route exposes it to other hosts.

Community servers maintained separately

The servers that call the Local REST API are community projects, such as MarkusPfundstein/mcp-obsidian and cyanheads/obsidian-mcp-server, and they are maintained apart from the plugin and from Obsidian. A plugin update can change the API, and a server update can change its tools, so a reviewed version may behave differently a month later. Require written owner sign-off for each pinned server version and plugin version, and repeat the review when either changes.

cyanheads server repository

How the risk changes by server choice and vault setup

The Local REST API plugin includes its own MCP endpoint at The Local REST API README describes HTTPS with a locally generated certificate, gated behind an API key sent as an Authorization: Bearer header. Any caller that holds that key and can reach the loopback address can use what the plugin exposes, which includes reading or writing the active file, listing and executing Obsidian commands as if from the command palette, and querying tags. This endpoint has the widest reach of the five tabs because command execution is part of its surface.

  • Reachable capabilities: reading and writing the active file, running listed Obsidian commands and querying tags, so the API key is the main gate to the app.
  • Binding and transport: the endpoint listens on 127.0.0.1 over HTTPS. That protects traffic on the local path but does not limit what an authenticated caller may do.
  • Plain HTTP option: the endpoint at exists only after Enable HTTP server is turned on under Settings, Local REST API. Confirm it stays off unless a documented need exists.
  • Key handling: the API key is the single authentication factor in the documented setup, so confirm who can view it in plugin settings and how it is stored on shared machines.

Before approval, confirm which endpoint the client uses, whether the HTTP server is disabled, and whether command execution can be scoped or switched off for this client.

Order of work before an Obsidian MCP server reaches staff

This sequence turns an Obsidian MCP server from an unreviewed plugin into a documented, minimally privileged connection with a known version, a limited key, a tested recovery path and a scheduled review.

  1. Inventory vaults, plugins and MCP servers

    The IT or platform owner lists every vault that the AI client could reach, every enabled plugin in those vaults, and every MCP server that wraps the Local REST API plugin, including community servers such as MarkusPfundstein/mcp-obsidian or cyanheads/obsidian-mcp-server. Record the plugin version and the server version or commit that the review covers, and note which vaults hold regulated or confidential notes. The step is done when the inventory names each component with a pinned version and an owner, and the reviewer can reproduce the same setup from that record.

  2. Remove write and delete tools that are not needed

    The security reviewer and the business owner agree which capabilities the use case needs, such as reading and searching notes, and which it does not. Check each server's tool list against that decision, paying particular attention to patch_content, append_content and delete_file in mcp-obsidian, and to the Local REST API capabilities that write the active file or run Obsidian commands. Disable or remove the tools that are not justified, then confirm in the client that the tool list matches the approved list. Done means a written list of allowed tools and a screenshot or config file showing the unneeded tools are gone.

  3. Confirm the plain HTTP endpoint stays disabled

    The platform owner checks Settings, Local REST API, and confirms that Enable HTTP server is off unless someone has recorded a reason to use the plain HTTP endpoint at Where the client is configured for the HTTPS endpoint at confirm that no client config points at port 27123. Done means the setting is recorded as off, or the recorded exception names the owner, the client and the reason, and a second reviewer has accepted it.

  4. Restrict and rotate the API key

    The administrator decides where the plugin's API key may be stored, for example only in the approved client configuration file or an approved secret store, and not in shared notes, synced vault files or chat history. The key is sent as an Authorization: Bearer header, so any process or user account that can read the client config can use it. Set a rotation rule that runs whenever a staff member who had access changes role or leaves, and rotate the key in the plugin and in every client that uses it. Done means a storage location is written down, each user's client config has been checked, and the rotation was performed and recorded.

  5. Back up the vault and test risky actions on a copy

    The vault owner creates a backup or enables version history with the vault's sync or source control tool, then confirms the backup can be restored. On a separate copy of the vault, the tester runs each write and delete action the client may call, including patch and append operations and a delete_file call on a test note, and checks what changed in the files and whether the change can be reverted. Done means the test results are recorded, a restore from backup has been demonstrated, and the production vault is excluded from the test run.

  6. Set a review cadence for plugin and server updates

    The owner of the approved setup schedules a recurring review of the Local REST API plugin, each MCP server and the Obsidian release notes, and compares each new version against the pinned version in the inventory. Before any update reaches staff, the reviewer repeats the tool-list check, the HTTP setting check and the delete test on a copy, and records the outcome. Because the plugin inherits Obsidian's access levels and Obsidian cannot reliably restrict plugins to specific permissions, a changed plugin can change what the agent can reach. Done means the cadence and owner are written down and the first review is recorded against the pinned versions.

What a security reviewer asks to see and where it comes from

This table lists the evidence a reviewer should collect before approving an Obsidian MCP server, and where each item comes from. Vendor and project documentation covers how the plugin and servers are designed, while the organization's own environment supplies the installed versions, device policy, key handling and written approvals. Treat any row marked as coming from your own environment as a gap until someone has checked it.

EvidenceSourceWhat it shows
Installed plugins and MCP servers, with versionsYour own environment: Obsidian plugin list on each managed vault and the MCP client configurationWhich Local REST API build and which community server are live, so findings map to a known version
Tool list each server exposesServer README for the chosen project, confirmed against the running serverWhether delete_file, patch_content or append_content are reachable by the client
HTTP endpoint settingYour own environment: Local REST API settings, Enable HTTP server optionWhether the plain HTTP endpoint on port 27123 is off or on, since it is documented as optional
Restricted mode state on managed devicesYour own environment: device management policy and Obsidian settings on each machineWhether community plugins, including the REST API plugin, are blocked from running
Location and handling of the API keyYour own environment: where OBSIDIAN_API_KEY or the Bearer token is stored and who can read itWhether the key sits in plain configuration files or a managed secret store, and who holds it
Vault backup or version history recordYour own environment: backup job logs and sync service version history settingsWhether a deleted or overwritten note can be restored and how far back
License terms for the plugin (MIT) and the cyanheads server (Apache-2.0)Repository license files: coddingtonbear Local REST API (MIT) and cyanheads obsidian-mcp-server (Apache-2.0)Permissions the license grants for internal use and modification, not a security assurance
Owner's written approval of write and delete toolsYour own environment: signed change record from the vault owner and security reviewerWho accepted the risk of tools that change or remove notes, and under which conditions

Questions buyers and reviewers ask before approving an Obsidian MCP server

Is there an enterprise edition of the Obsidian MCP server with SSO?

No vendor-run enterprise edition or SSO option for an Obsidian MCP server is documented in the sources this page relies on. Obsidian's Plugin security page does not describe an MCP server at all, so the servers in this space are community projects that run through the Local REST API community plugin or wrap it. The plugin authenticates requests with an API key sent as an Authorization: Bearer header, not with enterprise sign-in. Confirm with the plugin maintainer and with each community server's maintainers whether any SSO, SCIM or central policy option exists, and do not assume one from the Obsidian brand. If none exists, plan for API key handling and local controls instead.

Does the Obsidian MCP server have a read-only mode?

The sources this page relies on do not document a read-only mode for the Local REST API plugin or the community servers. Some reference points are clear: the mcp-obsidian server lists tools that change or remove notes, including patch_content, append_content and delete_file, and the plugin exposes capabilities such as writing the active file and running Obsidian commands. Check each server's tool list and configuration options before approval, and confirm with its maintainer whether tools can be disabled. If a server cannot be limited to reads, a reviewer may consider a wrapper or proxy that exposes only read tools, which needs its own testing and ownership.

Have there been reported security incidents with Obsidian MCP servers?

The sources supplied for this page describe no reported incidents involving the Local REST API plugin or the community Obsidian MCP servers, so this page makes no claim either way. Absence from this page is not evidence of a clean record. Before approval, review each repository's issue tracker, security advisories and release notes, and record the version you plan to run. Check whether a fix you depend on has shipped, and set a rule for re-reviewing when a server or the plugin updates, since these projects are maintained independently of Obsidian.

What does it cost to run an Obsidian MCP server?

The Local REST API plugin is published under the MIT license, and the cyanheads/obsidian-mcp-server community server is published under the Apache-2.0 license, so the software itself carries no license fee in those sources. The cost is the organization's effort to configure, test and govern the setup. That effort depends on how many vaults are involved, whether notes contain regulated or confidential material, how many users connect, and how much tool restriction and monitoring you require. Those costs are internal staff time, plus any external testing you choose to buy. Ask any provider you engage for a written scope so the effort is defined before work starts.

Can staff set up an Obsidian MCP server on their own?

Yes for a single personal vault on one device. The Local REST API plugin is installed in Obsidian, its API key is copied into the client configuration, and an MCP client can connect to the local endpoint at Shared or organizational use is harder. An individual cannot enforce which tools are enabled, rotate keys centrally, prevent a plugin update from changing behavior, or prove to an auditor what an assistant read or changed. Those controls need an owner, a standard configuration and a review process, which a team should agree on before users connect their own vaults.

What does DeployOpen do for an Obsidian MCP server review?

DeployOpen runs AI agent rollout security reviews, which test the setup for prompt injection, tool and file permissions, data exposure, credential handling and admin settings, and deliver a findings report with fixes and a retest. For an Obsidian MCP server, that could cover the API key handling, which tools a client can call, whether the local binding and HTTP option are enabled, and what a prompt injection could make the assistant write or delete. DeployOpen plans and tests the setup and prepares evidence, but it does not issue audit reports or certifications. Engagements are fixed-scope, with scope and deliverables agreed in writing before work starts, and DeployOpen does not publish a price list.

Which Obsidian MCP server controls should a reviewer ask about first?

Start with four questions that the sources support:

  • Which tools does the server expose, and can any of them delete or overwrite notes?
  • Is the API key stored in plain configuration, and who can read it?
  • Is the plain HTTP endpoint at enabled, and does it need to be?
  • Is Restricted mode on, and do community plugins run only where you have approved them?

Note that the local binding and API key limit who can connect from the machine, but they do not limit what a connected client may do once it has the key. Confirm each answer in your own environment before approval.

How DeployOpen works on this

DeployOpen plans, tests and hardens self-hosted setups inside your own infrastructure, and runs security testing on AI agents and their tool permissions. For an Obsidian MCP setup, that means working out what the server can read, change and delete in your vault, then testing and documenting the controls that limit it.

How we scope

  • We agree in writing which MCP server, plugin version, transport and vault locations are in scope before work starts.
  • The written scope lists the tools an AI client can call, such as file reads, patches, appends, deletes and command execution.
  • Engagements are fixed-scope, with deliverables and timelines agreed before testing begins. Ongoing support is available as a retainer.

How we build

  • We test API key handling, local binding, HTTPS endpoints and whether the plain HTTP option is enabled in your setup.
  • We test tool permissions by checking whether a connected client can delete notes, overwrite content or run Obsidian commands.
  • We review how Restricted mode and installed community plugins affect the attack surface, and document what those settings do not limit.

How we hand over

  • You receive a findings report that lists each risky tool, the evidence from testing and the recommended fix.
  • Fixes cover API key storage, endpoint settings, vault backup and access rules, and the client configuration that connects to the server.
  • We retest after fixes are applied and document the results so your security and compliance reviewers can check them.

How we support

  • Your compliance and security teams receive documented controls and evidence they can review before approving the setup.
  • We prepare the evidence for AI security questionnaires that ask how the vault connection is authenticated and logged.
  • Retainers cover upgrades, re-testing after plugin or server updates, and continuous testing as new community servers appear.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.