import { Card } from '@/components/ui/Card'; import { Input } from '@/components/ui/Input'; import { Button } from '@/components/ui/Button'; import { useAuth } from '@/context/AuthContext'; import { useToast } from '@/context/ToastContext'; export function SettingsPage() { const { token, serverUrl, setToken, setServerUrl } = useAuth(); const { toast } = useToast(); return (
当 Dashboard 由同一个 Express 服务器提供时留空。设置为例如{' '}
http://192.168.1.100:3000 用于远程服务器。
Token 来自环境变量 BEARER_TOKEN 或文件{' '}
.social-mcp/bearer-token。
Social MCP — 多平台社交媒体自动化
版本:0.1.0
技术栈:React 19 + TypeScript + Tailwind CSS