Connect your AI Agents to OneDrive GCC High in minutes

Available tools
advanced_search
Perform advanced search with filters and content search
search_by_content_type
Search for files by content type and properties
get_file_activity
Get activity history for files and folders
search_recent_files
Search for recently created or modified files
get_my_drive
Get the user's default OneDrive
get_drive
Get information about a specific drive by ID
list_my_drives
List all drives available to the user
get_root_folder
Get the root folder of a drive
get_special_folder
Get a special folder (Documents, Photos, etc.)
get_drive_usage
Get storage usage information for a drive
get_drive_owner
Get owner information for a drive
get_item
Get a drive item by ID or path
list_items
List children of a folder
create_folder
Create a new folder
upload_file
Upload a file to OneDrive
download_item
Download file content from OneDrive
update_item
Update item metadata
move_item
Move an item to a different folder
copy_item
Copy an item to a different location
delete_item
Delete an item from OneDrive
search_items
Search for items in OneDrive
list_permissions
List permissions for an item
get_permission
Get a specific permission by ID
create_sharing_link
Create a sharing link for an item
grant_permission
Grant permissions to recipients for an item
update_permission
Update roles for a user/group permission
delete_permission
Remove a permission from an item
access_shared_item
Access a shared item using sharing URL
get_sharing_link
Get sharing link information for an item
check_item_sharing_status
Check sharing status of an item
get_thumbnails
Get all available thumbnails for an item
get_thumbnail
Get a specific thumbnail size for an item
get_preview
Generate a preview link for an item
check_thumbnail_availability
Check if thumbnails are available for an item
get_thumbnail_urls
Get thumbnail URLs for an item
validate_credential
Validate OneDrive credentials. Verifies credentials during setup.
list_item_versions
List all versions of a file
get_item_version
Get details of a specific version
restore_item_version
Restore a previous version of a file
compare_item_versions
Compare two versions of a file
list_deleted_items
List items in the recycle bin
restore_deleted_item
Restore an item from the recycle bin
get_version_download_url
Get download URL for a specific version of a file

