Obsidian MCP server authentication: API keys, OAuth and community servers

Obsidian MCP servers authenticate with a Bearer API key from the Local REST API community plugin, and no vendor-run Obsidian MCP server or enterprise SSO is documented. Here is what an organization must verify and where the gaps sit.

On this page

Does Obsidian MCP server authentication meet enterprise sign-in requirements?

Obsidian documents no vendor-run MCP server, and the Local REST API endpoint offers no SSO or OAuth. Authentication for an AI client is a shared API key that the Local REST API plugin generates and sends as a Bearer token in the Authorization header. That key identifies the vault, not a person, so the server cannot tell a named employee from a script or a second AI client holding the same key. Community servers add their own options on top of that base. The cyanheads/obsidian-mcp-server README lists an MCP_AUTH_MODE setting with the values none, jwt and oauth, and it notes that with the default none, every caller acts on the vault with the configured OBSIDIAN_API_KEY. The reviewer should not assume that a jwt or oauth value gives per-user identity until the project's own documentation confirms how it is implemented and tested.

No enterprise edition, admin policy console or central approval list is supplied for this path, so a security reviewer should treat the sign-in model as the individual user's responsibility. Before approval, confirm the following: which server and version will be used and whether it is community code or the plugin's own endpoint; whether MCP_AUTH_MODE is set and to which value; who generates and stores the API key and where it sits (for example, in an environment variable or a client configuration file); how the key is rotated and revoked when a person leaves; whether a single shared key serves several people; and whether the plugin's plain HTTP endpoint is disabled. The Local REST API README is the starting point for those answers, and it should be checked against the exact plugin release in use.

If the organization requires named identity, audit attribution or centrally enforced sign-in, the Obsidian MCP path does not meet that requirement as documented. Document that gap in the approval record and choose one of three paths: restrict the connection to a single vault with a dedicated key and a named owner, keep it to a managed device with the endpoint bound to the local address, or defer the rollout until a vendor or project documents identity-aware access. Ask the server's maintainers in writing whether they plan to support SSO or per-user OAuth, and record the answer with the date it was given.

Authentication options by server and transport

This table compares each Obsidian MCP endpoint or server by how it authenticates, whether it is built in or community-built, and which transport it uses. Read it as a checklist: confirm the method for each row before approving a client, and treat any row marked as undocumented as an open question for the project.

Endpoint or serverAuthentication methodBuilt in or communityTransport and notes
Local REST API MCP endpoint (port 27124)Bearer API key in the Authorization header over HTTPS with a locally generated certificateCommunity plugin (Local REST API), MIT licensedStreamable HTTP at OAuth and SSO are not documented for this endpoint; confirm with the project.
Local REST API plain HTTP endpoint (port 27123)Same Bearer API key, but without TLSCommunity plugin (Local REST API), optionalServed at only after Enable HTTP server is turned on under Settings, Local REST API. Confirm whether the key still travels in clear text on your network.
cyanheads/obsidian-mcp-server, MCP_AUTH_MODE noneNo caller authentication; every caller acts on the vault with the configured OBSIDIAN_API_KEYCommunity server, Apache-2.0 licensedDefault mode. Any process that reaches the server can act on the vault with the shared key.
cyanheads/obsidian-mcp-server, MCP_AUTH_MODE jwtCaller tokens validated as JWTs, in addition to the vault API keyCommunity server, Apache-2.0 licensedConfirm the token issuer, validation settings and who manages them in the project documentation before use.
cyanheads/obsidian-mcp-server, MCP_AUTH_MODE oauthOAuth mode listed as a setting; details of the flow are not covered in the facts supplied hereCommunity server, Apache-2.0 licensedConfirm the identity provider, supported grants and whether SSO is possible with your project team before approval.
MarkusPfundstein/mcp-obsidianDepends on the Local REST API API key; no separate caller authentication is documented in the supplied factsCommunity serverWraps the Local REST API plugin and lists seven tools. Confirm how the key is supplied to the client and whether it is stored in plain text.

How the API key gates every request to the vault

