feat/mcp server change mcp name and fix mcp server can not set bearer token bug
This commit is contained in:
1 parent
224a209fea
commit
fdfe2c63bc
8 files changed
+54
-18
No files matched your search
@@ -21,7 +21,7 @@ interface DetailProps {
|
||||
name: string;
|
||||
}[];
|
||||
url?: string;
|
||||
|
||||
mcpName?: string;
|
||||
// navigation items
|
||||
navItems?: NavigationItem[];
|
||||
}
|
||||
@@ -30,6 +30,7 @@ export const Detail: React.FC<DetailProps> = ({
|
||||
product,
|
||||
breadcrumbs,
|
||||
url,
|
||||
mcpName,
|
||||
navItems = [],
|
||||
}) => {
|
||||
const { t } = useTranslation();
|
||||
@@ -154,7 +155,7 @@ export const Detail: React.FC<DetailProps> = ({
|
||||
<code className="text-gray-300 whitespace-pre-wrap">
|
||||
{`{
|
||||
"mcpServers": {
|
||||
"xpack-mcp-market": {
|
||||
"${mcpName || "xpack-mcp-market"}": {
|
||||
"type": "sse",
|
||||
"autoApprove":"all",
|
||||
"url": "${url}?apikey=`}
|
||||
|
||||
Reference in new issue
Block a user