Skip to main content
Glama

propublica-mcp

integration.py•806 B
from flask import current_app from flask.signals import Namespace from ..base_client import FrameworkIntegration _signal = Namespace() #: signal when token is updated token_update = _signal.signal("token_update") class FlaskIntegration(FrameworkIntegration): def update_token(self, token, refresh_token=None, access_token=None): token_update.send( current_app, name=self.name, token=token, refresh_token=refresh_token, access_token=access_token, ) @staticmethod def load_config(oauth, name, params): rv = {} for k in params: conf_key = f"{name}_{k}".upper() v = oauth.app.config.get(conf_key, None) if v is not None: rv[k] = v return rv

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