This MCP server allows you to interact with your Google Calendar directly through Claude Desktop. By leveraging the Model Context Protocol (MCP), you can create, view, and analyze calendar events using natural language prompts with Claude.
npm install
npm run build
Add the server configuration to Claude Desktop by editing the config file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%/Claude/claude_desktop_config.json
Add the following configuration:
{
"mcpServers": {
"Google Calendar": {
"command": "/path/to/Google Calendar/build/index.js"
}
}
}
Make sure to replace /path/to/Google Calendar/build/index.js
with the actual path to the built server file.
.client_secret.json
The first time you run the server, you'll need to authenticate:
Once configured, you can interact with your Google Calendar through Claude Desktop using the following capabilities:
Use the list_events
tool to view your upcoming calendar events:
Can you show me my upcoming calendar events?
Use the create_event
tool to add new events to your calendar:
Please create a calendar event for a team meeting tomorrow at 2pm for 1 hour with Bob and Alice
The tool accepts parameters like title, time, description, and attendees.
Use the analyze_schedule
prompt to get insights about your calendar:
Can you analyze my calendar for the next week and help me identify any scheduling conflicts or busy periods?
If you're having issues with the server, you can use the MCP Inspector for debugging:
npm run inspector
This will provide a URL to access debugging tools in your browser, allowing you to inspect the communication between Claude and the MCP server.
.client_secret.json
file is correctly placed and formattedclaude_desktop_config.json
is correctThere are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.