UNPKG

matter-controller-mcp

Version:

An MCP server for Matter Controller, enabling AI agents to control and interact with Matter devices.

38 lines (37 loc) 970 B
#!/usr/bin/env node /** * @license * Copyright 2022-2025 Matter.js Authors * SPDX-License-Identifier: MIT */ /** * Matter Controller MCP Server * Provides Matter device control capabilities through the Model Context Protocol */ import { Server } from '@modelcontextprotocol/sdk/server/index.js'; export declare const createServer: () => { server: Server<{ method: string; params?: { [x: string]: unknown; _meta?: { [x: string]: unknown; progressToken?: string | number | undefined; } | undefined; } | undefined; }, { method: string; params?: { [x: string]: unknown; _meta?: { [x: string]: unknown; } | undefined; } | undefined; }, { [x: string]: unknown; _meta?: { [x: string]: unknown; } | undefined; }>; cleanup: () => Promise<void>; };