Back to Home
limaCoder icon

swapi-mcp-server-app

Verified Safe

by limaCoder

Overview

The server provides a Model Context Protocol (MCP) interface to query and retrieve information from the Star Wars API (SWAPI), offering tools for searching characters, planets, films, and fetching detailed character data, as well as a resource to list all films.

Installation

Run Command
npx swapi-mcp-server

Security Notes

The code does not use `eval` or similar dangerous functions. There is no obfuscation. Network requests are made to a public, well-known API (SWAPI) via `axios`. No hardcoded secrets (API keys, sensitive URLs, credentials) are found; the SWAPI base URL is public. Input schemas for tools are validated using `zod`. Error handling appears robust, returning text content and marking errors without exposing raw stack traces directly, reducing information leakage. Overall, it follows good security practices for its stated purpose.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens800
Stars0
Forks0
Last Update2025-11-27

Tags

Star WarsSWAPIAPI wrapperModel Context ProtocolData retrieval