MCP.so
ログイン

MCP Starwars

@johnpapa

基本情報

カテゴリ

その他

ライセンス

MIT

トランスポート

stdio

作者

johnpapa

投稿者

John Papa

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 Starwars の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "mcp-starwars": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@johnpapa/mcp-starwars",
        "--client",
        "claude"
      ]
    }
  }
}

MCP Starwars のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

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

よくある質問

1

What data does Mcp Starwars use?

All data is fetched from the SWAPI documentation at [swapi.dev](https://swapi.dev).

2

What runtime does Mcp Starwars require?

Node.js version 20 or higher.

3

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.

4

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`.

5

Does Mcp Starwars require any authentication or API keys?

No, the SWAPI API is public and requires no authentication.

コメント

「その他」の他のコンテンツ