One tool call

Note: Run on your machine with the server process up and OPENAI_API_KEY set.

Ask for one concrete tool use

Pick a question that forces the agent to call a tool from the server, not to guess.

If the server is not running, the agent cannot reach the tool. Start the server first, then run the agent.

Example

from praisonai import Agent, MCP

agent = Agent(
    instructions="Use MCP tools when they help. Say which tool you used.",
    tools=MCP("uvx mcp-server-time"),
)
print(agent.start("What time tools do you have? Use one if you can."))

Reference: documentation