Skip to main content
Glama
sugasaki

Obsidian OneDrive MCP Server

by sugasaki

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_API_KEYNoA long random value used as the bearer token for MCP requests.
ONEDRIVE_USER_IDNoUser ID (UPN) for organizational OneDrive (e.g., user@example.com).
MCP_ALLOWED_HOSTSNoComma-separated list of allowed hostnames for MCP requests (e.g., localhost,127.0.0.1,mcp.example.com).
ONEDRIVE_DRIVE_IDNoDrive ID for organizational OneDrive, can be used instead of ONEDRIVE_USER_ID.
MCP_ALLOWED_ORIGINSNoOptional comma-separated list of allowed origins for browser-based connections.
MICROSOFT_CLIENT_IDNoThe client ID of the registered application in Microsoft Entra.
MICROSOFT_TENANT_IDNoThe tenant ID for Microsoft Entra. Use 'consumers' for personal accounts, or your organization's tenant ID.
ONEDRIVE_VAULT_PATHNoPath to the Obsidian vault in OneDrive, relative to the OneDrive root (e.g., Documents/Obsidian/MyVault).
MICROSOFT_TOKEN_FILENoPath to the file where the device code authentication refresh token is stored (e.g., ./data/tokens.json).
MICROSOFT_CLIENT_SECRETNoClient secret for organizational (client credentials) authentication.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sugasaki/obsidian-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server