Skip to main content
Glama

gh-mcp

utils.py340 B
from asyncio import to_thread from collections.abc import Callable from subprocess import run from typing import Any def borrow_params[**P, T](_: Callable[P, Any]) -> Callable[[Callable[..., T]], Callable[P, T]]: return lambda f: f @borrow_params(run) def run_subcommand(*args, **kwargs): return to_thread(run, *args, **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/CNSeniorious000/gh-mcp'

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