How to set up Merge Agent Handler
In an mcp.json file, add the configuration below, and restart Cursor.
Learn more in the official documentation ↗
1{
2 "mcpServers": {
3 "agent-handler": {
4 "url": "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
5 "headers": {
6 "Authorization": "Bearer yMt*****"
7 }
8 }
9 }
10}
11Open your Claude Desktop configuration file and add the server configuration below. You'll also need to restart the application for the changes to take effect.
Make sure Claude is using the Node v20+.
Learn more in the official documentation ↗
1{
2 "mcpServers": {
3 "agent-handler": {
4 "command": "npx",
5 "args": [
6 "-y",
7 "mcp-remote@latest",
8 "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
9 "--header",
10 "Authorization: Bearer ${AUTH_TOKEN}"
11 ],
12 "env": {
13 "AUTH_TOKEN": "yMt*****"
14 }
15 }
16 }
17}Open your Windsurf MCP configuration file and add the server configuration below.
Click on the refresh button in the top right of the Manage MCP server page or in the top right of the chat box in the box icon.
Learn more in the official documentation ↗
1{
2 "mcpServers": {
3 "agent-handler": {
4 "command": "npx",
5 "args": [
6 "-y",
7 "mcp-remote@latest",
8 "https://ah-api.merge.dev/api/v1/tool-packs/<tool-pack-id>/registered-users/<registered-user-id>/mcp",
9 "--header",
10 "Authorization: Bearer ${AUTH_TOKEN}"
11 ],
12 "env": {
13 "AUTH_TOKEN": "<ah-production-access-key>"
14 }
15 }
16 }
17 }In Command Palette (Cmd+Shift+P on macOS, Ctrl+Shift+P on Windows), run "MCP: Open User Configuration".
You can then add the configuration below and press "start" right under servers. Enter the auth token when prompted.
Learn more in the official documentation ↗
1{
2 "inputs": [
3 {
4 "type": "promptString",
5 "id": "agent-handler-auth",
6 "description": "Agent Handler AUTH_TOKEN", // "yMt*****" when prompt
7 "password": true
8 }
9 ],
10 "servers": {
11 "agent-handler": {
12 "type": "stdio",
13 "command": "npx",
14 "args": [
15 "-y",
16 "mcp-remote@latest",
17 "https://ah-api-develop.merge.dev/api/v1/tool-packs/{TOOL_PACK_ID}/registered-users/{REGISTERED_USER_ID}/mcp",
18 "--header",
19 "Authorization: Bearer ${input:agent-handler-auth}"
20 ]
21 }
22 }
23}FAQs on using Merge's OneDrive GCC High MCP server
FAQs on using Merge's OneDrive GCC High MCP server
What is an OneDrive GCC High MCP?
It's an MCP server that connects your agents to individual user file storage within a Microsoft OneDrive GCC High environment via tools. Your agents can invoke these tools to search for files, upload and download documents, manage folder structures, share items with colleagues, and more.
Microsoft doesn't offer an official MCP server for OneDrive GCC High, but you can also use one from a third-party platform, like Merge Agent Handler.
How can I use the OneDrive GCC High MCP server?
The use cases naturally depend on the agent you've built, but here are a few common ones:
- Deliverable packaging and distribution: When a project milestone is marked complete in a task tracker, an agent locates the associated deliverable files in OneDrive GCC High, creates a consolidated folder for the submission package, and shares the folder with the designated review team
- Secure document handoff: When a contract is finalized in a workflow tool, an agent uploads the signed version to a designated OneDrive GCC High folder for the agency counterpart and sends a sharing invitation with read-only access to the correct recipient
- Pre-meeting briefing preparation: Before a scheduled review, an agent searches an employee's OneDrive GCC High for files related to the meeting topic, retrieves the relevant documents, and compiles a summary so the attendee arrives prepared
- Stale file governance: On a weekly cadence, an agent scans a OneDrive GCC High folder for files that have not been modified in over 90 days, generates a report for the file owner, and flags items for review or archival
What are popular tools for OneDrive GCC High's MCP server?
Here are some of the most commonly used tools:
findFileOrFolderInMyOnedrive: searches a user's OneDrive GCC High by keyword or partial file name. Useful for agents that need to locate a specific document before reading its contents or sharing it with another party
readSmallTextFileFromMyOnedrive: downloads a text file from the user's OneDrive GCC High and returns its contents. Call this when an agent needs to read a document to extract information or summarize its contents
createSmallTextFileInMyOnedrive: creates and uploads a new text file to the user's OneDrive GCC High. Good for agents that generate reports, draft documents, or need to persist structured output into the user's file storage
shareFileOrFolderInMyOnedrive: sends a sharing invitation granting read or write access to a file or folder. Helpful when an agent needs to distribute a deliverable or grant a colleague access to a specific item after completing a task
createFolderInMyOnedrive: creates a new folder in the user's OneDrive GCC High. Use this when an agent is organizing files for a new project or preparing a destination before uploading a batch of documents
deleteFileOrFolderInMyOnedrive: removes a file or folder from the user's OneDrive GCC High. Call this when an agent is cleaning up temporary working files or executing a governed file retention workflow
What makes Merge Agent Handler's OneDrive GCC High MCP server better than alternative OneDrive GCC High MCP servers?
Several things distinguish Merge Agent Handler's OneDrive GCC High MCP server from building or using an alternative:
- Enterprise-grade security and DLP: Merge Agent Handler includes built-in data loss prevention controls that let you block or redact sensitive fields before they reach an agent. For OneDrive GCC High, this means you can prevent controlled-access documents, sensitive file metadata, and personally identifiable content from being exposed even when the agent has broad read access
- Managed authentication and credentials: Merge stores and refreshes OneDrive GCC High credentials on your behalf. You never expose raw API keys or OAuth tokens to an agent or manage token rotation manually
- Real-time observability and audit trail: Every tool call made against OneDrive GCC High is logged with timestamp, tool name, input parameters, and response metadata. You can audit exactly what an agent read or wrote without instrumenting anything yourself
- Tool Packs and controlled access: Tool Packs let you bundle specific OneDrive GCC High tools with tools from other connectors into a single MCP endpoint, scoped to a specific use case. An agent gets exactly the tools it needs, nothing more
How can I start using Merge Agent Handler's OneDrive GCC High MCP server?
You can take the following steps via Claude Code:
1. Create or log into your Merge Agent Handler account.
2. Install the Merge CLI by running pipx install merge-api, then run merge configure to link the CLI to your Merge account and merge login to authenticate your session.
3. Register the Agent Handler MCP server with Claude Code by running claude mcp add --transport http agent-handler https://ah-api.merge.dev/mcp, then open Claude Code and run /mcp to confirm agent-handler appears with a connected status.
4. Select agent-handler from the MCP list. This opens a browser window where you select which integrations to authenticate. Choose OneDrive GCC High and complete the Microsoft OAuth flow for your GCC High tenant. Merge stores and manages the credentials going forward.
5. Open a Claude Code session and start querying OneDrive GCC High data directly. The first time you use an OneDrive GCC High tool, a Magic Link may appear to complete connector authentication.
If you want to connect Merge Agent Handler's OneDrive GCC High MCP with internal or customer-facing agentic products, you can follow the steps in our docs.
Can employees use Merge Agent Handler to connect their AI tools to OneDrive GCC High?
Yes, Agent Handler for Employees lets your employees connect Claude, ChatGPT, Microsoft Copilot, Cursor, and other MCP-compatible AI tools to OneDrive GCC High without bypassing IT governance.
Instead of setting up direct connections with personal credentials that IT can't monitor or revoke, each employee authenticates through Agent Handler and gets individual credentials tied to their identity. A government contractor, for example, can ask their AI to locate a working draft, share a deliverable with a reviewer, or organize files into a submission folder, all within the access controls IT has established.
IT also provisions access by role or group via SCIM. A program manager, for example, gets OneDrive GCC High access to organize and share project deliverables, SharePoint GCC High to retrieve policy documents, and Outlook to coordinate with agency stakeholders; while a security analyst gets OneDrive GCC High access to store and manage incident reports, ServiceNow to log and track findings, and Microsoft Teams to brief the response team.
Every tool call an employee's AI makes to OneDrive GCC High is also inspected against your DLP rules and logged to a searchable audit trail, giving security teams full visibility into what data was accessed and by whom.
Ready to try it out?
Whether you're an engineer experimenting with agents or a product manager looking to add tools, you can get started for free now



