StreamDock MCP feature overview showing an agent-triggered action workflow
Stream Dock MCP: AI Agent Control with Claude Code and ChatGPT

You have already configured a useful StreamDock action, but still have to interrupt your AI session to trigger it yourself. An MCP connection can make supported actions accessible to a compatible agent, with the connected device and local software still part of the setup.

Stream Dock MCP lets an AI agent find and trigger actions you have already configured in StreamDock. Instead of stopping at a chat response, a compatible MCP client can list your actions, match a clear title and send a trigger request. Claude Code offers a local MCP setup path; ChatGPT integration depends on a supported connection method and the permissions available in your account.

The practical requirement is essential: a StreamDock device must be connected for an action to trigger successfully. Keep StreamDock running and use an agent on the same computer for the local setup described here.

What is Stream Dock MCP?

MCP stands for Model Context Protocol, a standard that connects AI clients with tools. StreamDock includes an MCP service that starts automatically with the application. Its documented local endpoint is http://localhost:28619/sse. No separate MCP service download is needed for the workflow in the supplied guide.

This gives your existing setup a second way to execute an action: you can use the configured hardware key or ask a connected AI agent to locate and trigger it. Explore the MiraBox Stream Dock collection to build the hardware side of that workflow.

From an AI prompt to an existing StreamDock action

The documented examples use an air purifier toggle and a fan toggle that are already configured in StreamDock. The agent identifies the appropriate action by title and requests execution. The original action, its plugin and its settings determine what happens.

  1. You configure and manually test an action in StreamDock.
  2. The AI agent queries the available actions and titles.
  3. It matches your request to the intended title and associated identifier.
  4. It sends a trigger request through MCP.
  5. You verify the actual result in the original application or on the controlled device.

MCP reuses the configured action; it does not automatically add support for every smart device or application. For example, an air purifier toggle still needs its underlying integration and configuration to work.

How to connect Claude Code to Stream Dock MCP

Run Claude Code and StreamDock on the same computer. Configure the action first, connect your StreamDock hardware and test the key manually. Then add the local SSE service using this command:

claude mcp add --transport sse streamdock-mcp http://localhost:28619/sse

This follows the SSE command format in the official Claude Code MCP documentation. It is a configuration example derived from the documented endpoint, rather than a claim of an independently tested client session. Reconnect or reload tools as required by your client and confirm that the service and tools are available.

For other MCP clients, add a server named streamdock-mcp with the same endpoint and select SSE where the client requires an explicit transport. Use the configuration structure required by that client; a URL entry alone is not a universal configuration file.

Can ChatGPT control Stream Dock through MCP?

ChatGPT supports custom MCP connections, but its hosted connection cannot directly reach localhost on your PC. A supported tunnel or reachable server connection is needed, along with the appropriate account permissions and tool access. See OpenAI's custom MCP connection guide for current requirements.

The StreamDock tutorial documents the local SSE workflow, not a complete ChatGPT tunnel configuration. Treat ChatGPT as an integration path requiring additional setup and verification. Confirm transport compatibility, discovered tools and action permissions before relying on it for control.

Useful prompts for AI agent desktop automation

Begin with discovery: “List the available StreamDock actions and their titles. Do not trigger anything yet.” Check the returned list, then use the exact title from your configuration.

  • “Find the action titled Air purifier toggle and trigger it once.”
  • “Find the action titled Fan toggle and trigger it once.”
  • “Trigger Air purifier toggle and Fan toggle once each.”

Use clear object-plus-action titles and avoid duplicates such as Button 1. If your titles are in Chinese, use those exact configured titles. Query the actions again after changing titles or connected devices. A toggle changes a state; verify the resulting state before requesting another toggle.

For a related workflow example, explore Home Assistant desk control and lighting scenes. Underlying action support remains specific to your installed integrations.

Choose hardware and verify your setup

Browse the Stream Dock product family or view the MiraBox 293S product page. Check current hardware and software requirements when building your setup. The MCP endpoint belongs to the StreamDock application; triggering documented actions requires connected hardware.

If the agent cannot connect, confirm that StreamDock is running, the endpoint is correct and the client supports SSE. If an action fails, check the hardware connection and test the action manually. An execution response should be followed by a check of the actual application or device state.

Frequently Asked Questions

Does StreamDock have a built-in MCP server?

Yes. The supplied tutorial states that its MCP service is built in and starts automatically with StreamDock at http://localhost:28619/sse.

Can AI agents control existing StreamDock actions?

Yes. A connected compatible client can list actions, match a title and send a trigger request. The action must already be configured and a StreamDock device must be connected.

Can I use Claude Code?

Claude Code documents support for SSE MCP connections. Configure the local endpoint using its SSE transport and verify discovery and execution in your installation.

Can I paste the localhost URL directly into ChatGPT?

A hosted ChatGPT connection cannot directly reach your PC's localhost. It requires a supported connection path and appropriate permissions; the local StreamDock guide does not provide a complete ChatGPT setup.

Will MCP create actions or configure plugins for me?

The documented workflow lists and triggers existing actions. It does not establish automatic action creation or plugin configuration.

Can actions run without StreamDock hardware?

No. The supplied guide explicitly requires a connected StreamDock device for successful triggering.

Join the MiraBox Community

Want to share your setup, ask workflow questions, or follow MiraBox updates? Join the MiraBox community on Discord, Reddit, SPACE, and the MiraBox Forum.

이전 다음