Mcp Starwars
@johnpapa
Mcp Starwars について
MCP Server for the SWAPI Star Wars API. The main goal of the project is to show how an MCP server can be used to interact with APIs.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-starwars": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@johnpapa/mcp-starwars",
"--client",
"claude"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Mcp Starwars?
Mcp Starwars is a Model Context Protocol (MCP) server that provides access to the SWAPI Star Wars API, allowing AI assistants to query characters, planets, films, species, vehicles, and starships. It is designed to demonstrate how an MCP server can interact with external APIs.
How to use Mcp Starwars?
Install via npx (npx -y @johnpapa/mcp-starwars) or Docker, then configure as an MCP tool in VS Code or Claude Desktop. For local testing, clone the repository and run the MCP Inspector.
Key features of Mcp Starwars
- List and search Star Wars characters, planets, films, and more
- Fetch detailed entity information by unique ID
- Automatic pagination retrieves all results in one call
- Built-in caching for optimized API performance
- Cache management tools to clear or view cache statistics
- Seamless integration with MCP-compatible hosts (VS Code, Copilot, Claude)
Use cases of Mcp Starwars
- AI-powered Star Wars trivia and data exploration
- Building interactive chatbot experiences with Star Wars lore
- Educational demonstrations of MCP server capabilities
- Rapid prototyping of agentic workflows using structured API data
FAQ from Mcp Starwars
What data does Mcp Starwars use?
All data is fetched from the SWAPI documentation at swapi.dev.
What runtime does Mcp Starwars require?
Node.js version 20 or higher.
How do I install Mcp Starwars in VS Code?
Use the VS Code installation buttons in the README, or run code --add-mcp with the appropriate JSON configuration. You can also add it manually via VS Code settings or a .vscode/mcp.json file.
Can I run Mcp Starwars locally for testing?
Yes, clone the repository, install dependencies (npm install), build (npm run build), then start the MCP Inspector with npx @modelcontextprotocol/inspector node build/index.js.
Does Mcp Starwars require any authentication or API keys?
No, the SWAPI API is public and requires no authentication.
「その他」の他のコンテンツ
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Codelf
unbugA search tool helps dev to solve the naming things problem.
ACI: Open-Source Infra to Power Unified MCP Servers
aipotheosis-labsACI.dev is the open source tool-calling platform that hooks up 600+ tools into any agentic IDE or custom AI agent through direct function calling or a unified MCP server. The birthplace of VibeOps.
Blender
ahujasidOpen-source MCP to use Blender with any LLM
コメント