Merge remote-tracking branch 'upstream/main'

This commit is contained in:
sw3205933776 2025-08-03 13:59:10 +08:00
commit e1ceaeed52
2 changed files with 13 additions and 1 deletions

2
.gitignore vendored
View file

@ -39,3 +39,5 @@ yarn.lock
.cursor
# Public directory (large media files)
public/

View file

@ -33,7 +33,17 @@ export default function SettingMCP() {
const [showAdd, setShowAdd] = useState(false);
const [addType, setAddType] = useState<"local" | "remote">("local");
const [localJson, setLocalJson] = useState(
`{ "mcpServers": { "firecrawl": { "command": "npx", "args": [ "-y", "firecrawl-mcp" ], "env": { "FIRECRAWL_API_KEY": "{{apiKey@string::Get the api key from https://firecrawl.dev/}}" } } } }`
`{
"mcpServers": {
"sequential-thinking": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sequential-thinking"
]
}
}
}`
);
const [remoteName, setRemoteName] = useState("");
const [remoteUrl, setRemoteUrl] = useState("");