Skip to main content
Glama

Marketfiyati MCP Server

by yibudak
lifespan.py684 B
from __future__ import annotations from collections.abc import Callable from contextlib import AbstractAsyncContextManager, asynccontextmanager from fastapi import FastAPI LifespanContext = Callable[[FastAPI], AbstractAsyncContextManager[None]] def merge_lifespans( existing: LifespanContext | None, extra: LifespanContext, ) -> LifespanContext: @asynccontextmanager async def _lifespan(application: FastAPI): if existing is not None: async with existing(application): async with extra(application): yield else: async with extra(application): yield return _lifespan

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/yibudak/marketfiyati_mcp'

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