neoom BEAAM MCP Server
Enables AI assistants to monitor and control neoom BEAAM energy management systems, including solar production, battery, grid power, and device control via natural language.
README
neoom BEAAM MCP Server
A Model Context Protocol (MCP) server for the neoom BEAAM energy management system. It lets AI assistants like Claude query your solar production, battery state, grid power, and control devices using natural language.
Features
- π€οΈ Real-time energy flow data (PV production, grid, battery, self-sufficiency)
- π Battery control (set charge/discharge power)
- β‘ EV charger control (set max charging current)
- π Device inventory (list all connected Things and their data points)
- βοΈ Two modes: local BEAAM API (full control) or ntuity cloud API (remote read-only)
- π Automatic OAuth token refresh in cloud mode
Requirements
- Node.js 18 or higher
- A neoom BEAAM device
- An API key from neoom.com/developers
Installation
git clone https://github.com/your-username/neoom-mcp.git
cd neoom-mcp
npm install
npm run build
Configuration
The server supports two modes, auto-detected from environment variables.
Local mode (recommended β full control, requires local network)
| Variable | Description |
|---|---|
BEAAM_IP |
IP address of your BEAAM on the local network (e.g. 192.168.1.100) |
BEAAM_API_KEY |
Bearer API key from neoom.com/developers |
Cloud mode (remote access, read-only energy data)
| Variable | Description |
|---|---|
NTUITY_CLIENT_ID |
OAuth Client ID from developer.neoom.com |
NTUITY_ACCESS_TOKEN |
OAuth access token (see setup below) |
NTUITY_REFRESH_TOKEN |
OAuth refresh token (see setup below) |
NTUITY_SITE_ID |
(optional) Pin to a specific site ID β skip the list_sites step |
Getting cloud tokens (one-time)
NTUITY_CLIENT_ID=<your_client_id> npm run oauth-setup
This opens your browser for neoom login, completes the PKCE OAuth flow, and prints the tokens to paste into your config.
Usage with VS Code + GitHub Copilot
Create .vscode/mcp.json in this workspace (already gitignored to protect your secrets):
Local mode:
{
"servers": {
"neoom-beaam": {
"type": "stdio",
"command": "node",
"args": ["${workspaceFolder}/build/index.js"],
"env": {
"BEAAM_IP": "192.168.1.100",
"BEAAM_API_KEY": "sk_beaam_..."
}
}
}
}
Cloud mode:
{
"servers": {
"neoom-beaam": {
"type": "stdio",
"command": "node",
"args": ["${workspaceFolder}/build/index.js"],
"env": {
"NTUITY_CLIENT_ID": "your_client_id",
"NTUITY_ACCESS_TOKEN": "your_access_token",
"NTUITY_REFRESH_TOKEN": "your_refresh_token",
"NTUITY_SITE_ID": "your_site_id"
}
}
}
}
Then open Copilot Chat (Cmd+Shift+I), switch to Agent mode, and the tools will be available automatically.
Usage with Claude for Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"neoom-beaam": {
"command": "node",
"args": ["/absolute/path/to/neoom-mcp/build/index.js"],
"env": {
"BEAAM_IP": "192.168.1.100",
"BEAAM_API_KEY": "sk_beaam_..."
}
}
}
}
Usage with Claude Code CLI
claude mcp add --transport stdio neoom-beaam node -- /absolute/path/to/neoom-mcp/build/index.js
Set the env vars in your shell profile or prepend them when running Claude.
Available Tools
Local mode
| Tool | Description |
|---|---|
get_energy_flow |
Current grid/PV/battery/SoC/self-sufficiency values |
list_things |
All connected devices with IDs and DataPoint keys |
get_thing_states |
Per-device metrics by Thing ID |
set_battery_power |
Set battery TARGET_POWER in Watts (+charge / βdischarge) |
set_ev_charger_limit |
Set EV charger MAX_CURRENT_CHARGE in Ampere |
Cloud mode
| Tool | Description |
|---|---|
get_energy_flow |
Current energy flow (requires site_id or NTUITY_SITE_ID) |
list_sites |
All sites accessible to the authenticated account |
Example Prompts
How much solar am I producing right now?
What is my battery state of charge?
Set my battery to charge at 3000W.
List all devices connected to my BEAAM.
What is the current state of my battery master?
Pause EV charging.
Am I currently exporting to the grid?
Project Structure
src/
βββ index.ts # MCP server β tool registration, mode detection
βββ neoom-client.ts # Local BEAAM REST API client
βββ ntuity-client.ts # ntuity cloud API client with OAuth token refresh
βββ oauth-setup.ts # One-time CLI helper for cloud OAuth PKCE flow
build/ # Compiled JavaScript (run npm run build)
.vscode/
βββ mcp.json # Your local config with secrets (gitignored)
βββ mcp.json.example # Template to share with others
Development
npm run build # Compile TypeScript
npm run dev # Watch mode (tsc --watch)
npm run oauth-setup # Run cloud OAuth setup
Security
.vscode/mcp.jsonis gitignored β your IP and API keys will not be committed.- Use
.vscode/mcp.json.exampleas a template to share the config structure without secrets. - Never commit
.envfiles or tokens to version control.
License
This project is licensed under the MIT License.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.