{"_id":"@aiinak/workspace-mcp","name":"@aiinak/workspace-mcp","dist-tags":{"latest":"0.2.0"},"versions":{"0.2.0":{"name":"@aiinak/workspace-mcp","version":"0.2.0","description":"MCP server for the aiinak workspace — give your AI agent a drive, spreadsheets, and documents: search, read, upload, share files, edit sheets cell-by-cell, and create Word docs from markdown.","type":"module","bin":{"aiinak-workspace-mcp":"src/index.js"},"engines":{"node":">=18"},"keywords":["mcp","model-context-protocol","aiinak","drive","storage","agents"],"license":"MIT","homepage":"https://drive.aiinak.com","publishConfig":{"access":"public"},"dependencies":{"@modelcontextprotocol/sdk":"^1.12.0","zod":"^3.25.0"},"_id":"@aiinak/workspace-mcp@0.2.0","gitHead":"9ac9a9541df8431a139df51c18b4d23496b0f604","_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-Hkchzcu5Q58HcQ2+rmvrxlHeC1TAzPDpJQX14DcX3HDxzISPqVS9fOvbTYAjL3a3YS/PimhT4NbijG9oVcHmlg==","shasum":"ade74b48aeb208ed1121890996fa04ad26380a6a","tarball":"https://registry.npmjs.org/@aiinak/workspace-mcp/-/workspace-mcp-0.2.0.tgz","fileCount":3,"unpackedSize":16955,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDAChQ3k9CdYYrxM3Q0Z2pucWIlHijw/KPoN0bNntjduQIgXapgDIvVpO4kM//4311fffxzAiltsnigmtOiALbNFOE="}]},"_npmUser":{"name":"aiinak","email":"afzaal@aiinak.com"},"directories":{},"maintainers":[{"name":"aiinak","email":"afzaal@aiinak.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/workspace-mcp_0.2.0_1786896538498_0.0943153851939007"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-16T16:08:58.344Z","0.2.0":"2026-08-16T16:08:58.636Z","modified":"2026-08-16T16:08:58.807Z"},"maintainers":[{"name":"aiinak","email":"afzaal@aiinak.com"}],"description":"MCP server for the aiinak workspace — give your AI agent a drive, spreadsheets, and documents: search, read, upload, share files, edit sheets cell-by-cell, and create Word docs from markdown.","homepage":"https://drive.aiinak.com","keywords":["mcp","model-context-protocol","aiinak","drive","storage","agents"],"license":"MIT","readme":"# @aiinak/workspace-mcp\n\nGive your AI agent a drive — and a whole office. One MCP server connects Claude\nDesktop, Claude Code, Cursor, or any MCP client to your\n[aiinak](https://drive.aiinak.com) workspace: the agent can search and read\nyour Drive files, save new ones, share them, read and write **spreadsheets**\ncell-by-cell, and create real **Word documents** from markdown. Everything it\nmakes shows up in your apps, ready to open, edit, and share.\n\n## Setup\n\n1. Create an API key in [Drive settings](https://drive.aiinak.com) → API Keys.\n   Pick the scopes you want the agent to have:\n   - `files:read` / `files:write` / `files:delete` / `share` — Drive\n   - `sheets:read` / `sheets:write` — Sheets\n   - `docs:read` / `docs:write` — Docs\n2. Add the server to your MCP client.\n\n### Claude Code\n\n```bash\nclaude mcp add aiinak-drive -e AIINAK_DRIVE_API_KEY=adk_your_key -- npx -y @aiinak/workspace-mcp\n```\n\n### Claude Desktop / Cursor\n\n```json\n{\n  \"mcpServers\": {\n    \"aiinak-drive\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@aiinak/workspace-mcp\"],\n      \"env\": {\n        \"AIINAK_DRIVE_API_KEY\": \"adk_your_key\"\n      }\n    }\n  }\n}\n```\n\n## Tools\n\n| Tool | What it does |\n| --- | --- |\n| `drive_search` | Semantic + keyword search over names and contents, including files shared with you |\n| `drive_list_files` | List folders and files (root or a specific folder) |\n| `drive_read_file` | Read a file as extracted text — documents, spreadsheets, PDFs |\n| `drive_upload_file` | Save a new file (text or base64 binary) into your Drive |\n| `drive_create_folder` | Create a folder |\n| `drive_share_file` | Share a file with someone by email; returns the share link |\n| `drive_get_download_url` | Short-lived direct URL for raw bytes |\n| `drive_usage` | Account, key scopes, and storage used vs quota |\n| `sheets_list` | List your spreadsheets |\n| `sheets_read` | Read cells as a 2-D array (A1 ranges; omit range for everything in use) |\n| `sheets_create` | Create a spreadsheet, optionally seeded with rows |\n| `sheets_write_range` | Write values/formulas into a range |\n| `sheets_append_rows` | Add rows after the last used row |\n| `docs_list` | List your documents |\n| `docs_read` | Read a document's text |\n| `docs_create` | Create a Word document from markdown (tables, lists, links render) |\n\nWrites to a spreadsheet that is open in someone's editor return an\n`open_in_editor` error instead of silently losing the change — retry after the\nuser closes it.\n\n## Environment\n\n| Variable | Required | Default |\n| --- | --- | --- |\n| `AIINAK_DRIVE_API_KEY` | yes | — |\n| `AIINAK_DRIVE_API_URL` | no | `https://drive.aiinak.com/api/v1` |\n| `AIINAK_SHEETS_API_URL` | no | `https://sheets.aiinak.com/api/v1` |\n| `AIINAK_DOCS_API_URL` | no | `https://docs.aiinak.com/api/v1` |\n\n## Notes\n\n- The key acts as you: the agent sees exactly the files you can see, and its\n  uploads count against your storage quota (50 GB free).\n- Revoke a key any time in Drive settings; revocation is immediate.\n- Uploads are capped at 25 MB per file through the API; use the Drive app for\n  larger files.\n","readmeFilename":"README.md","_rev":"1-349c432d7e26d3b6a1efde109694a4f0"}