MCP report agent for real estate agencies · Agents for ChatGPT | Prompt Studio
    1. ChatGPT
    2. Agents
    3. MCP report agent for real estate agencies
    ChatGPT · AgentsDatos

    MCP report agent for real estate agencies

    Reads local files over MCP and computes real estate agencies KPIs.

    by Prompt Studio

    agents-sdktypescriptmcp

    License: MITView original

    Contents

    Where it goes: mcp-report-real-estate.ts

    // Agente que lee archivos locales de una inmobiliaria con un servidor MCP y arma un reporte.
    // npm install @openai/agents
    import { Agent, run, MCPServerStdio } from '@openai/agents';
    
    const archivos = new MCPServerStdio({
      name: 'archivos',
      fullCommand: 'npx -y @modelcontextprotocol/server-filesystem ./reportes',
    });
    await archivos.connect();
    
    try {
      const analista = new Agent({
        name: 'Analista',
        instructions:
          'Lee los archivos de ./reportes y calcula días en el mercado, tasa de cierre y comisión promedio. ' +
          'Devuelve una tabla por mes y tres observaciones. No modifiques archivos.',
        mcpServers: [archivos],
      });
      const result = await run(analista, 'Haz el reporte del último trimestre');
      console.log(result.finalOutput);
    } finally {
      await archivos.close();
    }
    

    More in Agents

    • Support with handoffs

      A triage agent that hands off to billing or tech support.

    • Web researcher

      Searches the web, cites sources and writes a short report.

    • Analyst with guardrails

      TypeScript agent with a custom tool and an input guardrail.

    • Lead qualifier

      Researches the lead company and returns a structured score.

    • Operations assistant for restaurants

      Agent with function tools for day-to-day restaurants work.

    • Triage with handoffs for restaurants

      Front-desk agent that hands off customers of restaurants.

    See all in Agents (504) →

    Your ultimate collection of AI prompts. Gather inspiration, explore examples, and create with AI.

    Main hubs

    • Prompts
    • Images
    • Videos
    • Generate Videos
    • Templates
    • Animations
    • Prices
    • About
    • Affiliate

    Browse by type

    • Component kits
    • Image Tags
    • Video Tags
    • Webs

    Popular topics

    • Music
    • Portfolio
    • Gaming
    • Travel
    • Nano Banana Pro

    Legal

    • Terms of Use
    • Privacy Policy
    • Cookie Policy
    • Licenses Policy
    • Refund Policy
    • Affiliate Program Terms
    • Crowdfunding Terms

    Magzin LLC, 800 Third Avenue Associates, New York, NY, 10022, United States

    © 2026 Prompt Studio by Magzin. All rights reserved.