Skip to main content
Glama

Karakeep MCP server

by karakeep-app
NotConfiguredPage.tsx1.68 kB
import { useEffect, useState } from "react"; import { useNavigate } from "react-router-dom"; import { Button } from "./components/ui/button"; import { Input } from "./components/ui/input"; import Logo from "./Logo"; import usePluginSettings from "./utils/settings"; export default function NotConfiguredPage() { const navigate = useNavigate(); const { settings, setSettings } = usePluginSettings(); const [error, setError] = useState(""); const [serverAddress, setServerAddress] = useState(settings.address); useEffect(() => { setServerAddress(settings.address); }, [settings.address]); const onSave = () => { if (serverAddress == "") { setError("Server address is required"); return; } // Add URL protocol validation if ( !serverAddress.startsWith("http://") && !serverAddress.startsWith("https://") ) { setError("Server address must start with http:// or https://"); return; } setSettings((s) => ({ ...s, address: serverAddress.replace(/\/$/, "") })); navigate("/signin"); }; return ( <div className="flex flex-col space-y-2"> <Logo /> <span className="pt-3"> To use the plugin, you need to configure it first. </span> <p className="text-red-500">{error}</p> <div className="flex gap-2"> <label className="my-auto">Server Address</label> <Input name="address" value={serverAddress} className="h-8 flex-1 rounded-lg border border-gray-300 p-2" onChange={(e) => setServerAddress(e.target.value)} /> </div> <Button onClick={onSave}>Configure</Button> </div> ); }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/karakeep-app/karakeep'

If you have feedback or need assistance with the MCP directory API, please join our Discord server