We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/devonmojito/ton-blockchain-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
target.py•273 B
from __future__ import annotations
def trigger_to_target(s: str) -> str:
assert s[0] == "<"
# Strip off the angle brackets
s = s[1:-1]
# If there is a [wildcard] or similar, strip that off too
if s[-1] == "]":
s = s.split("[")[0]
return s