Skip to main content
Glama

NWO 로보틱스 MCP 서버 v2.0

SLAM, 강화 학습, 고급 센서 및 전체 로봇 시스템 제어를 포함하는 77개의 통합 도구를 갖춘 NWO 로보틱스 API용 완전한 MCP(Model Context Protocol) 서버입니다.

License: MIT Node.js TypeScript Status

📋 개요

이 MCP 서버는 우선순위와 기능별로 정리된 77개의 도구를 갖춘 통합 인터페이스를 통해 모든 NWO 로보틱스 API 엔드포인트에 대한 포괄적인 액세스를 제공합니다.

✨ 주요 기능

  • 77개의 통합 도구 - 전체 API 커버리지

  • SLAM 및 위치 추정 - 지속적인 로봇 매핑 및 내비게이션

  • 강화 학습 - 클라우드 RL 학습 (PPO, SAC, DDPG, TD3)

  • 고급 센서 - 열화상, 밀리미터파(MMWave), 가스, 음향, 자기 센서

  • 비전 및 접지(Grounding) - 오픈 어휘 객체 탐지

  • 촉각 센싱 - ORCA Hand 576-taxel 피드백

  • 모션 계획 - 충돌 회피 기능이 포함된 MoveIt2 통합

  • 작업 계획 - 행동 트리를 사용한 계층적 작업 실행

  • ROS2 통합 - 실제 로봇(UR5e, Panda, Spot)을 위한 클라우드 브리지

  • 안전 모니터링 - 실시간 안전 검증 및 비상 정지

  • MQTT IoT - 엣지 컴퓨팅을 통한 1000개 이상의 에이전트 지원

  • 자율 에이전트 - 자체 등록 및 ETH 기반 결제

🚀 빠른 시작

1. 저장소 복제

git clone https://github.com/RedCiprianPater/mcp-server-robotics.git
cd mcp-server-robotics

2. 의존성 설치

npm install

3. 환경 설정

cp .env.example .env
# Edit .env and add your NWO_API_KEY
nano .env

4. 빌드 및 실행

npm run build
npm start

5. 실제 테스트

# The server will start and display available tools
# You can now use any of the 77 tools through Claude

📦 포함된 내용

파일

  • src/index.ts - 전체 MCP 서버 구현 (77개 도구)

  • package.json - 의존성 및 빌드 스크립트

  • tsconfig.json - TypeScript 설정

  • Dockerfile - 컨테이너 배포

  • docker-compose.yml - MQTT 브로커를 포함한 전체 스택

  • .env.example - 환경 변수 템플릿

  • INTEGRATION_GUIDE.md - 상세 통합 지침

  • README.md - 이 파일

도구 카테고리

우선순위 1 - 고유 기능 (5개 도구)

✅ nwo_initialize_slam              - Persistent robot mapping
✅ nwo_localize                     - Landmark-based localization
✅ nwo_create_rl_env                - Cloud RL training environments
✅ nwo_train_policy                 - Policy training (SB3)
✅ nwo_detect_objects_grounding     - Open-vocabulary detection

우선순위 2 - 새로운 센서 (5개 도구)

✅ nwo_query_thermal                - Heat detection
✅ nwo_query_mmwave                 - Millimeter-wave radar
✅ nwo_query_gas                    - Air quality sensors
✅ nwo_query_acoustic               - Sound localization
✅ nwo_query_magnetic               - Metal detection

우선순위 3 - 고급 기능 (4개 도구)

✅ nwo_read_tactile                 - ORCA Hand 576 taxels
✅ nwo_identify_material            - Material recognition
✅ nwo_plan_motion                  - MoveIt2 motion planning
✅ nwo_execute_behavior_tree        - Hierarchical task execution

표준 작업 (58개 도구)

Inference & Models (6)              Robot Control (3)
Task Planning & Learning (4)        Agent Management (3)
Voice & Gesture (2)                 Simulation & Physics (3)
ROS2 & Hardware (3)                 MQTT & IoT (2)
Safety & Monitoring (3)             Embodiment & Calibration (3)
Autonomous Agents (4)               Dataset & Export (2)
Demo & Testing (2)

🔧 설정

API 키

https://nwo.capital/webapp/api-key.php 에서 무료 API 키를 받으세요.

export NWO_API_KEY="sk_live_your_key_here"

API 엔드포인트

# Standard API (full features)
NWO_API_BASE=https://nwo.capital/webapp

# Edge API (ultra-low latency, 200+ locations)
NWO_EDGE_API=https://nwo-robotics-api-edge.ciprianpater.workers.dev/api

