BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/smithery/smithery-tool-detail-dialog

Smithery Tool Detail Dialog

smithery/smithery-tool-detail-dialog
FreeBlock

A dialog component for viewing tool details, executing tools with parameters, and displaying code samples.

Install it

npx shadcn@latest add https://smithery.chat/r/smithery-tool-detail-dialog.json

Source

registry/new-york/smithery/connection-context.tsxsmithery.chat/r/smithery-tool-detail-dialog.json
1"use client";
2
3import { createContext, useContext } from "react";
4
5// Context for connection config - consumed by ToolDetailDialog for code generation
6export interface ConnectionConfig {
7 mcpUrl: string;
8 apiKey: string;
9 namespace: string;
10 connectionId: string;
11}
12
13export const ConnectionConfigContext = createContext<ConnectionConfig | null>(
14 null,
15);
16
17export function useConnectionConfig() {
18 return useContext(ConnectionConfigContext);
19}

What it pulls in

npm packages

  • ai
  • lucide-react
  • react-hook-form
  • tokenx
  • shiki

Other registry items

  • badge
  • button
  • dialog
  • field
  • input
  • select
  • switch
  • tabs
  • textarea

Files it writes

  • registry/new-york/smithery/connection-context.tsx
  • registry/new-york/smithery/code-block.tsx
  • registry/new-york/smithery/tool-detail-dialog.tsx

Facts

Registry
smithery
Type
registry:block
Access
Free
Files written
3
Licence
the repository states none
First indexed
2026-08-04
Last confirmed
today

Go to the source

smithery.chat smithery-ai/openchat on GitHub Raw registry item This item as JSON

More from smithery

All 10 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
SmitherysmitherysmitheryBlocksFree9 deps · 11 files
Smithery Connection Contextsmithery-connection-contextsmitheryBlocksFreeno deps
Smithery Connectionssmithery-connectionssmitheryBlocksFree8 deps · 9 files
Smithery Schema Formsmithery-schema-formsmitheryBlocksFree1 dep
Smithery Server Searchsmithery-server-searchsmitheryBlocksFree3 deps · 3 files
Smithery Tokenssmithery-tokenssmitheryBlocksFree3 deps
Smithery Tool Cardsmithery-tool-cardsmitheryBlocksFree5 deps · 4 files
Smithery Tools Panelsmithery-tools-panelsmitheryBlocksFree5 deps · 5 files
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex