Back to Home
marco110 icon

MCP-Server_for_Xiaozhi

by marco110

Overview

Provides real-time vehicle data to an AI agent (Xiaozhi) via the Model Context Protocol (MCP) using a Node.js server.

Installation

Run Command
node index.js

Environment Variables

  • AUTH_TOKEN
  • API_TIMEOUT

Security Notes

CRITICAL: The `getToken` function in `mcp-server.js` contains hardcoded login credentials (`loginName`, `loginPwd`) for an external API. The `AUTH_TOKEN` in `API_CONFIG` has a hardcoded default value ('your-authorization-token') if the `AUTH_TOKEN` environment variable is not set. The `index.js` file imports a token from `./token.js` which likely contains another hardcoded secret, though the file content isn't provided. These hardcoded secrets pose significant security risks.

Similar Servers

Stats

Interest Score0
Security Score3
Cost ClassLow
Avg Tokens200
Stars0
Forks0
Last Update2025-12-06

Tags

MCPAI IntegrationVehicle DataRealtimeNode.js