Obsidian OneDrive MCP Server
by sugasaki
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_API_KEY | No | A long random value used as the bearer token for MCP requests. | |
| ONEDRIVE_USER_ID | No | User ID (UPN) for organizational OneDrive (e.g., user@example.com). | |
| MCP_ALLOWED_HOSTS | No | Comma-separated list of allowed hostnames for MCP requests (e.g., localhost,127.0.0.1,mcp.example.com). | |
| ONEDRIVE_DRIVE_ID | No | Drive ID for organizational OneDrive, can be used instead of ONEDRIVE_USER_ID. | |
| MCP_ALLOWED_ORIGINS | No | Optional comma-separated list of allowed origins for browser-based connections. | |
| MICROSOFT_CLIENT_ID | No | The client ID of the registered application in Microsoft Entra. | |
| MICROSOFT_TENANT_ID | No | The tenant ID for Microsoft Entra. Use 'consumers' for personal accounts, or your organization's tenant ID. | |
| ONEDRIVE_VAULT_PATH | No | Path to the Obsidian vault in OneDrive, relative to the OneDrive root (e.g., Documents/Obsidian/MyVault). | |
| MICROSOFT_TOKEN_FILE | No | Path to the file where the device code authentication refresh token is stored (e.g., ./data/tokens.json). | |
| MICROSOFT_CLIENT_SECRET | No | Client secret for organizational (client credentials) authentication. |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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