About Agent with MCP server
A small Python agent demo using the OpenAI Agents Python library to answer simple requests such as adding two numbers or telling a joke. It is intended as an example of an agent interacting with an MCP server.
Key features
- 01Python agent demo
- 02Addition of two numbers
- 03Joke responses
Use cases
- 01Try an agent-to-server interaction
- 02Test simple calculation requests
MCP support
The agent uses an MCP server to handle requests; the README points to separate setup instructions for the server.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEAgent with MCP server
This is a simple agent that uses the OpenAI Agents Python library to interact with an MCP server. You can ask the agent to calculate the sum of two numbers, or to tell you a joke.
First getting the MCP server running, For MCP server instructions, see the server/README.md file.
Then you can start your agent, see the agent/README.md file.
Example response

License
This project is licensed under the MIT License. See the LICENSE file for details.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.