worksmobile-mcp
This server provides an MCP interface to manage NAVER WORKS (LINE WORKS) Drive and directory, acting as any tenant member via service-account delegation, with safety confirmations for mutating operations.
Drive management: List shared drives, inspect settings (accessibleRange, permissionType), list files in drives or My Drive.
File operations: Download/upload files, create My Drive folders, search across drives.
Permissions: List, grant, revoke drive- or folder-level permissions; manage folder inheritance (enable/disable with destructive warnings).
Sharing: Create/delete "shared with me" shortcuts for My Drive folders, list received shares.
Directory & Audit: List/find tenant members, run account hygiene audits, reconcile tenant accounts against external rosters to detect drift.
Raw API access: Call any WORKS API endpoint (non-GET requires
confirm=true).
Provides admin tools for LINE WORKS Drive, including shared-drive governance, permission management, folder inheritance controls, share creation, file upload/download, and search via service-account delegation.
Provides admin tools for NAVER WORKS Drive, including shared-drive governance, permission management, folder inheritance controls, share creation, file upload/download, and search via service-account delegation.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@worksmobile-mcpshow permissions for drive @2001000000xxxxxx"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
worksmobile-mcp
Unofficial NAVER WORKS (LINE WORKS) Drive admin CLI + MCP server, built on the
Developer API's service-account delegation (JWT delegated_user).
Existing WORKS MCP servers focus on the end-user plane (your own mail/calendar/files via User OAuth). This project covers the admin plane that they don't:
act as any member of your tenant via delegation (like Google domain-wide delegation)
shared-drive governance: list drives, inspect
accessibleRange/permissionType, grant/revoke drive- and folder-level permissions, toggle folder inheritance (enable/disable)share-create ("shared with me" shortcuts), My Drive scaffolding, upload/download, search
directory audit: account-hygiene rules and reconciliation against an external roster — find ex-employees who still hold live mail/drive access
Not affiliated with NAVER / WORKS MOBILE Corp. "NAVER WORKS", "LINE WORKS" and worksmobile.com are their trademarks/properties. Official API docs: https://developers.worksmobile.com/
Safety design
🔑 Read this before you run it anywhere but your own machine
This is not a per-user integration. The credential it takes is a delegated service account that can act as any member of your tenant — read anyone's drive, change anyone's sharing. Treat the private key like a domain-admin key, because that is what it is.
Do not paste these credentials into third-party MCP hosting, an "install/deploy this server" button, or a hosted inspector, however convenient. Those run the server on someone else's machine, and handing them this key hands over the whole tenant. Directory and marketplace listings of this repo are automated crawls, not endorsements of any deployment model — the only configuration this project supports is local stdio, on the administrator's own machine.
If you genuinely need the HTTP transport, bind it to localhost and put real authentication in front of it. Key compromise here is not recoverable by rotating a password: until the key is revoked in the Developer Console, the holder is every employee.
WORKS Drive permission APIs have sharp edges. This tool encodes them:
Every mutating operation requires explicit confirmation — CLI:
--yes(non-interactive runs refuse without it); MCP:confirm=trueparameter. Agents are expected to ask the human before setting it.Bulk permission delete ("all-delete") is not exposed at all — its semantics flipped between WORKS versions (masters-only vs open to everyone).
Destructive semantics are spelled out in tool docs: drive
accessibleRangePATCH transitions wipe granted permissions; folderenablebreaks inheritance;disabledrops folder grants.
Related MCP server: synology-office-mcp
Setup
In the Developer Console, create an app with service-account delegation, note Client ID/Secret, create the service account, and download the private key. Grant OAuth scopes (
file,user.read).Configure credentials:
pip install worksmobile-mcp # or: uv tool install worksmobile-mcp
mkdir -p ~/.config/worksmobile
cp .env.example ~/.config/worksmobile/.env # then fill in valuesConfig resolution: process env (WORKS_*) > $WORKS_ENV_FILE > ./.env >
~/.config/worksmobile/.env.
CLI
worksmobile doctor # what credentials/scopes actually work
worksmobile users --dept 연구 # members (joint appointments preserved)
worksmobile find 홍길동 # search by any substring
worksmobile audit --ignore shared-accounts.txt # account-hygiene findings
worksmobile drift roster.tsv --name-col name # reconcile against an external roster
worksmobile drives # list shared drives
worksmobile drive @2001000000xxxxxx # accessibleRange / permissionType
worksmobile ls --sd @2001000000xxxxxx # list files
worksmobile perms @2001000000xxxxxx --folder FID
worksmobile grant @2001000000xxxxxx --target pm@corp.com --type WRITE --folder FID --yes
worksmobile share FID --owner host@corp.com --to pm@corp.com --type WRITE --yes
worksmobile download FID --sd @2001000000xxxxxx -o report.hwp
worksmobile call GET /users/me/drive/files # raw API escape hatchAll read commands accept --user someone@corp.com to act as that member.
MCP server
stdio (local agents — Claude Code, Codex, Cursor, Gemini CLI):
claude mcp add worksmobile -- worksmobile-mcp{ "mcpServers": { "worksmobile": { "command": "worksmobile-mcp" } } }Streamable HTTP — for a locally bound endpoint you front with your own auth, not for handing to a hosting provider (see the box at the top):
worksmobile-mcp --transport streamable-http --host 127.0.0.1 --port 8123⚠️ Whichever transport you pick, the process holds a tenant-wide admin credential — run it where you would run a domain-admin shell, and nowhere else.
Tools
Tool | Mutating | Description |
| shared drives & settings | |
| files of a shared drive or a member's My Drive | |
| drive/folder permissions | |
| ⚠ | grant / delete one permission |
| ⚠ | folder inheritance gate |
| storage-redirect download / 2-step upload | |
| My Drive folder | |
| ⚠ | "shared with me" shortcuts (My Drive only) |
| a member's received shares | |
| drive search | |
| tenant members (needs | |
| account-hygiene findings + dormant-check report | |
| reconcile accounts against an external roster | |
| ⚠ | raw API escape hatch |
⚠ = requires confirm=true.
Directory audit: dormant checks
works_directory_audit returns dormant_rules alongside findings. A rule is dormant when
the field it reads is empty across the whole tenant — e.g. if nobody's leaveOfAbsence is
ever set, "on leave but not suspended" can never fire. An empty findings list is not a
clean bill of health, so the tool says which checks were powerless instead of implying
everything passed. coverage shows the fill rate per field.
This matters in practice: on the tenant this was built against, employeeNumber was 0/136
and hiredDate 1/136 — the HR fields simply were not populated, which is exactly the kind
of thing an audit tool must tell you rather than paper over.
API notes (hard-won)
accessibleRangeis 3-valued:TENANT/DOMAIN/MEMBER. New drives default to DOMAIN+WRITE. PATCH transitions are destructive (MEMBER→DOMAIN deletes all grants; →MEMBER fails while folder-level grants exist).Folder-level permissions accept individual users only (no org units); the target must already be a drive member (undocumented, observed).
Folder
enable= masters-only until you grant;disable= grants dropped, inheritance back.share-create works on My Drive folders only — team-drive folders can't produce "shared with me" shortcuts.
A pure service-account token has no My Drive (403); hosting requires delegation to a real account.
Upload is 2-step (metadata POST →
uploadUrlPUT); download is a 302 whose storage location also requires the Bearer token.GET /sharedrivesresponds{"sharedrives": [...]}(docs imply a bare array).
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceNAVER WORKS CLI + MCP server. 26 tools for messages, calendar, drive, mail, tasks, and boards. AI agents can manage NAVER WORKS directly.263023Apache 2.0
- AlicenseAqualityCmaintenanceSelf-hosted MCP server that exposes Synology Drive, Spreadsheet, MailPlus, and Calendar as structured tools for AI agents, enabling file, spreadsheet, email, and calendar management via natural language.3979MIT
- AlicenseAqualityDmaintenanceMCP server for Google Workspace APIs - Docs, Sheets, Drive, Gmail, and Calendar. Enables reading, creating, and editing Google Docs and Sheets, managing comments, reading emails, and viewing calendar events.343916MIT
- AlicenseBqualityCmaintenanceProduction-ready MCP server for Google Workspace providing broad coverage across Gmail, Drive, Calendar, Docs, Sheets, and more, with safe-by-default write operations and markdown-to-Google-Docs support.100MIT
Related MCP Connectors
The official MCP Server from Mia-Platform to interact with Mia-Platform Console
MCP (Model Context Protocol) server for Appwrite
MCP server for interacting with the Supabase platform
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/z0nam/worksmobile-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server