JM

johnpapa/mcp-starwars

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

10 stars 6 forks Качество 67 Тренд 18MIT

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 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. : All data used by this MCP server is fetched from the SWAPI documentation](https://swapi.dev). - : Get character data with optional search filters and automatic pagination - : Access all Star Wars entity collections with search capabilities - : Get detailed information about specific characters, planets, films, species, vehicles, or starships - : Seamlessly retrieve all pages of data with a single API call - : Optimize performance with intelligent API response caching - : Clear cache and view cache statistics to monitor performance - : Register this server with Model Context Protocol (MCP) tools (VS Code, Claude, etc.

README

Показан фрагмент оригинального README. Открыть оригинал.

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.

Note: All data used by this MCP server is fetched from the SWAPI documentation](https://swapi.dev).

🔧 Features

  • List Star Wars Characters: Get character data with optional search filters and automatic pagination
  • List Planets, Films, Species, Vehicles, and Starships: Access all Star Wars entity collections with search capabilities
  • Fetch Entity Details by ID: Get detailed information about specific characters, planets, films, species, vehicles, or starships
  • Automatic Pagination: Seamlessly retrieve all pages of data with a single API call
  • Built-in Caching: Optimize performance with intelligent API response caching
Открыть полный README на GitHub

Установка

npx -y @johnpapa/mcp-starwars
Новичок в MCP? Начните с руководства на mcpskill.org →