# ROS2 Bridge (for physical robots)
NWO_ROS2_BRIDGE=https://nwo-ros2-bridge.onrender.com

# MQTT Broker (IoT sensors)
MQTT_BROKER=mqtt.nwo.capital
MQTT_PORT=8883

📖 사용 예시

예시 1: SLAM 및 내비게이션

// Initialize SLAM mapping
const slam = await client.messages.create({
  tools: [{name: "nwo_initialize_slam", input: {
    agent_id: "robot_001",
    map_name: "warehouse",
    slam_type: "hybrid",
    loop_closure: true
  }}]
});

// Later: Localize in the map
const localize = await client.messages.create({
  tools: [{name: "nwo_localize", input: {
    agent_id: "robot_001",
    map_id: "map_123",
    image: "base64_encoded_image"
  }}]
});

예시 2: 비전 기반 작업

// Detect objects with natural language
const detect = await client.messages.create({
  tools: [{name: "nwo_detect_objects_grounding", input: {
    agent_id: "robot_001",
    image: "base64_image",
    object_description: "red cylinder on the left",
    threshold: 0.85,
    return_mask: true
  }}]
});

// Execute action based on detection
const execute = await client.messages.create({
  tools: [{name: "nwo_inference", input: {
    instruction: "Pick up the detected object",
    images: ["base64_image"]
  }}]
});

예시 3: 복합 작업 계획

// Break down high-level instruction
const plan = await client.messages.create({
  tools: [{name: "nwo_task_planner", input: {
    instruction: "Clean the warehouse floor",
    agent_id: "robot_001",
    context: {
      location: "warehouse",
      known_objects: ["shelves", "boxes"]
    }
  }}]
});

// Execute subtasks
for (let i = 1; i <= 5; i++) {
  await client.messages.create({
    tools: [{name: "nwo_execute_subtask", input: {
      plan_id: "plan_123",
      subtask_order: i,
      agent_id: "robot_001"
    }}]
  });
}

예시 4: 센서 퓨전

const fusion = await client.messages.create({
  tools: [{name: "nwo_sensor_fusion", input: {
    agent_id: "robot_001",
    instruction: "Pick up the hot object carefully",
    images: ["base64_camera"],
    sensors: {
      temperature: {value: 85.5, unit: "celsius"},
      proximity: {distance: 0.15, unit: "meters"},
      force: {grip_pressure: 2.5},
      gps: {lat: 51.5074, lng: -0.1278}
    }
  }}]
});

예시 5: RL 정책 학습

// Create RL environment
const env = await client.messages.create({
  tools: [{name: "nwo_create_rl_env", input: {
    agent_id: "robot_001",
    task_name: "pick_place",
    reward_function: "success",
    sim_platform: "mujoco"
  }}]
});

// Train policy
const train = await client.messages.create({
  tools: [{name: "nwo_train_policy", input: {
    agent_id: "robot_001",
    env_id: "env_456",
    algorithm: "PPO",
    num_steps: 100000,
    learning_rate: 0.0003
  }}]
});

📊 성능 지표

작업

지연 시간

비고

표준 추론

100-120ms

EU 데이터센터

엣지 추론

25-50ms

전 세계 200개 이상의 위치

SLAM 초기화

200-500ms

이미지 품질에 따라 다름

SLAM 위치 추정

100-300ms

기존 맵 내

RL 학습 (단계당)

50-100ms

MuJoCo 시뮬레이션

작업 계획

500-1000ms

복잡한 분해

센서 퓨전

150-300ms

다중 센서 처리

비상 정지

<10ms

응답 보장

🐳 Docker 배포

간단한 Docker 실행

docker build -t mcp-nwo-robotics .
docker run -e NWO_API_KEY=sk_xxx mcp-nwo-robotics

Docker Compose (권장)

# Start full stack with MQTT broker
docker-compose up -d

# View logs
docker-compose logs -f mcp-nwo-robotics

# Stop
docker-compose down

프로덕션 배포

# Build for production
docker build -t mcp-nwo-robotics:prod .

# Push to registry
docker tag mcp-nwo-robotics:prod myregistry/mcp-nwo-robotics:latest
docker push myregistry/mcp-nwo-robotics:latest

# Deploy on Kubernetes
kubectl apply -f k8s-deployment.yaml

🔐 보안

API 키 관리

# Never commit API keys
echo "NWO_API_KEY=*" >> .gitignore
echo ".env" >> .gitignore

# Use environment variables or .env (in .gitignore)

속도 제한

  • 무료 티어: 월 100,000회 호출

  • 프로토타입: 월 500,000회 호출 (일 약 16,666회)

  • 프로덕션: 무제한 호출

사용량 모니터링:

