Skip to content

Magic 21st_magic_component_builder returns [object Object] #58

@Fusx7

Description

@Fusx7

Tool: mcp__magic__21st_magic_component_builder
Severity: Medium — tool returns unusable output; workaround exists

Steps to reproduce:

  1. Call mcp__magic__21st_magic_component_builder with valid message, searchQuery, absolutePathToCurrentFile, absolutePathToProjectDirectory, and standaloneRequestQuery

Expected: Returns a string containing the React component code.

Actual: Returns [object Object] — the MCP server returns a structured object that is not serialized to a string before being handed back to the client. The component code is inaccessible.

Workaround: Use mcp__magic__21st_magic_component_inspiration instead (works correctly, returns raw JSON array of components).

Environment: MacOS, Claude Code, Terminal

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