{
  "markdown": "# SWAPI MCP\n\nA TypeScript-based Model Context Protocol (MCP) server that exposes Star Wars API data as MCP tools.\n\nThis project connects to the Star Wars API (SWAPI) and makes selected Star Wars information available through\nMCP-compatible clients using stdio transport.\n\n## Features\n\n- MCP server built with TypeScript\n- stdio-based MCP transport\n- Fetches Star Wars data from SWAPI\n- Tool schema validation with Zod\n- Includes Vitest test setup\n- Supports coverage reports\n\n## Tech Stack\n\n- TypeScript\n- Node.js\n- Model Context Protocol SDK\n- Zod\n- Vitest\n- tsx\n\n## Project Structure\n\ntext swapi-mcp/ \n├── src/ # Source code \n├── tests/ # Test files and mock data \n│ ├── api/ \n│ └── mock_data/ \n├── package.json \n├── package-lock.json \n├── tsconfig.json \n└── vitest.config.js\n\n\n## Requirements\n\n- Node.js 20 or newer\n- npm\n\nSome MCP-related dependencies require Node.js 20+, so using the latest LTS version is recommended.\n\n## Installation\n\n`npm install`\n\nClone the repository and install dependencies:\n\n## Available Scripts\n\n### Start the development server\n\n`npm run start`\n\nRuns the MCP server directly from TypeScript using `tsx`.\n\n### Build the project\n\n`npm run build`\n\nCompiles TypeScript into JavaScript using the TypeScript compiler.\n\n### Run tests\n\n`npm run test`\n\nWhen started, the server connects using stdio and can be used by MCP-compatible clients.\n\n## Available Tools\n\n### `get-list-of-star-wars-information`\n\nReturns a comma-separated list of available Star Wars information categories from SWAPI, such as:\n\n- people\n- planets\n- films\n- species\n- vehicles\n- starships\n\n### `get-information-of-star-wars-characters`\n\nReturns Star Wars character information exposed by the project’s character tool.\n\n## Example MCP Client Configuration\n\nYou can configure an MCP-compatible client to run this server with npm:\n\n```json \n{ \"mcpServers\": { \"swapi-mcp\": { \"command\": \"npm\", \"args\": [\"start\"] } } }\n```\n\nIf your client requires an absolute working directory, configure it like this:\n\n```json\n{ \"mcpServers\": { \"swapi-mcp\": { \"command\": \"npm\", \"args\": [\"start\"], \"cwd\": \"/absolute/path/to/swapi-mcp\" } } }\n```",
  "bytes": 2120,
  "sha": "68594699de9c0b8221cb4509c016be913864594358588cc533a21cfab8e94a50",
  "repo_slug": "abhishekjkrsna/swapi-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_abhishekjkrsna_swapi_mcp_884f3388/readme"
}