Skip to main content
Glama

propublica-mcp

token.py•763 B
from typing import Any, Optional from attrs import evolve, field from cyclopts.utils import UNSET, frozen @frozen(kw_only=True) class Token: """Tracks how a user supplied a value to the application.""" keyword: Optional[str] = None value: str = "" source: str = "" index: int = field(default=0, kw_only=True) keys: tuple[str, ...] = field(default=(), kw_only=True) implicit_value: Any = field(default=UNSET, kw_only=True) @property def address(self) -> tuple[tuple[str, ...], int]: """Hashable subkey destination address for this token.""" return (self.keys, self.index) def evolve(self, **kwargs) -> "Token": # TODO: replace return-hint with Self cp311 return evolve(self, **kwargs)

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/asachs01/propublica-mcp'

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