Skip to content

maccman/agent-playground

Repository files navigation

Agent Playground

This project turns Cursor into an agentic workflow executor to run tasks on your behalf.

The magic is in the .cursor/rules folder. These rules turn Cursor AI into a powerful AI agent that can run scripts and execute tasks on your local machine.

For example, you can ask Cursor to:

  • Generate a PDF report from a URL
  • Book a flight and hotel
  • Resize an image

Requirements

This project is designed to run on macOS.

Core Dependencies

Setup

  1. Clone this repository

  2. Install uv (Python package manager)

  3. (Optional) Install media processing tools:

    brew install imagemagick ghostscript ffmpeg
  4. Install dependencies:

    pnpm install
  5. Setup your AI provider API keys:

    Copy the example environment file:

    cp .env.example .env

MCP

Recommended MCP servers for Cursor AI. Add them by heading to Cursor Settings > MCP Servers.

{
  "mcpServers": {
    "browsermcp": {
      "command": "npx",
      "args": ["@browsermcp/mcp@latest"]
    },
    "google-maps": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-google-maps"],
      "env": {
        "GOOGLE_MAPS_API_KEY": "YOUR_GOOGLE_MAPS_API_KEY"
      }
    }
  }
}

More servers:

Structure

agent-playground/
├── lib/           # Reusable utilities and shared code
├── scripts/       # Runnable task scripts
├── types/         # Shared TypeScript type definitions
├── data/          # CSV files, JSON data, and other data files
└── package.json   # Project configuration

Usage

  1. Open Cursor AI
  2. Optionally add any relevent files to the data/ directory
  3. Ask Cursor to do its thing
  4. Profit!

About

Turn Cursor into a local agent

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published