tomagoyaky
MCP Servertomagoyakypublic

mcp_car

一个用cursor自动写的一个MCP协议+Deepseek大语言模型结合的DEMO,你可以使用自然语言来操控这个小汽车

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
-
License

About This Server

一个用cursor自动写的一个MCP协议+Deepseek大语言模型结合的DEMO,你可以使用自然语言来操控这个小汽车

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

MCP汽车控制系统

这是一个基于MCP协议的汽车控制系统,支持通过自然语言控制汽车的各种动作。

功能特点

  • 支持5个基本动作:启动、停止、加速、刹车、转向
  • 使用自然语言控制
  • 基于WebSocket的实时通信
  • 集成DeepSeek AI进行自然语言处理

安装步骤

  1. 确保已安装Python 3.7+
  2. 克隆或下载本项目
  3. 安装依赖:
    pip install -r requirements.txt
    

配置

  1. 复制.env.example文件为.env

    cp .env.example .env
    
  2. .env文件中设置DeepSeek API密钥:

    DEEPSEEK_API_KEY=your_api_key_here
    

DeepSeek AI 模型

本系统使用DeepSeek AI模型来理解自然语言命令。DeepSeek模型可以:

  • 理解各种表达方式的命令,如"启动汽车"、"开始行驶"、"发动引擎"等
  • 处理复杂的指令,如"先左转再加速"、"减速并右转"等
  • 提供更智能的交互体验

如果您没有DeepSeek API密钥,系统会回退到简单的关键词匹配模式。

运行系统

  1. 双击运行run.bat脚本
  2. 等待服务器和客户端启动
  3. 在客户端窗口中输入命令,例如:
    • "启动汽车"
    • "加速前进"
    • "左转"
    • "右转"
    • "刹车"
    • "停止"

注意事项

  • 确保在运行系统前已正确配置API密钥
  • 服务器默认运行在localhost:8765
  • 输入"退出"可以关闭客户端程序

故障排除

如果遇到问题:

  1. 检查API密钥是否正确配置
  2. 确保所有依赖都已正确安装
  3. 检查服务器是否正在运行
  4. 查看错误消息获取具体问题信息

Quick Start

1

Clone the repository

git clone https://github.com/tomagoyaky/mcp_car
2

Install dependencies

cd mcp_car
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownertomagoyaky
Repomcp_car
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation