StreamDock MCP Setup: Connect Your Agent and Trigger Actions
StreamDock MCP Setup: Connect Your Agent and Trigger Actions

Give an action a clear title, connect your AI agent, and trigger the action by name. Stream Dock MCP lets a compatible agent work with actions you have already configured in Stream Dock, without a separate MCP plugin installation.

This guide covers the local connection, action naming, a first test, and common connection problems. Agent settings vary by client, so use your client's supported MCP configuration format.

Before You Begin

  • Connect your Stream Dock device. Actions cannot be triggered without a connected device.
  • Open Stream Dock and keep it running. Its built-in MCP service starts with the application.
  • Run your agent client on the same computer and confirm that it supports this SSE service.
  • Configure and manually test the action you want to use before asking an agent to trigger it.

StreamDock MCP setup workflow: launch StreamDock, name an action, connect an agent, and test

Setup workflow illustration.

1. Prepare an Action and Give It a Clear Title

In Stream Dock, drag the desired action onto a key. Complete the action's own settings, then press the key to confirm that it works.

Select that key and enter a descriptive name in Title. An object plus an action works well: Air purifier toggle or Fan toggle, for example. Avoid duplicate titles or vague names such as "Button 1."

English-localized StreamDock screenshot showing the Air purifier toggle title

English-localized screenshot: the Title field identifies the configured action.

The examples shown use existing device-control actions. MCP does not replace the setup required by those actions or their plugins. You can start with another action that you have configured and tested.

English-localized StreamDock screenshot showing a separate Fan toggle title

Give each action a distinct title so the agent can tell them apart. Interface labels have been localized into English for this guide.

2. Connect Your Agent to Stream Dock MCP

Open your agent client's MCP settings and add the following service:

  • Service name: streamdock-mcp
  • Service URL: http://localhost:28619/sse

If your client accepts JSON configuration, the service mapping is:

{
  "streamdock-mcp": {
    "url": "http://localhost:28619/sse"
  }
}

This is a service mapping, not a complete configuration file for every agent. Place it inside the structure your client requires and keep any existing server entries.

StreamDock MCP service configuration with the localhost SSE endpoint

Connection settings illustration. Use the enclosing configuration structure required by your agent client.

Save the configuration, then reconnect or reload tools as your client requires.

Keep the connection local: localhost means the computer where the agent client runs. A remote or cloud-hosted agent cannot use this address to reach Stream Dock on your PC. This guide does not require opening a public port.

3. List Actions Before Triggering One

Start with a read-only request:

List the available Stream Dock actions and their titles. Do not trigger anything yet.

Check the returned titles. Once the correct action appears, ask for one deliberate test:

Find the action titled Air purifier toggle and trigger it once.

Replace the example title with the exact title on your device. Check the result before requesting another action. A toggle changes the current state, so repeating the request may reverse the first result.

The agent should find the title in a fresh action query and use the associated action identifier. After changing titles or switching devices, list the actions again rather than relying on an earlier result.

For your first test, choose an action with a predictable, low-impact result. Review requests that could start a stream, send a message, or affect other people before allowing execution.

Troubleshooting

The Agent Cannot Connect

Check that Stream Dock is running, the URL is exactly http://localhost:28619/sse, and the agent client runs on the same computer. Confirm that the client supports the supplied SSE connection, then save and reload its MCP tools.

The Action Is Missing or the Wrong Action Is Selected

Confirm that the action is configured on the connected device and has a unique title. Ask the agent to list actions again. If two titles match, rename one before triggering either.

The Action Is Listed but Does Not Run

Make sure the device is connected, then test the key manually. If the manual test fails, complete the underlying action or plugin settings first. MCP triggers a configured action; it does not supply missing configuration.

It Stopped Working After a Change

Keep Stream Dock open, confirm the current device connection, and refresh the agent's action list. Reconnect the MCP service if your client still shows stale tools or results.

Start with one reliable action. Once the connection and title matching work, add more clearly named controls to suit your workflow.

Related Resources

이전 다음