docs: mcp (#243)

* added mcp documentation

* added mcp docs
This commit is contained in:
dswbx
2025-08-30 10:15:56 +02:00
committed by GitHub
parent 5ed1cf19b6
commit 2de12674d9
19 changed files with 1534 additions and 1288 deletions

View File

@@ -42,7 +42,7 @@ export const JsonViewer = ({
copyIconProps = {},
className,
}: JsonViewerProps) => {
const size = showSize ? (json === null ? 0 : JSON.stringify(json).length) : undefined;
const size = showSize ? (!json ? 0 : JSON.stringify(json).length) : undefined;
const formattedSize = formatNumber.fileSize(size ?? 0);
const showContext = size || title || showCopy;