The API key is the single credential that decides whether a request reaches the vault. In the Local REST API setup, an MCP client that supports the Streamable HTTP transport sends an Authorization header with a Bearer token carrying the plugin's API key to the local HTTPS endpoint at The plugin serves all requests over HTTPS using a locally generated certificate and refuses requests that lack the key. Before approving any connection, confirm who can read the key in Obsidian's plugin settings, whether it is shared between people, and how it would be rotated if a laptop is lost or a colleague leaves. The Local REST API README is the document to check for the current key handling behavior.

The key also determines what the caller can do. It grants the plugin's access to the vault, and the plugin itself has no separate permission model for individual tools or folders that this page can confirm. Obsidian's Plugin security page says plugins cannot be reliably restricted to specific permissions and inherit Obsidian's own access levels. A valid key therefore carries the same reach as the vault owner's session on that machine, regardless of which MCP tool the client calls. Reviewers should treat possession of the key as equivalent to write access to the vault until the vendor or the community project documents something narrower.

Community servers add a second place where the key lives. Projects such as cyanheads/obsidian-mcp-server read an OBSIDIAN_API_KEY environment variable and then call the plugin on the caller's behalf, so the key is held by the server process as well as by the plugin. Its README notes that with the default MCP_AUTH_MODE set to none, every caller acts on the vault with that configured key. Confirm where the server process runs, who can read its environment or configuration files, whether its logs ever echo request headers, and whether the key is stored in a secrets manager rather than a shell profile. Each extra copy of the key is another route to the vault.

Decisions to make before approving an Obsidian MCP server

Each decision below sets who can reach the vault, how the caller proves identity, and who can be held accountable for a change. Review them together, because a secure endpoint can still be paired with a shared key, a plain HTTP listener or a server that trusts every caller.

Built-in endpoint or community server

The Local REST API plugin exposes its own MCP endpoint, while community servers such as MarkusPfundstein/mcp-obsidian and cyanheads/obsidian-mcp-server sit between the client and that plugin. Each extra layer adds code you must review, its own configuration and its own maintainers. Confirm which component holds the vault access and who owns its updates. Community projects are not vendor-supported products.

Local REST API README

HTTPS only or the plain HTTP server

The plugin serves requests over HTTPS with a locally generated certificate. The optional HTTP endpoint at must be switched on under Settings, Local REST API, Enable HTTP server, and it sends the Bearer key without transport encryption. Approve HTTPS only unless a documented local client cannot use it, and record any exception with its owner.

Who holds and rotates the API key

Every MCP call is authenticated with the plugin's Bearer API key, so anyone holding that key acts as the vault owner. Decide whether each user keeps a separate key or a shared one is issued, who stores it, and how it is revoked when someone leaves. Keys placed in environment variables, as the cyanheads README shows with OBSIDIAN_API_KEY, must be kept out of shared dotfiles and repositories.

Auth mode none, jwt or oauth

The cyanheads server lists an MCP_AUTH_MODE setting with the values none, jwt and oauth. Its README notes that with the default none, every caller acts on the vault with the configured key, so individual actions cannot be told apart. Require a named auth mode other than none where the server supports one, and confirm how that mode is configured and tested before approval.

obsidian-mcp-server repository

Which vault is exposed

The MCP server reads and writes whichever vault the plugin is running in, so every note in that vault, including folders with personal or client material, is reachable by the agent. Decide which vault is allowed, whether a dedicated vault with only approved notes is used, and who can add the plugin to other vaults. Obsidian's Plugin security page says plugins inherit Obsidian's own access levels, so a plugin cannot be limited to certain notes.

Plugin security help

Where the client runs

Clients such as Claude Code or Cursor connect to the endpoint from a specific machine, and the plugin binds to the loopback address 127.0.0.1. Decide which managed devices may run the client, whether the vault is synced to other computers, and whether the connection can be reached from a shared host or container. Record the device list in the approval, because the controls above only protect the machine they were set up on.

How the answer changes by team size and deployment

