From 3587de3fd18ac01bcd55083edd5852c6eb113c91 Mon Sep 17 00:00:00 2001 From: Bipul Kumar Sharma Date: Thu, 22 May 2025 19:04:36 +0530 Subject: [PATCH] Feedback Implemeted --- community_usecase/Puppeteer MCP/README.md | 8 ++++---- community_usecase/Puppeteer MCP/demo.py | 2 +- community_usecase/Puppeteer MCP/requirements.txt | 3 +++ 3 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 community_usecase/Puppeteer MCP/requirements.txt diff --git a/community_usecase/Puppeteer MCP/README.md b/community_usecase/Puppeteer MCP/README.md index f4ccff9..3c7be25 100644 --- a/community_usecase/Puppeteer MCP/README.md +++ b/community_usecase/Puppeteer MCP/README.md @@ -29,8 +29,8 @@ A Streamlit app powered by the [CAMEL-AI OWL framework](https://github.com/camel 1. **Clone the repository** ```bash - git clone https://github.com/your-org/your-repo.git - cd your-repo/owl/community_usecase/Puppeteer-MCP + git clone https://github.com/camel-ai/owl.git + cd owl/community_usecase/Puppeteer MCP ``` 2. **Create a virtual environment** @@ -64,7 +64,7 @@ A Streamlit app powered by the [CAMEL-AI OWL framework](https://github.com/camel "mcpServers": { "puppeteer": { "command": "npx", - "args": ["-y", "@your-org/mcp-server-puppeteer"] + "args": ["-y", "@modelcontextprotocol/mcp-server-puppeteer"] } } } @@ -77,7 +77,7 @@ A Streamlit app powered by the [CAMEL-AI OWL framework](https://github.com/camel Run the Streamlit app: ```bash -streamlit run app.py +streamlit run demo.py ``` This will open the UI in your browser. Enter a natural language task (e.g., “Search for the weather in Paris”) and click **Run Task**. diff --git a/community_usecase/Puppeteer MCP/demo.py b/community_usecase/Puppeteer MCP/demo.py index 267776d..03c7159 100644 --- a/community_usecase/Puppeteer MCP/demo.py +++ b/community_usecase/Puppeteer MCP/demo.py @@ -88,7 +88,7 @@ def main(): st.title("OWL X Puppeteer MCP Server") # Get the task from the user - task = st.text_input("Enter your task") + task = st.text_input("Enter your task",value="Please find the top articles from dev.to this week and go to each article and then summarize it. Please use MCP given to you") if st.button("Run Task"): if not task.strip(): diff --git a/community_usecase/Puppeteer MCP/requirements.txt b/community_usecase/Puppeteer MCP/requirements.txt new file mode 100644 index 0000000..4d4a8b2 --- /dev/null +++ b/community_usecase/Puppeteer MCP/requirements.txt @@ -0,0 +1,3 @@ +streamlit +camel-ai["all"] +python-dotenv \ No newline at end of file