
A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

A Spring Boot Model Context Protocol server that lets AI agents search and navigate Microsoft OneDrive files and folders via the Microsoft Graph API.
OneDrive MCP Server is cataloged as an MCP server attributed to karthik20. A Spring Boot Model Context Protocol server that lets AI agents search and navigate Microsoft OneDrive files and folders via the Microsoft Graph API. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for OneDrive MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It uses the Microsoft Graph API with an access token provided via the MICROSOFT_ONEDRIVE_ACCESS_TOKEN environment variable.
README.md · 460857486bb7 · Fetched 2026-11-13 12:35:26 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A Model Context Protocol (MCP) server implementation that enables AI agents to search and navigate files and folders in Microsoft OneDrive. Built with Spring Boot and Spring AI.
You can obtain the access token in two ways:
Note: This token is temporary and will expire after a few hours. It's good for testing but not recommended for production use.
Register your application in the Microsoft Azure Portal:
Note down these values from your registered application:
Configure API Permissions:
Get your access token:
https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=YOUR_CLIENT_ID&scope=files.read&response_type=token&redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient
access_token=This token is valid for several hours and needs to be refreshed periodically. For production use, implement proper OAuth2 token refresh flow.
The application expects the access token to be provided via the MICROSOFT_ONEDRIVE_ACCESS_TOKEN environment variable, which is referenced in application.yaml:
onedrive:
access-token: ${MICROSOFT_ONEDRIVE_ACCESS_TOKEN}
You can configure the MCP server in VS Code either using the local JAR file or using Docker. Create or update .vscode/mcp.json in your VS Code workspace:
{
"servers": {
"onedrive-mcpserver": {
"type": "stdio",
"command": "java",
"args": [
"-jar",
"~/onedrive-mcp-server/target/onedrive-mcp-server-0.0.1.jar"
],
"env": {
"MICROSOFT_ONEDRIVE_ACCESS_TOKEN": "<INSERT TOKEN HERE>"
}
}
}
}
{
"servers": {
"onedrive-mcpserver-docker": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e",
"MICROSOFT_ONEDRIVE_ACCESS_TOKEN",
"karthik20/onedrive-mcp-server:0.0.1"
],
"env": {
"MICROSOFT_ONEDRIVE_ACCESS_TOKEN": "<INSERT TOKEN HERE>"
}
}
}
}
Replace <INSERT TOKEN HERE> with your Microsoft OneDrive access token. For the local JAR option, make sure to update the jar path to match your local setup.
mvn clean package
java -jar target/onedrive-mcp-server-0.0.1.jar
mvn spring-boot:build-image
This will create an image named: karthik20/onedrive-mcp-server:0.0.1
docker run -p 8080:8080 -e ONEDRIVE_ACCESS_TOKEN=your-token karthik20/onedrive-mcp-server:0.0.1
{
"mcp.server.url": "http://localhost:8080"
}
http://localhost:8080Search for files in OneDrive with optional folder filtering:
public String searchFiles(String fileName, String folder)
Navigate and search folder structures:
public String searchFolderPath(String folderName)
List all files and folders under a specific folder path:
public String listFolderContents(String folderPath)
Returns a JSON array of file and folder information including names, web URLs, and paths. The folder path can be nested like 'Documents/Bills'.
Run the test suite:
mvn test
This project is licensed under the MIT License - see the LICENSE file for details.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for OneDrive MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/onedrive-mcp-server-spring)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.