Skip to main content
Glama

stripe

Official
by stripe
repl.py602 B
import asyncio from agents import ItemHelpers, TResponseInputItem import support_agent async def main(): """Simple REPL for testing your support agent""" input_items: list[TResponseInputItem] = [] while True: user_input = input("Enter your message: ") input_items.append({"content": user_input, "role": "user"}) result = await support_agent.run(input_items) output = ItemHelpers.text_message_outputs(result.new_items) print(f"Assistant: {output}") input_items = result.to_input_list() if __name__ == "__main__": asyncio.run(main())

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/stripe/agent-toolkit'

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