Skip to main content
Glama
kaman05010

MCP Wikipedia Server

by kaman05010
base.py662 B
from abc import ABC, abstractmethod from inspect import isclass from typing import ( Any, Generic, TypeVar, ) from typing_extensions import TypeGuard from langgraph.pregel._scratchpad import PregelScratchpad V = TypeVar("V") U = TypeVar("U") __all__ = ("ManagedValueSpec", "ManagedValueMapping") class ManagedValue(ABC, Generic[V]): @staticmethod @abstractmethod def get(scratchpad: PregelScratchpad) -> V: ... ManagedValueSpec = type[ManagedValue] def is_managed_value(value: Any) -> TypeGuard[ManagedValueSpec]: return isclass(value) and issubclass(value, ManagedValue) ManagedValueMapping = dict[str, ManagedValueSpec]

Latest Blog Posts

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/kaman05010/MCPClientServer'

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