MCP-Server.-Calendar-
3.5
This project is a FastAPI-based server designed to provide calendar management tools, such as event checking and modification, for AI agents running in n8n. It supports real-time tool discovery and is prepared for integration with various calendar APIs.
Top Comments
MCP Calendar Tool Server
A FastAPI-based MCP server offering calendar management tools for AI agents in n8n.
Features
- Real-time tool discovery with Server-Sent Events
- HTTP endpoints for tool execution
- Calendar management such as checking availability, adding, updating, and deleting events
- API key authentication
- Mock implementations for calendar API integration
Setup Steps
- Clone the repository
- Install dependencies
- Create a
.env
file with your API key
Running
Use uvicorn
to run the server
API Endpoints
- SSE stream at
/mcp-events
for tool discovery - Tool execution at
/mcp/message
using POST requests
Development Structure
- FastAPI app:
main.py
- API key authentication:
auth.py
- Calendar tools:
tools/calendar.py
Future Improvements
- Real calendar API integration
- Enhanced validation and error handling
- Rate limiting
- Webhook event notifications