Project Overview

Project Overview

Use MCP servers with OpenAI Agents

WillChangeThisLater

Developer Tools
Visit Server

README

Project Overview

MCP servers + OpenAI agents.

Setting up the Environment

  1. Create and Activate a Virtual Environment:

    • Run the provided setup.sh script to establish a virtual environment using Python 3.13.
      ./setup.sh
      
    • The script creates a virtual environment and installs all required Python packages from requirements.txt.
  2. Install Project Dependencies:

    • Ensure you have the necessary external tools and services for the MCP servers you intend to run:
      • Lynx: Required for the lynx server, which interfaces with the Lynx terminal web search tool.
      • Docker: Required for the puppeteer and github servers, enabling Chrome control and GitHub interactions, respectively.
      • Node.js: Required for the fs server, using the npx command.

Usage Guide

Running agent.py

Basic Execution

  • You can run the agent using all the servers you have configured in servers.yaml like this

    python agent.py
    
  • You can choose which servers the agent will have access to with:

    # gives agent access to file system (for local file browsing) and lynx (for websearch)
    python agent.py --servers fs lynx
    

    In my experience this results in better performance since the agent is less likely to pick the wrong tool

  • Debug Mode:

    • Use the --debug flag to initialize servers without executing the agent. This is useful if you want to make sure the servers are set up correctly
      python agent.py --debug
      

Configuration

The servers are configured in servers.yaml, where each server entry includes:

  • Name: Identifier for the server.
  • Description: Brief description of the server's functionality.
  • Command & Arguments: Command-line instructions to start the server.
  • Environment Variables: Any additional environment configurations needed.

You'll typically find these in github repos for MCP servers

Roll your own

You can roll your own MCP server in the mcp-servers directory

What do I use this for?

Link finding

If I am trying to figure out how to do something (like setting up QEMU) I will often use agent.py to do the initial research for me

"find links relevant to QEMU setup on ubuntu" | python agent.py --servers lynx

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
MCP Package Docs Server

MCP Package Docs Server

Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.

Featured
Local
TypeScript
Claude Code MCP

Claude Code MCP

An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.

Featured
Local
JavaScript
@kazuph/mcp-taskmanager

@kazuph/mcp-taskmanager

Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.

Featured
Local
JavaScript
Linear MCP Server

Linear MCP Server

Enables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.

Featured
JavaScript
mermaid-mcp-server

mermaid-mcp-server

A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.

Featured
JavaScript
Jira-Context-MCP

Jira-Context-MCP

MCP server to provide Jira Tickets information to AI coding agents like Cursor

Featured
TypeScript
Linear MCP Server

Linear MCP Server

A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.

Featured
JavaScript
Sequential Thinking MCP Server

Sequential Thinking MCP Server

This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.

Featured
Python