{"_id":"@gongrzhe/server-calendar-autoauth-mcp","_rev":"2-f0fe3b0f6be33f2d7b443135d0860c84","name":"@gongrzhe/server-calendar-autoauth-mcp","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@gongrzhe/server-calendar-autoauth-mcp","version":"1.0.0","keywords":["calendar","events","scheduling","mcp","model-context-protocol","google-calendar","claude","cursor","auto-auth"],"author":{"name":"gongrzhe"},"license":"ISC","_id":"@gongrzhe/server-calendar-autoauth-mcp@1.0.0","maintainers":[{"name":"gongrzhe","email":"gongrzhe@gmail.com"}],"homepage":"https://github.com/gongrzhe/server-calendar-autoauth-mcp#readme","bugs":{"url":"https://github.com/gongrzhe/server-calendar-autoauth-mcp/issues"},"bin":{"calendar-mcp":"build/index.js","calendar-mcp-auth":"build/index.js auth"},"dist":{"shasum":"4a8cd93d11ce803467f8350a543901f47a25f8bf","tarball":"https://registry.npmjs.org/@gongrzhe/server-calendar-autoauth-mcp/-/server-calendar-autoauth-mcp-1.0.0.tgz","fileCount":3,"integrity":"sha512-tSfvHdaJXOClX/lYs7pBx5NgwT3xAnU+1ZwCraoLEzIpapu/GHF1WerJ3kLmglgxERpkLLVHPu0MF/eesUwthw==","signatures":[{"sig":"MEUCIQDsl4yUzyLadnnC9yeABluMf+CQAtvgAnP9bFUgZDNdAgIgSLTbP3c8OHO9MQR+sCG250wvuMfkU7V0fZLqKVVvqKo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18578},"main":"build/index.js","type":"module","engines":{"node":">=14.0.0"},"scripts":{"auth":"node ./build/index.js auth","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"gongrzhe","email":"gongrzhe@gmail.com"},"repository":{"url":"git+https://github.com/gongrzhe/server-calendar-autoauth-mcp.git","type":"git"},"_npmVersion":"10.9.0","description":"A Model Context Protocol server for Google Calendar integration with auto authentication","directories":{},"_nodeVersion":"22.11.0","dependencies":{"zod":"^3.24.1","open":"^8.4.2","googleapis":"^133.0.0","zod-to-json-schema":"^3.22.4","@modelcontextprotocol/sdk":"^0.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.2","@types/node":"^22.10.2","@types/open":"^6.2.1"},"_npmOperationalInternal":{"tmp":"tmp/server-calendar-autoauth-mcp_1.0.0_1735179563786_0.09131884450684469","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@gongrzhe/server-calendar-autoauth-mcp","version":"1.0.1","keywords":["calendar","events","scheduling","mcp","model-context-protocol","google-calendar","claude","cursor","auto-auth"],"author":{"name":"gongrzhe"},"license":"ISC","_id":"@gongrzhe/server-calendar-autoauth-mcp@1.0.1","maintainers":[{"name":"gongrzhe","email":"gongrzhe@gmail.com"}],"homepage":"https://github.com/gongrzhe/server-calendar-autoauth-mcp#readme","bugs":{"url":"https://github.com/gongrzhe/server-calendar-autoauth-mcp/issues"},"bin":{"server-calendar-autoauth-mcp":"build/index.js"},"dist":{"shasum":"16727b1e72c556e38f0dd7d2f250f6f1108fc2f9","tarball":"https://registry.npmjs.org/@gongrzhe/server-calendar-autoauth-mcp/-/server-calendar-autoauth-mcp-1.0.1.tgz","fileCount":3,"integrity":"sha512-6tR/s/5vm8YxRzxno7jl3xQLsRfXGjfNyFot6B3OrZDOwUWEeDtEU6yobEDl5bp0ercLwkvPKRyBomSY727RsQ==","signatures":[{"sig":"MEQCIAJxi3kWI2k+X5whrIDBbMITPoHjSUR+ffbGLlgCl3vLAiB2wNnNGMczpkGPQYrLRjUcDzYRxNyaBa7sxSM7HPlxkw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18544},"main":"build/index.js","type":"module","engines":{"node":">=14.0.0"},"scripts":{"auth":"node ./build/index.js auth","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"gongrzhe","email":"gongrzhe@gmail.com"},"repository":{"url":"git+https://github.com/gongrzhe/server-calendar-autoauth-mcp.git","type":"git"},"_npmVersion":"10.9.0","description":"A Model Context Protocol server for Google Calendar integration with auto authentication","directories":{},"_nodeVersion":"22.11.0","dependencies":{"zod":"^3.24.1","open":"^8.4.2","googleapis":"^133.0.0","zod-to-json-schema":"^3.22.4","@modelcontextprotocol/sdk":"^0.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.2","@types/node":"^22.10.2","@types/open":"^6.2.1"},"_npmOperationalInternal":{"tmp":"tmp/server-calendar-autoauth-mcp_1.0.1_1735179975598_0.17465619632723728","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@gongrzhe/server-calendar-autoauth-mcp","version":"1.0.2","description":"A Model Context Protocol server for Google Calendar integration with auto authentication","main":"build/index.js","type":"module","bin":{"server-calendar-autoauth-mcp":"build/index.js"},"scripts":{"build":"tsc","prepublishOnly":"npm run build","auth":"node ./build/index.js auth"},"keywords":["calendar","events","scheduling","mcp","model-context-protocol","google-calendar","claude","cursor","auto-auth"],"author":{"name":"gongrzhe"},"license":"ISC","repository":{"type":"git","url":"git+https://github.com/gongrzhe/server-calendar-autoauth-mcp.git"},"bugs":{"url":"https://github.com/gongrzhe/server-calendar-autoauth-mcp/issues"},"homepage":"https://github.com/gongrzhe/server-calendar-autoauth-mcp#readme","publishConfig":{"access":"public"},"devDependencies":{"@types/node":"^22.10.2","@types/open":"^6.2.1","typescript":"^5.7.2"},"dependencies":{"@modelcontextprotocol/sdk":"^0.4.0","googleapis":"^133.0.0","open":"^8.4.2","zod":"^3.24.1","zod-to-json-schema":"^3.22.4"},"engines":{"node":">=14.0.0"},"_id":"@gongrzhe/server-calendar-autoauth-mcp@1.0.2","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-2gGG9hDAiT9hKF2C3xPS7S/0nSW7sP0Bb1P+fMsNTSVofOSFlM73+elVfXllMq7W7c64YdYNb8ljiZcp1b5/Lw==","shasum":"d75389ab145f949dfc6bd33be8e5a21b213ffc74","tarball":"https://registry.npmjs.org/@gongrzhe/server-calendar-autoauth-mcp/-/server-calendar-autoauth-mcp-1.0.2.tgz","fileCount":3,"unpackedSize":18794,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSLCZ+j+HKQp8xXcqr4dIV5CEuEE8zBN9i9KLKPia7SQIhANVryVMOYlB68z825qWMkOTJIfQUi3ZX14QZcyX3acus"}]},"_npmUser":{"name":"gongrzhe","email":"gongrzhe@gmail.com"},"directories":{},"maintainers":[{"name":"gongrzhe","email":"gongrzhe@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/server-calendar-autoauth-mcp_1.0.2_1735180145489_0.3291580154397937"},"_hasShrinkwrap":false}},"time":{"created":"2024-12-26T02:19:23.634Z","modified":"2024-12-26T02:29:05.820Z","1.0.0":"2024-12-26T02:19:23.955Z","1.0.1":"2024-12-26T02:26:15.773Z","1.0.2":"2024-12-26T02:29:05.653Z"},"bugs":{"url":"https://github.com/gongrzhe/server-calendar-autoauth-mcp/issues"},"author":{"name":"gongrzhe"},"license":"ISC","homepage":"https://github.com/gongrzhe/server-calendar-autoauth-mcp#readme","keywords":["calendar","events","scheduling","mcp","model-context-protocol","google-calendar","claude","cursor","auto-auth"],"repository":{"type":"git","url":"git+https://github.com/gongrzhe/server-calendar-autoauth-mcp.git"},"description":"A Model Context Protocol server for Google Calendar integration with auto authentication","maintainers":[{"name":"gongrzhe","email":"gongrzhe@gmail.com"}],"readme":"# Calendar MCP Server\r\n\r\nA Model Context Protocol (MCP) server for Google Calendar integration in Cursor IDE with auto authentication support. This server enables AI assistants to manage Google Calendar events through natural language interactions.\r\n\r\n[![npm version](https://badge.fury.io/js/%40gongrzhe%2Fserver-calendar-autoauth-mcp.svg)](https://www.npmjs.com/package/@gongrzhe/server-calendar-autoauth-mcp)\r\n[![License: ISC](https://img.shields.io/badge/License-ISC-blue.svg)](https://opensource.org/licenses/ISC)\r\n\r\n## Features\r\n\r\n- Create calendar events with title, time, description, and location\r\n- Retrieve event details by event ID\r\n- Update existing events (title, time, description, location)\r\n- Delete events\r\n- List events within a specified time range\r\n- Full integration with Google Calendar API\r\n- Simple OAuth2 authentication flow with auto browser launch\r\n\r\n## Installation & Authentication\r\n\r\n1. Create a Google Cloud Project and obtain credentials:\r\n\r\n   a. Create a Google Cloud Project:\r\n      - Go to [Google Cloud Console](https://console.cloud.google.com/)\r\n      - Create a new project or select an existing one\r\n      - Enable the Google Calendar API for your project\r\n\r\n   b. Create OAuth 2.0 Credentials:\r\n      - Go to \"APIs & Services\" > \"Credentials\"\r\n      - Click \"Create Credentials\" > \"OAuth client ID\"\r\n      - Choose \"Desktop app\" as application type\r\n      - Give it a name and click \"Create\"\r\n      - Download the JSON file of your client's OAuth keys\r\n      - Rename the key file to `gcp-oauth.keys.json`\r\n\r\n2. Run Authentication:\r\n\r\n   You can authenticate in two ways:\r\n\r\n   a. Global Authentication (Recommended):\r\n   ```bash\r\n   # First time: Place gcp-oauth.keys.json in your home directory's .calendar-mcp folder\r\n   mkdir -p ~/.calendar-mcp\r\n   mv gcp-oauth.keys.json ~/.calendar-mcp/\r\n\r\n   # Run authentication from anywhere\r\n   npx @gongrzhe/server-calendar-autoauth-mcp auth\r\n   ```\r\n\r\n   b. Local Authentication:\r\n   ```bash\r\n   # Place gcp-oauth.keys.json in your current directory\r\n   # The file will be automatically copied to global config\r\n   npx @gongrzhe/server-calendar-autoauth-mcp auth\r\n   ```\r\n\r\n   The authentication process will:\r\n   - Look for `gcp-oauth.keys.json` in the current directory or `~/.calendar-mcp/`\r\n   - If found in current directory, copy it to `~/.calendar-mcp/`\r\n   - Open your default browser for Google authentication\r\n   - Save credentials as `~/.calendar-mcp/credentials.json`\r\n\r\n   > **Note**: After successful authentication, credentials are stored globally in `~/.calendar-mcp/` and can be used from any directory.\r\n\r\n3. Configure in Cursor Desktop:\r\n\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"calendar\": {\r\n      \"command\": \"npx\",\r\n      \"args\": [\r\n        \"@gongrzhe/server-calendar-autoauth-mcp\"\r\n      ]\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n### Docker Support\r\n\r\nIf you prefer using Docker:\r\n\r\n1. Authentication:\r\n```bash\r\ndocker run -i --rm \\\r\n  --mount type=bind,source=/path/to/gcp-oauth.keys.json,target=/gcp-oauth.keys.json \\\r\n  -v mcp-calendar:/calendar-server \\\r\n  -e CALENDAR_OAUTH_PATH=/gcp-oauth.keys.json \\\r\n  -e \"CALENDAR_CREDENTIALS_PATH=/calendar-server/credentials.json\" \\\r\n  -p 3000:3000 \\\r\n  mcp/calendar auth\r\n```\r\n\r\n2. Usage:\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"calendar\": {\r\n      \"command\": \"docker\",\r\n      \"args\": [\r\n        \"run\",\r\n        \"-i\",\r\n        \"--rm\",\r\n        \"-v\",\r\n        \"mcp-calendar:/calendar-server\",\r\n        \"-e\",\r\n        \"CALENDAR_CREDENTIALS_PATH=/calendar-server/credentials.json\",\r\n        \"mcp/calendar\"\r\n      ]\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n## Usage Examples\r\n\r\nThe server provides several tools that can be used through the Cursor IDE:\r\n\r\n### Create Event\r\n```json\r\n{\r\n  \"summary\": \"Team Meeting\",\r\n  \"start\": {\r\n    \"dateTime\": \"2024-01-20T10:00:00Z\"\r\n  },\r\n  \"end\": {\r\n    \"dateTime\": \"2024-01-20T11:00:00Z\"\r\n  },\r\n  \"description\": \"Weekly team sync\",\r\n  \"location\": \"Conference Room A\"\r\n}\r\n```\r\n\r\n### List Events\r\n```json\r\n{\r\n  \"timeMin\": \"2024-01-01T00:00:00Z\",\r\n  \"timeMax\": \"2024-12-31T23:59:59Z\",\r\n  \"maxResults\": 10,\r\n  \"orderBy\": \"startTime\"\r\n}\r\n```\r\n\r\n### Update Event\r\n```json\r\n{\r\n  \"eventId\": \"event123\",\r\n  \"summary\": \"Updated Meeting Title\",\r\n  \"start\": {\r\n    \"dateTime\": \"2024-01-20T11:00:00Z\"\r\n  },\r\n  \"end\": {\r\n    \"dateTime\": \"2024-01-20T12:00:00Z\"\r\n  }\r\n}\r\n```\r\n\r\n### Delete Event\r\n```json\r\n{\r\n  \"eventId\": \"event123\"\r\n}\r\n```\r\n\r\n## Security Notes\r\n\r\n- OAuth credentials are stored securely in your local environment\r\n- The server uses offline access to maintain persistent authentication\r\n- Never share or commit your credentials to version control\r\n- Regularly review and revoke unused access in your Google Account settings\r\n\r\n## Contributing\r\n\r\nContributions are welcome! Please feel free to submit a Pull Request.\r\n\r\n## License\r\n\r\nThis project is licensed under the ISC License.\r\n\r\n## Author\r\n\r\ngongrzhe\r\n\r\n## Support\r\n\r\nIf you encounter any issues or have questions, please file an issue on the GitHub repository.","readmeFilename":"README.md"}