Power your agent
Perintah milik penerbit sendiri. Bukan endpoint PlugMCP.
Host a copy with our keys and logs.
npx -y @fleetless/[email protected]Claude Code tidak punya tautan instal untuk perintah lokal. Salin perintah di bawah dan jalankan di terminal.
claude mcp add fleetless-sdk -- npx -y @fleetless/sdk@4.5.0Jalankan di terminal.
{ "mcpServers": { "fleetless-sdk": { "command": "npx", "args": [ "-y", "@fleetless/[email protected]" ] } }}claude_desktop_config.json
URL remote atau perintah di mesin Anda? Perbedaan kedua cara instal
Jalankan di PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
BukaYour robot, as an API. This is the client.
Fleetless turns a ROS 2 robot into a hosted REST and realtime API. The robot runs the Fleetless Bridge, and in the Fleetless Console a developer picks which topics, services, actions, publishers and cameras it exposes, each under a stable slug and behind a role. Your app talks to those slugs over HTTPS and never learns a ROS name, a topic type or a message definition.
This package is the official TypeScript client for that API. It handles the sessions, the reconnects, the subscriptions and the errors, so your code can get on with the part that is actually about your robot. Framework-agnostic, ESM and CJS, types included.
Fleetless is in closed beta. The waiting list is at https://fleetless.dev/#waiting-list.
FleetlessError with a stable code.npm i @fleetless/sdk
That installs latest, the version the Fleetless cloud runs in production. A
newer release may already be on npm under the dist-tag staging while it is
being tested; next carries pre-releases.
You need an app identifier and an app user of that app, both created in the console. A console login is a Fleetless user, a different identity space, and will not sign in here.
import { createClient } from '@fleetless/sdk'
const client = createClient({
apiUrl: 'https://api.fleetless.dev',
appIdentifier: 'warehouse_dash', // your app's identifier, shown in the console
})
await client.auth.login('[email protected]', 'correct-horse-battery')
const robotId = '4f2c1a90-7b3e-4d51-9c86-0a1b2c3d4e5f' // the console shows it
// One-shot read.
const battery = await client.datapoints.get(robotId, 'battery_percentage')
console.log(battery.value, battery.timestamp_ms)
// Live updates: the current value first, then every change.
const subscription = client.datapoints.subscribe(robotId, 'battery_percentage', {
onEvent: (event) => console.log(event.value, event.timestamp_ms),
onError: (error) => console.error(error.code, error.message),
})
// Later:
subscription.unsubscribe()
await client.auth.logout()
battery_percentage is a slug you chose in the console, not a ROS topic.
Rename the node on the robot and your app never notices. Rename the slug and
it does.
The SDK runs wherever fetch and WebSocket exist: browsers, webviews,
Node 22 and newer, or server-side with a server key instead of a user session.
Node 20 does REST fine but ships no global WebSocket, so realtime there needs
one passed in through the WebSocket option.
Everything past this point lives at docs.fleetless.dev.
Questions, bug reports and feature requests: [email protected].
Email [email protected] rather than opening a public issue.
SECURITY.md says what is in scope for this package — tokens,
the PKCE verifier, the state value — and what belongs to the platform.
The public repository is not open yet. Until it is, send patches and questions to [email protected], after reading CONTRIBUTING.md for the setup, the checks and the Contributor Licence Agreement.
By participating you agree to the Code of Conduct.
MIT — see LICENSE. Maintained by Dehne Robotik GmbH.
The official TypeScript SDK for Fleetless client apps — a ROS 2 robot as a REST and realtime API, cameras, jobs, and the app's own user accounts, federated sign-in and MCP consent.
{ "mcpServers": { "fleetless-sdk": { "command": "npx", "args": [ "-y", "@fleetless/[email protected]" ] } }}Tool
Belum ada daftar tool. Server remote mendapatkannya setelah pemeriksaan kesehatan pertama.
FAQ
Salin konfigurasi stdio untuk Cursor, Claude Desktop, Claude Code, atau VS Code di halaman ini. Konfigurasi ini memakai instalasi dari penerbit, bukan proxy PlugMCP.
Tidak ada variabel lingkungan wajib yang tercantum di catatan ini.
@fleetless/sdk berjalan secara lokal melalui stdio.
Terakhir diperiksa 2026-10-28. The official TypeScript SDK for Fleetless client apps — a ROS 2 robot as a REST and realtime API, cameras, jobs, and the app's own user accounts, federated sign-in and MCP consent.