Skip to main content
Glama

Marvel MCP

by DanWahlin
MIT License
6
11
  • Linux
  • Apple
index.ts571 B
// src/tools/get_comics/index.ts import { ComicDataWrapperSchema } from "../schemas.js"; import { httpRequest, serializeQueryParams } from "../../utils.js"; import { GetComicsSchema } from "./schemas.js"; export const get_comics = { description: `Fetches lists of Marvel comics with optional filters.`, schema: GetComicsSchema, handler: async (args: any) => { const argsParsed = GetComicsSchema.parse(args); const res = await httpRequest(`/comics`, serializeQueryParams(argsParsed)); 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