The Star Wars API and MCP Server. All the Star Wars data you've ever wanted.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add --transport http star-wars https://swapi.build/mcp~/.codex/config.toml
[mcp_servers.star-wars]
url = "https://swapi.build/mcp"
# codex mcp add star-wars --url https://swapi.build/mcp~/.cursor/mcp.json
{
"mcpServers": {
"star-wars": {
"url": "https://swapi.build/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"star-wars": {
"type": "http",
"url": "https://swapi.build/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"star-wars": {
"httpUrl": "https://swapi.build/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"star-wars": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://swapi.build/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"star-wars": {
"url": "https://swapi.build/mcp"
}
}
}