Kachaka MCP サーバー

by comoc

176 downloads Not rated yet Apache-2.0 license

About

Kachaka MCP Server - Model Context Protocol server for Kachaka robot

Details

License
Apache-2.0 license

Explore

- Exposes robot status, map, and sensor data as MCP resources.
- Provides movement, shelf, system, and map operation tools.
- Offers prompt templates for AI interaction and error handling.
- Supports API key-based authentication and access control.
- Uses gRPC to communicate with the Kachaka API client.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Kachaka MCP サーバー
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

from pydantic import BaseModel
import os
import json
from pathlib import Path

class KachakaMCPConfig(BaseModel):
"""Kachaka MCP サーバーの設定"""
kachaka_host: str = "192.168.1.100:26400" # デフォルトのKachakaホスト
server_name: str = "Kachaka Robot"
log_level: str = "INFO"
auth_enabled: bool = False
api_keys: list[str] = []


def load_config() -> KachakaMCPConfig:
"""設定を読み込む"""

from mcp.server.fastmcp import FastMCP, Context
from typing import Dict, Any

def register_tools(mcp: FastMCP):
"""ツールの登録"""

@mcp.tool()
async def move_to_location(location_name: str, ctx: Context) -> str:
"""指定した場所にKachaakaを移動させる"""
kachaka_client = ctx.request_context.lifespan_context.kachaka_client

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "kachaka mcp \u30b5\u30fc\u30d0\u30fc": {
            "kachaka-mcp": {
                "command": "uv",
                "args": [
                    "sync"
                ]
            }
        }
    }
}

McpServers

{
    "kachaka-mcp": {
        "command": "uv",
        "args": [
            "sync"
        ]
    }
}
> [!WARNING] > 現在このリポジトリにあるコードは実験的なものであり、正常に動作しない可能性があります。

1. 概要

Kachaka MCPサーバー(kachaka-mcp)は、Kachakaの機能をModel Context Protocol(MCP)を通じて様々なAIモデルに提供するサーバーです。このサーバーにより、Claude、GPT-4、ローカルLLMなどのAIモデルがKachakaの状態を把握し、制御することができるようになります。

2. デプロイメント

2.1 uv syncを使ったインストール

uvをインストールします。(まだインストールしていない場合) kachaka-mcpを以下の手順でインストールします。 ```bash git clone https://github.com/pf-robotics/kachaka-mcp.git cd kachaka-mcp
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.