const balance = await client.messages.create({
  tools: [{name: "nwo_agent_check_balance", input: {
    agent_id: "agent_123"
  }}]
});

안전 기능

  • 실시간 충돌 감지

  • 인간 근접 경고 (기본 1.5m)

  • 비상 정지 (<10ms 응답)

  • 힘/토크 제한 적용

  • 규정 준수를 위한 감사 로깅

🧪 테스트

테스트 실행

npm test
npm run test:watch

개별 도구 테스트

# Test SLAM
npm run dev -- --test nwo_initialize_slam

# Test inference
npm run dev -- --test nwo_inference

# Test sensor fusion
npm run dev -- --test nwo_sensor_fusion

📚 문서

🔗 통합 가이드

Claude API와 통합

import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic();

const response = await client.messages.create({
  model: "claude-3-5-sonnet-20241022",
  max_tokens: 4096,
  tools: tools, // All 77 NWO tools
  messages: [{
    role: "user",
    content: "Initialize SLAM mapping on robot_001"
  }]
});

LangChain과 통합

from langchain.chat_models import ChatAnthropic
from langchain.tools import StructuredTool

llm = ChatAnthropic(model_name="claude-3-sonnet-20240229")
tools = load_nwo_tools()
agent = initialize_agent(tools, llm, agent="tool-using-agent")

CrewAI와 통합

from crewai import Agent, Task, Crew
from nwo_tools import get_robotics_tools

tools = get_robotics_tools()
robot_agent = Agent(
    role="Robot Controller",
    goal="Control robots autonomously",
    tools=tools
)

🐛 문제 해결

문제: "유효하지 않거나 누락된 API 키"

# Solution: Check API key
echo $NWO_API_KEY

# If empty, set it:
export NWO_API_KEY="sk_your_actual_key"

# Or in .env:
NWO_API_KEY=sk_your_actual_key

문제: "API 오류 504: 게이트웨이 시간 초과"

# Solution: Use edge API for faster response
# Set: NWO_EDGE_API endpoint
# Tool: nwo_edge_inference instead of nwo_inference

문제: "충돌 감지됨"

# Solution: Validate trajectory before execution
# Use: nwo_simulate_trajectory to check collision
# Use: nwo_check_collision for detailed analysis

문제: "SLAM 매핑 실패"

# Solution: Ensure good image quality
# - Well-lit environment
# - Distinct visual features
# - Slow movement during initialization
# - Try visual instead of hybrid SLAM

📈 모니터링 및 분석

로그

# View real-time logs
npm run dev

# With custom log level
LOG_LEVEL=debug npm start

# Save to file
npm start > logs/server.log 2>&1

지표

# Monitor API usage
nwo_agent_check_balance

# Export dataset for analysis
nwo_export_dataset

# Check system health
GET /health (if enabled)

🎯 다음 단계

  1. 설정: npm install && npm run build

  2. 구성: .envNWO_API_KEY 추가

  3. 테스트: npm start 후 도구 로드 확인

  4. 통합: Claude API 또는 프레임워크와 함께 사용

  5. 배포: Docker Compose 또는 Kubernetes

  6. 모니터링: 로그 및 사용량 지표 확인

  7. 확장: 필요에 따라 티어 업그레이드

📞 지원

📝 버전 기록

v2.0.0 (현재 - 2026년 4월)

  • ✅ 총 77개 도구 구현

  • ✅ 우선순위 1: SLAM, RL, Grounding (5개)

  • ✅ 우선순위 2: 고급 센서 (5개)

  • ✅ 우선순위 3: 고급 기능 (4개)

  • ✅ 표준 작업 (58개)

  • ✅ 완전한 TypeScript 지원

  • ✅ Docker 및 Kubernetes 준비 완료

  • ✅ 프로덕션급 오류 처리

  • ✅ 전체 테스트 커버리지

v1.0.0 (이전)

  • 기본 도구 세트 (20개 도구)

  • 표준 추론만 지원

  • 수동 설정

📄 라이선스

MIT 라이선스 - 자세한 내용은 LICENSE 파일 참조

🙏 감사의 말

  • NWO 로보틱스 - API 및 인프라

  • Anthropic - Claude 및 MCP 프로토콜

  • 오픈 소스 커뮤니티 - 기여 및 피드백


최종 업데이트: 2026년 4월 상태: ✅ 프로덕션 준비 완료 관리자: @RedCiprianPater

⭐ 유용하다고 생각하시면 저장소에 별을 눌러주세요!


🔗 관련 프로젝트

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RedCiprianPater/mcp-server-robotics'

If you have feedback or need assistance with the MCP directory API, please join our Discord server