OneDrive MCP Server
@karthik20
关于 OneDrive MCP Server
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"onedrive-mcp-server-spring": {
"command": "docker",
"args": [
"run",
"-p",
"8080:8080",
"-e",
"ONEDRIVE_ACCESS_TOKEN=your-token",
"karthik20/onedrive-mcp-server:0.0.1"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is OneDrive MCP Server?
A Model Context Protocol (MCP) server that enables AI agents to search and navigate files and folders in Microsoft OneDrive. Built with Spring Boot and Spring AI, it uses the Microsoft Graph API for secure access.
How to use OneDrive MCP Server?
Set your Microsoft OneDrive access token via the MICROSOFT_ONEDRIVE_ACCESS_TOKEN environment variable. Run the server using the JAR (java -jar target/onedrive-mcp-server-0.0.1.jar) or via Docker (docker run -e MICROSOFT_ONEDRIVE_ACCESS_TOKEN=... karthik20/onedrive-mcp-server:0.0.1). Configure MCP clients (VS Code, GitHub Copilot, Claude Desktop) to point to the server’s endpoint.
Key features of OneDrive MCP Server
- Search files in OneDrive with optional folder filtering
- Search and navigate folder structures
- Get direct web URLs to files and folders
- MCP-compatible interface for AI agent integration
- Secure access using Microsoft Graph API
Use cases of OneDrive MCP Server
- An AI assistant finds a specific document across OneDrive folders
- A user asks the AI to list all files in a given folder path
- The AI retrieves a direct web link to a file for sharing
- An AI agent navigates nested folder structures to locate content
- Automated file discovery in developer workflows via MCP clients
FAQ from OneDrive MCP Server
How do I obtain a Microsoft OneDrive access token?
Two methods: use Microsoft Graph Explorer for a quick temporary token (good for testing), or register your own application in the Azure Portal for a longer-lived token (recommended for production).
What permissions are required for the access token?
The access token needs the Files.Read and Files.Read.All delegated permissions on Microsoft Graph.
Can I run the server using Docker?
Yes. Build the Docker image with mvn spring-boot:build-image and run the container with docker run. The official image is karthik20/onedrive-mcp-server:0.0.1.
What are the runtime prerequisites?
Java 21 or higher, Maven 3.6+ (for building), and optionally Docker for containerized deployment.
How long does the access token last?
Tokens from Graph Explorer expire after a few hours. Tokens obtained from your registered Azure app are valid for several hours. For production use, implement a proper OAuth2 token refresh flow.
文件与存储 分类下的更多 MCP 服务器
S3 MCP Server
samuraikunMCP server to integrate AWS S3 and LLM
Claude Document MCP Server
alejandroBallesterosCA lightweight MCP server for processing, editing, and interacting with PDF, Word, Excel, and CSV documents.
PDF Reader MCP Server (@sylphlab/pdf-reader-mcp)
sylphlab📄 The PDF intelligence layer for AI agents — Agent Document Twin, evidence-first extraction, visual crops, OCR provenance, trust reports, and benchmark-gated releases. MCP server for Claude, Cursor, VS Code, and any MCP client.
Sample S3 Model Context Protocol Server
aws-samplesFilesystem
chrisdocManage your Hevy workouts, routines, folders, and exercise templates. Create and update sessions faster, organize plans, and search exercises to build workouts quickly. Stay synced with changes so your training log is always up to date.
评论