Skip to content

Enapter/mcp-server

Repository files navigation

Enapter MCP Server

CI Docker Hub

Overview

A Model Context Protocol (MCP) server that provides seamless integration with the Enapter EMS. This server enables AI assistants and other MCP clients to interact with Enapter sites, devices and telemetry data.

Features

  • Site Management: List all accessible sites and retrieve detailed site information
  • Device Operations: List and query devices with configurable data expansion
  • Telemetry Access: Retrieve latest telemetry data from multiple devices simultaneously
  • Authentication: Secure token-based authentication via HTTP headers
  • Async Architecture: Built on modern Python async/await patterns
  • Docker Support: Ready-to-use Docker images available

Installation

Install Using Docker

docker pull enapter/mcp-server:v0.2.1

Usage

Run Using Docker

docker run --name enapter-mcp-server -p 8000:8000 enapter/mcp-server:v0.2.1 serve

Check Server Status

Verify the server is running:

docker exec -it enapter-mcp-server python -m enapter_mcp_server ping

Configure Environment Variables

  • ENAPTER_MCP_SERVER_ADDRESS: Server listening address (default: 127.0.0.1:8000)
  • ENAPTER_HTTP_API_URL: Enapter HTTP API base URL (default: https://api.enapter.com)

Authentication

The server requires authentication via the X-Enapter-Auth-Token HTTP header. This token is provided by MCP clients when making requests to the server.

To obtain an API token, see API reference.

Support

For issues, questions, or contributions, please use the GitHub Issues page.


Made with ❤️ by Enapter

About

MCP server providing tools for AI-agents to interact with Enapter EMS.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •