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).
@karthik20
基本情報
概要はまだありません
以下の設定を使って、このサーバーを 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 という見出しの下に記載することで、このタブに反映できます。
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.
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.
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).
The access token needs the `Files.Read` and `Files.Read.All` delegated permissions on Microsoft Graph.
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`.
Java 21 or higher, Maven 3.6+ (for building), and optionally Docker for containerized deployment.
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.
A MCP server providing realistic browser-like HTTP request capabilities with accurate TLS/JA3/JA4 fingerprints for bypassing anti-bot measures. It also supports converting PDF and HTML documents to Markdown for easier processing by LLMs.
MCP Workspace Server: A secure Model Context Protocol server providing file, git, and GitHub tools for AI assistants within a sandboxed project directory.
This MCP server integrates with your Google Drive and Google Sheets, to enable creating and modifying spreadsheets.
MCP Server for reading many files at the same time
コメント