Skip to main content
Glama

Marvel MCP

by DanWahlin
MIT License
6
11
  • Linux
  • Apple
index.ts682 B
// src/tools/get_comics_for_character/index.ts import { ComicDataWrapperSchema } from "../schemas.js"; import { httpRequest, serializeQueryParams } from "../../utils.js"; import { GetComicsForCharacterSchema } from "./schemas.js"; export const get_comics_for_character = { description: `Fetch Marvel comics filtered by character ID and optional filters.`, schema: GetComicsForCharacterSchema, handler: async (args: any) => { const { characterId, ...rest } = GetComicsForCharacterSchema.parse(args); const res = await httpRequest(`/characters/${characterId}/comics`, serializeQueryParams(rest)); return ComicDataWrapperSchema.parse(res); } };

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DanWahlin/marvel-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server