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
node index.jsEnvironment 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
emceepee
A proxy server enabling AI agents to dynamically connect to and interact with multiple Model Context Protocol (MCP) backend servers, exposing the full MCP protocol via a simplified tool interface or a sandboxed JavaScript execution environment.
ShellFusion-mcp-server
A full-stack application for managing tickets, with a Python-based Model Context Protocol (MCP) server to enable AI assistant integration for interacting with the backend API.
MCP-Client-Server-Project-using-NodeJS
Facilitate client-server communication using the Model Context Protocol (MCP) with integrated AI capabilities for querying and managing user data.
mcp-server
This server implements the Model Context Protocol (MCP) to define and expose AI-powered tools, such as a simple addition tool, via inter-process communication.