Skip to content

MCP servers configured in user settings do not work in automation-triggered conversations #93

@jpshackelford

Description

@jpshackelford

Problem

MCP servers configured in the user's OpenHands SaaS workspace settings work correctly in regular SaaS conversations but do not work in automation-triggered conversations.

Observed Behavior

  • Regular conversations: MCP tools are available and functional
  • Automation conversations: The automation script calls workspace.get_mcp_config() but returns empty/no servers, so MCP tools are not available

Expected Behavior

Automation-triggered conversations should have access to the same MCP servers configured in the user's workspace settings.

Reproduction

  1. Configure an MCP server in OpenHands SaaS workspace settings
  2. Verify it works in a regular conversation
  3. Create an automation that attempts to use MCP tools
  4. Observe that MCP tools are not available in the automation

Environment

  • Automation service uses sdk_main.py template which calls workspace.get_mcp_config()
  • The SDK method fetches from /api/v1/users/me endpoint

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions