Home / Function/ mcp() — ui Function Reference

mcp() — ui Function Reference

Architecture documentation for the mcp() function in mcp.ts from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  f7beee8e_e5da_2573_86bb_8530e906c56f["mcp()"]
  8612e6f9_f842_9081_f6b2_e2d4a60804a4["mcp.ts"]
  f7beee8e_e5da_2573_86bb_8530e906c56f -->|defined in| 8612e6f9_f842_9081_f6b2_e2d4a60804a4
  style f7beee8e_e5da_2573_86bb_8530e906c56f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/shadcn/src/commands/registry/mcp.ts lines 13–22

  .action(async () => {
    logger.warn(
      `The ${highlighter.info(
        "shadcn registry:mcp"
      )} command is deprecated. Use the ${highlighter.info(
        "shadcn mcp"
      )} command instead.`
    )
    logger.break()
  })

Subdomains

Frequently Asked Questions

What does mcp() do?
mcp() is a function in the ui codebase, defined in packages/shadcn/src/commands/registry/mcp.ts.
Where is mcp() defined?
mcp() is defined in packages/shadcn/src/commands/registry/mcp.ts at line 13.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free