In this illustrative setup, one employee runs Obsidian on a company-managed laptop, enables the Local REST API plugin, and connects an AI client to the local endpoint. The API key is effectively the user's own credential, and the main exposure is whatever else runs under that user account, including other applications and any community plugins with the same access level as Obsidian itself. The Local REST API README describes HTTPS with a locally generated certificate and API key gating, which limits remote access but does not limit what a logged-in user's processes can do with the key.

  • Key ownership: The key belongs to one person, so rotation and revocation are simple, but the person must regenerate it when the laptop, account or client configuration changes.
  • Local binding: Confirm that the endpoint listens on 127.0.0.1 and is not exposed through port forwarding, VPN split tunneling or a container bridge.
  • Plain HTTP option: Confirm the HTTP endpoint on port 27123 is disabled unless there is a documented reason to enable it.
  • Installed plugins: Review which community plugins are installed, since Obsidian says plugins inherit its access levels.
  • Device controls: Confirm disk encryption, screen locking and endpoint management apply to the laptop.

Before approval, confirm who holds the key, where the client stores its configuration, and whether the laptop policy covers this workflow.

Order of work before an Obsidian MCP server goes to staff

This sequence moves from identifying who maintains the server to proving that access is locked down and can be revoked. Each step ends with a written check that a security reviewer can sign off before staff connect an AI client to a vault.

  1. Confirm whether the server is community or official

    The reviewer confirms who publishes each component in the chain: the Local REST API community plugin, the MCP server that wraps it, and any packaged build. Obsidian's Plugin security page does not document a vendor-run MCP server, so the working assumption is that every server in this path is a community project. Check the repository owner, license, release history and open issues, then record which people or teams own the code the vault will rely on. The step is done when the component list names a maintainer and a version for each part and the reviewer has accepted that none of them is vendor-supported unless the vendor says otherwise in writing.

  2. Choose the transport and keep traffic local

    Decide which endpoint the AI client will use. The Local REST API README documents an HTTPS endpoint on the loopback address that uses a locally generated certificate, and an optional plain HTTP endpoint that must be enabled manually in plugin settings. The security team should prefer the encrypted option and confirm that no setting exposes the endpoint beyond the local machine. The step is done when the approved transport is written down, the plain HTTP option is either disabled or formally accepted with a reason, and the reviewer has confirmed the listening address is not reachable from other hosts on the network.

  3. Decide the auth mode and key custody

    Confirm how each client proves identity. The Local REST API plugin uses a Bearer API key in the Authorization header. The cyanheads server also lists an authentication mode setting with none, jwt and oauth values, and its README notes that the default none lets every caller act on the vault with the configured key. Ask the platform team where the key is stored, who can read it, whether it lives in a secrets manager or a shell profile, and whether a per-user key is possible. The step is done when the auth mode is chosen in writing, and a named owner holds the key custody record. If the chosen server offers only the default mode, record that as an accepted risk or stop the rollout.

  4. Restrict the vault scope before connecting

    Decide which vault or folders the AI client may reach. The reviewer should check whether the server exposes read, write and delete tools, and whether the vault owner can keep sensitive folders out of scope. Because Obsidian cannot restrict community plugins to specific permissions, plugins inherit the access level of the Obsidian app, so scope cannot be enforced by Obsidian alone. Use a separate vault for AI access where the content allows it. The step is done when a written scope lists the vault, the excluded folders and the approved tools, and the vault owner confirms that the content in scope is acceptable for an external model.

  5. Test that unauthenticated calls fail

    Before any staff member connects, the security team sends test requests to the endpoint with no key, with an incorrect key and with a valid key, and records the responses. The Local REST API README states that requests are gated behind API key authentication, so the expected result is a refusal for the first two cases. Repeat the test on the plain HTTP endpoint if it is enabled, and confirm that the default server mode does not accept anonymous calls. The step is done when the test results are saved with date, version and reviewer name, and any call that succeeds without valid credentials is treated as a blocking finding.

  6. Define rotation and retirement

    Set how the API key is rotated, who triggers the rotation, and what happens to clients when a key is replaced or a staff member leaves. Confirm that rotation in the plugin settings invalidates the old key, and that every client configuration referencing the key is updated. Write a retirement procedure that disables the plugin, removes stored keys from client configurations and records the removal. No rotation interval is set in this plan; the organization should set its own interval in line with its key management policy. The step is done when the rotation owner, the retirement steps and the revocation test are documented and the owner has confirmed they can be carried out.

  7. Retest after plugin or server updates

    Plugin and server updates can change defaults, add tools or alter how authentication behaves. Treat every update of the Local REST API plugin, the MCP wrapper or the AI client as a change that requires the tests from the earlier steps to run again. Compare the tool list against the approved scope, confirm the auth mode and transport are unchanged, and check the release notes and open security issues for the affected versions. The step is done when a change log entry records the version tested, the results of the authentication and scope checks, and the approver who allowed the update to reach staff.

