Skip to content

Support microagent repo.md with new MCP tool format #153

Closed

Description

@xingyaoww

Update microagent implementation to support loading mcp_tools formatted like this in the frontmatter and include a few test cases for it.

---
# This is a repo microagent that is always activated
# to include necessary default tools implemented with MCP
name: default-tools
type: repo
version: 1.0.0
agent: CodeActAgent
mcp_tools: {
  "mcpServers": {
    "fetch": {
      "command": "uvx",
      "args": ["mcp-server-fetch"]
    }
  }
}
# We leave the body empty because MCP tools will automatically add the
# tool description for LLMs in tool calls, so there's no need to add extra descriptions.
---

Activity

  1. added
    openhands
    on Sep 8, 2025
  2. openhands-ai commented on Sep 8, 2025

    @openhands-ai

    I'm on it! xingyaoww can track my progress at all-hands.dev

    🔴 Solvability: HARD

    This issue appears to be completely empty with no title or description provided, making it extremely difficult to understand what needs to be resolved. The lack of any contextual information, technical details, or problem description creates significant barriers to providing effective assistance.

    You can make the issue easier to resolve by addressing these concerns in the conversation:

    • Provide a clear and descriptive title that summarizes the problem you're experiencing
    • Add a detailed description explaining what you're trying to accomplish, what's going wrong, and what you expected to happen
    • Include relevant code snippets, error messages, or examples that demonstrate the issue

  3. added a commit that references this issue on Sep 8, 2025
    f2d6ed9
  4. openhands-ai commented on Sep 8, 2025

    @openhands-ai

    I have successfully implemented support for the new MCP tool format in microagent frontmatter as requested in issue #153.

    Key Accomplishments:

    The implementation now supports the exact format specified in the issue:

    mcp_tools:
      mcpServers:
        fetch:
          command: uvx
          args: ["mcp-server-fetch"]

    The changes are minimal, focused, and include proper error handling and type safety. Issue #153 is now ready for review and can be closed once the PR is merged.

    View full conversation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    openhands

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions