IDEAS home Printed from https://ideas.repec.org/a/jbo/ijsrml/v2y2026i3id55.html

Design and Implementation of an MCP-Based AI Agent System for Autonomous Task Execution Using Large Language Models

Author

Listed:
  • Divekar S.N
  • Vinayak Nimonkar
  • Darshan Thikekar
  • Rutuja Ranpise

Abstract

The proliferation of Large Language Models (LLMs) has revolutionized natural language processing and artificial intelligence, yet their practical application in real-world scenarios remains constrained by their inability to interact with external systems and execute actionable tasks. This research presents a comprehensive implementation of an AI Agent System utilizing the Model Context Protocol (MCP), a standardized framework that bridges the gap between conversational AI and practical automation. The developed system demonstrates the integration of Google's Gemini AI with custom-built tools capable of performing diverse operations including social media management through Twitter API integration, visual analysis through screenshot processing, web navigation, application launching, and note management. The architecture employs a client-server model utilizing Node.js and Express.js, implementing the MCP SDK for secure and modular communication between the AI model and external services. A major enhancement to the system includes the implementation of robust JWT (JSON Web Token) and session-based authentication alongside a Mongo DB database for storing user credentials, session data, tool execution logs, expenses, tasks, and user notes. Additionally, a voice input feature has been integrated into the web interface using the Web Speech API, enabling hands-free interaction with the AI agent. This paper details the system architecture, implementation methodologies, technical challenges encountered, and solutions developed. Through rigorous testing and evaluation, the system successfully demonstrates autonomous execution of multi-step tasks, intelligent tool selection based on context, and seamless integration of natural language understanding with programmatic actions. The research contributes to the growing field of argentic AI systems by providing a practical, secure, extensible, and accessible framework for extending LLM capabilities beyond text generation, paving the way for more sophisticated autonomous digital assistants capable of understanding user intent, maintaining context across sessions, and executing complex workflows without human intervention.

Suggested Citation

  • Divekar S.N & Vinayak Nimonkar & Darshan Thikekar & Rutuja Ranpise, 2026. "Design and Implementation of an MCP-Based AI Agent System for Autonomous Task Execution Using Large Language Models," International Journal of Scientific Research in Artificial Intelligence and Machine Learning, International Journal of Scientific Research in Artificial Intelligence and Machine Learning, vol. 2(3), pages 36-46, May.
  • Handle: RePEc:jbo:ijsrml:v2:y2026:i3:id:55
    Note: Article URL: https://ijsraiml.com/home/article/view/IJSRAIML26237
    as

    Download full text from publisher

    File URL: https://ijsraiml.com/home/article/view/IJSRAIML26237
    File Function: Article URL
    Download Restriction: no

    File URL: https://ijsraiml.com/home/article/download/IJSRAIML26237/IJSRAIML26237
    File Function: Full text
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jbo:ijsrml:v2:y2026:i3:id:55. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Pankaj Sharma (email available below). General contact details of provider: https://ijsraiml.com/home .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.