Evidence a security reviewer should ask for

This table lists the evidence to request for each authentication and trust question, the document it comes from, and where that document stops. Read each row as a request: ask for the named record, then check that it matches the version of the server and plugin your staff will actually run. The main takeaway is that the project documents describe API key and HTTPS behavior, but they do not give you enterprise admin controls, so those must be confirmed separately.

EvidenceWhat to requestWhere it comes from
HTTPS and API key behaviorConfirm that the plugin version in use serves requests over HTTPS with a locally generated certificate and requires an API key on every call, including the MCP endpoint.Local REST API plugin README (coddingtonbear/obsidian-local-rest-api)
Auth mode for the community serverRecord the MCP_AUTH_MODE value in use (none, jwt or oauth) and confirm that the default none is not left in place for shared use.cyanheads/obsidian-mcp-server README
Plain HTTP endpoint statusConfirm whether the optional HTTP server on port 27123 is disabled in each vault, since it is documented as opt-in.Local REST API plugin README, Settings section
License and maintenance recordObtain the license file, the latest release date, open issues about authentication or data exposure, and the commit history for each server in use.GitHub repository pages for each server (MIT for the plugin, Apache-2.0 for cyanheads, as stated in the READMEs)
Plugin permission inheritanceGet written confirmation of how your security team will treat community plugins that run with the vault owner's full access, since Obsidian says it cannot restrict them to specific permissions.Obsidian Plugin security help page
Plugin review statusConfirm whether each plugin is flagged, featured or popular, because review depends on that status, and record the version reviewed.Obsidian Plugin security help page
Key holder and issuance recordDocument who generated each API key, where it is stored, who can read the environment variable, and when it was last rotated.Your internal asset record and the key settings in each vault's plugin configuration
Community server ownershipConfirm that no vendor supports or certifies the server, and assign an internal owner for patching and advisory tracking.Obsidian Plugin security page (no vendor-run MCP server documented) and your own inventory

Questions buyers ask before approving Obsidian MCP authentication

Does the Obsidian MCP server support SSO?

No SSO flow is documented for the Local REST API plugin or the community servers built on it. Access is gated by an API key that the plugin generates for a single vault, and the README describes no identity provider, SAML or OIDC login for the MCP endpoint. A reviewer should treat the key as the only sign-in control and confirm with the plugin maintainer or each server's repository whether any identity integration exists before listing it as an approved tool. Because Obsidian's own plugin security page says plugins inherit Obsidian's access levels, SSO on a different layer will not limit what the key can reach.

Is OAuth available for Obsidian MCP connections?

The Local REST API README documents Bearer API key authentication over HTTPS, not OAuth. The cyanheads/obsidian-mcp-server README lists an MCP_AUTH_MODE setting with the values none, jwt and oauth, so that one community server has an OAuth option in its configuration. The README notes that with the default none, every caller acts on the vault with the configured OBSIDIAN_API_KEY. Confirm how oauth mode is set up, which identity provider it expects and whether it is tested in your environment before relying on it, since a configuration setting does not prove the control works as intended.

Can the API key be scoped to individual users?

Not with the documented setup. The Local REST API key belongs to one vault in one Obsidian installation, so every client that holds it acts with the same access. The cyanheads README makes this explicit for the default none mode, where all callers share the configured OBSIDIAN_API_KEY. Per-user attribution would need a server layer that issues its own identities, and no supplied source describes one for these projects. Plan for one key per vault and per trusted client, and ask any server vendor how it would attribute actions to a named person.

