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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。