{"repo":"lionello/onedrive-cli","free":true,"listed":false,"github":"https://github.com/lionello/onedrive-cli","clone":"git clone https://github.com/lionello/onedrive-cli.git","description":"Command line interface and MCP for OneDrive","language":"JavaScript","stars":169,"topics":["onedrive","onedrive-storage","nodejs","onedrive-api","onedrive-client","command-line","command-line-tool","mcp-server"],"license":"MIT","category":"cli-tools","readme_excerpt":"onedrive-cli Cross-platform command line interface for OneDrive (Personal) Development A Nix flake provides the package and a dev shell with all dependencies. Run nix develop (or use Direnv's use flake ) for the shell, and nix build / nix run to build or run the CLI. The legacy shell.nix still works with nix-shell . Update the dependency hash After changing package-lock.json , refresh npmDepsHash in flake.nix : Installation From source: Or use npm : Or use nix-env : Usage usage: onedrive COMMAND [arguments] This little utility supports the following commands: - album - list, create, or edit photo albums ( ls / create / add / rm ) - cat - dumps the contents of a file to stdout - chmod - change sharing permissions - cp - copies local file(s) to OneDrive or vice-versa - df - shows OneDrive storage usage stats - find - find file(s) or folder(s) by name, optionally separated by NUL - grep - full-text search across the drive, listing matching paths - help - shows list of supported commands - ln - create a link to the remote item - login - request/store an OAuth access token - ls - list the contents of a folder - mcp - run a read-only MCP server over stdio - mkdir - create a remote folder - mv - move a local file to OneDrive or vice-versa - rm - delete a file from OneDrive (not implemented) - sendmail - send an invitation email for editing to recipients - stat - dump all information for particular file(s) - wget - copy a remote URL to OneDrive (server side) Examples List the content","default_branch":null,"files":null,"tree":[],"storefront":"/r/lionello","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lionello/onedrive-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}