Skip to main content
Glama

propublica-mcp

util.py•262 B
import binascii def encode_int(num, bits): length = ((bits + 7) // 8) * 2 padded_hex = f"{num:0{length}x}" big_endian = binascii.a2b_hex(padded_hex.encode("ascii")) return big_endian def decode_int(b): return int(binascii.b2a_hex(b), 16)

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