Miru MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Miru MCP or direct API to inspect devices, check configurations, track deployments, and manage connected hardware fleets through natural language.

Miru logoMiru
Api Key

Miru is a device configuration and deployment platform for connected hardware fleets. It helps teams manage device settings, deployments, and fleet operations from one place.

52 Tools

Try Miru now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Miru
Try asking
TOOLS

Supported Tools

Every Miru action and event your agent gets out of the box.

Archive Deployment

Archive a staged or drifted deployment so it cannot be deployed.

Archive Device

Archive a device, revoke its agent session, and stop workspace participation.

Archive Release

Archive an existing release while retaining its record.

Create Config Instance

Create configuration content bound to a config schema slot.

Create Config Schema

Create a schema, its filesystem slots, schema documents, and an optional git-commit link for a config type.

Create Config Type

Create a named configuration type with an immutable code-friendly slug.

Create Deployment

Stage a new deployment or immediately queue it for its target device.

Create Device

Create a new Miru device record ready for agent activation.

Create Group

Create a top-level or nested device group.

Create Provisioning Token

Create a short-lived device provisioning credential.

Create Release

Create a versioned Miru release from config schemas and an optional registered git commit.

Delete Device

Permanently delete a device that has no deployments or calibrations; archive devices with history instead.

Delete Release

Permanently delete a release that has no deployments.

Deploy Deployment

Trigger a staged Miru deployment on its target device.

Download Config Instance Content

Download the raw serialized content of a config instance as a bounded file reference.

Get API Key

Retrieve API-key metadata and granted scopes by ID, including deleted keys; the secret is never returned.

Get Calibration

Retrieve an immutable device calibration by ID, optionally including its content.

Get Config Instance

Retrieve a config instance and its schema, type, creator, or content expansions by ID.

Get Config Schema

Retrieve a configuration schema and optional documents, config type, git links, or creator by ID.

Get Config Type

Retrieve a logical configuration type and optional creator or archiver by ID.

Get Current Principal

Return the identity and type of the principal represented by the connected API key.

Get Deployment

Retrieve deployment state and optional related resources by deployment ID.

Get Device

Retrieve a workspace device and optional deployment, release, group, or principal expansions by ID.

Get File Rule

Retrieve one file retention and upload rule by its Miru ID.

Get Git Commit

Retrieve one registered source-control commit by its Miru ID.

Get Group

Retrieve one Miru device group by ID, with optional parent or creator details.

Get Release

Retrieve one Miru software/configuration release by ID.

Get Upload

Retrieve one device upload ledger entry by its Miru ID.

Get Upload Collection

Retrieve one Miru upload collection by ID.

Get User

Retrieve one current, departed, or suspended Miru workspace user by ID.

List API Keys

List API-key metadata and granted scopes in the workspace; secrets are never returned.

List Calibrations

List immutable device calibrations, optionally filtered by device, component, serial number, or report.

List Config Instances

List stored configuration values and their schema, type, and slot bindings.

List Config Schemas

List Miru configuration schemas, optionally filtering by schema or config type and expanding documents, config types, git links, creators, or the total count.

List Config Types

List logical Miru configuration types by ID, name, slug, or archived state.

List Deployment Drifts

List deployments applied after a deployment was staged to assess drift.

List Deployments

List deployment state by device, release, target, activity, or error status without changing hardware.

List Devices

List workspace devices and filter by identity, agent version, release, group, or status.

List File Rules

List file retention and upload rules by bucket or upload collection.

List Git Commits

List registered source commits by Miru ID or SHA.

List Groups

List device groups by ID, name, or parent group.

List Releases

List software/configuration releases by ID, version, or archived state.

List Upload Collections

List upload collections by ID, name, slug, or archived state.

List Uploads

List device uploads by device, file rule, collection, status, or bundle.

List Users

List current, departed, and suspended workspace users, optionally by ID.

Move Group

Move a device group under another group or make it top-level.

Ping Device

Send a connectivity ping to a Miru device and wait for its response.

Register Git Commit

Register source-control commit metadata for later schema and release provenance links.

Unarchive Release

Restore an archived release to active lifecycle state.

Update Config Type

Update an existing configuration type without changing its immutable slug.

Update Device

Update an existing Miru device.

Update Group

Update an existing device group without moving it.

SETUP GUIDE

Connect Miru MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["miru"],
  mcp: true,
});
Create a session scoped to Miru and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "List all devices in my Miru fleet",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Miru request
SETUP GUIDE

Connect Miru API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["miru"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Miru
3

Run Miru tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "List all devices in my Miru fleet" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Miru tool calls through the session, and print the final answer

Why Use Composio?

AI Native Miru Integration

  • Supports both Miru MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable device and deployment tool execution
  • Rich coverage for inspecting devices, configurations, and connected hardware fleets

Managed Auth

  • Securely stores and uses your Miru API key for agent requests
  • Central place to manage, scope, and revoke Miru access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Miru
  • Scoped, least privilege access to Miru devices, configurations, and deployments
  • Full audit trail of agent actions to support review and compliance
FRAMEWORKS

Use Miru with any AI Agent Framework

Choose a Framework you want to connect Miru with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Miru.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Miru tool your agent needs.Free to start.

Start building