Merge branch 'main' into bugfix/issue-114

This commit is contained in:
Jack Steam
2024-12-19 08:24:44 -07:00
committed by GitHub
2 changed files with 16 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ The inspector runs both a client UI (default port 5173) and an MCP proxy server
CLIENT_PORT=8080 SERVER_PORT=9000 npx @modelcontextprotocol/inspector build/index.js CLIENT_PORT=8080 SERVER_PORT=9000 npx @modelcontextprotocol/inspector build/index.js
``` ```
For more details on ways to use the inspector, see the [Inspector section of the MCP docs site](https://modelcontextprotocol.io/docs/tools/inspector). For more details on ways to use the inspector, see the [Inspector section of the MCP docs site](https://modelcontextprotocol.io/docs/tools/inspector). For help with debugging, see the [Debugging guide](https://modelcontextprotocol.io/docs/tools/debugging).
### From this repository ### From this repository

View File

@@ -1,5 +1,5 @@
import { useState } from "react"; import { useState } from "react";
import { Play, ChevronDown, ChevronRight } from "lucide-react"; import { Play, ChevronDown, ChevronRight, CircleHelp, Bug } from "lucide-react";
import { Button } from "@/components/ui/button"; import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input"; import { Input } from "@/components/ui/input";
import { import {
@@ -220,7 +220,7 @@ const Sidebar = ({
</div> </div>
</div> </div>
<div className="p-4 border-t"> <div className="p-4 border-t">
<div className="flex items-center space-x-2"> <div className="flex items-center justify-between">
<Select <Select
value={theme} value={theme}
onValueChange={(value: string) => onValueChange={(value: string) =>
@@ -236,6 +236,19 @@ const Sidebar = ({
<SelectItem value="dark">Dark</SelectItem> <SelectItem value="dark">Dark</SelectItem>
</SelectContent> </SelectContent>
</Select> </Select>
<div className="flex items-center space-x-2">
<a href="https://modelcontextprotocol.io/docs/tools/inspector" target="_blank" rel="noopener noreferrer">
<Button variant="ghost" title="Inspector Documentation">
<CircleHelp className="w-4 h-4 text-gray-800" />
</Button>
</a>
<a href="https://modelcontextprotocol.io/docs/tools/debugging" target="_blank" rel="noopener noreferrer">
<Button variant="ghost" title="Debugging Guide">
<Bug className="w-4 h-4 text-gray-800" />
</Button>
</a>
</div>
</div> </div>
</div> </div>
</div> </div>