-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Is your feature request related to a problem? Please describe.
Currently, EVCC’s rich energy management data and control capabilities are only accessible through its REST API, MQTT API, and web interface. With the growing adoption of AI assistants and automation tools that support the Model Context Protocol (MCP), there’s no standardized way for AI systems to integrate with EVCC for intelligent energy management workflows.
Users who want to build AI-powered energy management assistants, voice-controlled charging systems, or intelligent automation workflows must implement custom integrations rather than leveraging the emerging MCP standard.
Describe the solution you’d like
Implementation of a Model Context Protocol (MCP) server that exposes EVCC’s capabilities to MCP-compatible AI assistants and tools. This would enable:
Resources (Data Access):
- Current charging status and session data
- Energy generation and consumption metrics
- Vehicle state information (SoC, range, etc.)
- Battery and inverter status
- Historical charging session data
- Site configuration and loadpoint status
Tools (Control Functions):
- Start/stop charging sessions
- Set charging modes (PV-only, min+PV, fast, off)
- Configure charge limits and target SoC
- Adjust charging current limits
- Enable/disable loadpoints
- Update vehicle target times
Example MCP Use Cases:
- “Hey Claude, start charging my car with solar power only”
- “What was my charging efficiency yesterday?”
- “Set up optimal charging for my trip tomorrow morning”
- AI-driven energy optimization based on weather forecasts and electricity prices
- Integration with smart home assistants for comprehensive energy management
Describe alternatives you’ve considered
- Custom REST API integrations: Requires manual implementation for each AI tool
- MQTT bridges: Not standardized and requires custom parsing logic
- Home Assistant integration: Limited to HA ecosystem and doesn’t provide the rich context MCP offers
- Webhook solutions: One-way communication and complex setup
Technical Implementation Details
The MCP server could be implemented as:
- Embedded MCP server: Integrated directly into EVCC core (similar to existing web server)
- Standalone MCP bridge: Separate service that communicates with EVCC via existing APIs
- Plugin architecture: MCP support as an optional plugin/addon
Proposed Architecture:
AI Assistant/MCP Client <-> MCP Protocol <-> EVCC MCP Server <-> EVCC Core
Protocol Support:
- HTTP + Server-Sent Events (SSE) transport
- JSON-RPC message format
- OAuth 2.0 authentication (optional)
- Real-time data streaming for monitoring use cases
Additional context
Industry Adoption:
Model Context Protocol is rapidly becoming the standard for AI-system integrations, with support from:
- Anthropic (Claude Desktop)
- Microsoft (Copilot Studio)
- Major development tools (VS Code, Cursor, Replit)
- Enterprise platforms (Atlassian, Pomerium)
Benefits for EVCC Community:
- Enhanced accessibility for non-technical users through natural language interfaces
- Rich ecosystem of AI-powered energy management tools
- Future-proof integration standard
- Potential for community-contributed MCP workflows and automations
Security Considerations:
- Authentication and authorization controls
- Rate limiting for API access
- Secure credential management
- Audit logging for MCP tool invocations
This feature would position EVCC as a leader in AI-enabled energy management and significantly expand its integration possibilities with the growing ecosystem of MCP-compatible tools and platforms.
Implementation Priority
This could be considered a low-to-medium priority enhancement that would:
- Expand EVCC’s integration ecosystem
- Future-proof the platform for AI-driven energy management
- Attract developers building AI-powered smart home solutions
- Align with industry trends toward standardized AI integrations
Would the EVCC team be open to exploring this integration? I’d be happy to contribute to the design discussion or implementation efforts.