What does the Obsidian MCP setup cost?

The Local REST API plugin and the community servers are open source. The coddingtonbear plugin is published under the MIT license, and cyanheads/obsidian-mcp-server is under Apache-2.0, so the software itself carries no license fee in the sources reviewed. The recurring costs are the staff time to maintain the plugin, the server and the client configuration, plus any hosting you add for a server that runs outside a laptop. Obsidian's own pricing for the desktop app and any sync or hosting services sits outside these projects, so confirm those figures with Obsidian directly.

How much effort does it take to harden the setup?

Effort depends on how many vaults, clients and servers you approve and how much review each one needs. The main drivers are whether you run the HTTPS endpoint only or also enable the plain HTTP endpoint at how you store and rotate the key, which server you pick, and whether you test write and delete behavior on a copy of the vault. Ask any implementation partner for a fixed-scope written plan that names each of these items, and do not accept a duration without a stated scope.

Can our team set up and govern this without outside help?

Yes, a team with administrator access to the machines and the vault can install the plugin, generate a key and configure a client. What is harder to do alone is the review: reading each community server's code, confirming which auth mode is active, testing whether a prompt-injected note can cause deletes, and documenting evidence for your security review. Obsidian's plugin security page says community plugins are scanned automatically, with manual review for popular, featured and flagged ones, which is not the same as a review for your use case. An outside security testing partner can assess the setup and retest it, and DeployOpen offers that kind of AI agent rollout security review on a fixed scope.

What does a community server mean for vendor support?

A community server has no vendor obligation to you. The MarkusPfundstein/mcp-obsidian and cyanheads/obsidian-mcp-server repositories are community projects that depend on the Local REST API community plugin, and Obsidian documents no vendor-run MCP server on its plugin security page. Support therefore comes from maintainers' issue trackers, not from a contract. Before approval, ask who maintains the code, how fast security issues are fixed, whether there is a published security policy, and what you will do if the project stops being maintained. Treat the project as software you own and must patch.

What should we do if an Obsidian MCP API key leaks?

Treat a leaked key as full access to the vault it protects, because the sources show the key alone grants every action the plugin allows. Immediately regenerate the key in the Local REST API settings so the old value stops working, update every client configuration that used it, and review recent changes in the vault for unexpected edits or deletions. Check whether the HTTP endpoint was enabled, since it exposes the same API on a plain connection. Record the incident, then confirm the rotation and the change review with the owner of the affected vault. A written rotation procedure should exist before rollout, not after the first leak.

How DeployOpen works on this

DeployOpen tests Obsidian MCP setups as part of AI agent rollout security reviews, covering API key handling, the endpoints the Local REST API plugin exposes, and how community servers reach the vault. The work is scoped in writing first, so reviewers know which servers, endpoints and admin settings are covered before testing starts.

How we scope

  • We confirm which MCP servers, plugin versions and vault locations are in the written scope before testing begins.
  • We record which clients connect, such as Claude Code or Cursor, and whether each uses the HTTPS or plain HTTP endpoint.
  • We agree in writing whether community servers such as mcp-obsidian or obsidian-mcp-server are in scope, and which auth mode they run.

How we build

  • We check how the Local REST API API key is stored, shared and rotated across the machines that run the MCP client.
  • We test whether the server's MCP_AUTH_MODE setting is none, jwt or oauth, and whether any caller can act with the configured key.
  • We verify that plain HTTP stays disabled unless approved, and that the HTTPS endpoint is reachable only where intended.

How we hand over

  • We deliver a findings report that lists each authentication gap, the vault actions it allows and the fix for each one.
  • We document the configuration evidence reviewers ask for, including the settings checked, the server versions tested and the open questions.
  • We retest the agreed fixes and record the results, so the approving team can see what changed and what remains open.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer when plugins or community servers change.
  • We prepare control evidence for your compliance team, but independent auditors and certification bodies issue any formal reports.

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.