Files
PraisonAI/examples/python/api/simple-mcp-server.py
T

4 lines
166 B
Python

from praisonaiagents import Agent
agent = Agent(name="TweetAgent", instructions="Create a Tweet based on the topic provided")
agent.launch(port=8080, protocol="mcp")