Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a09c1a2420 |
@@ -0,0 +1,98 @@
|
|||||||
|
---
|
||||||
|
name: mcp-server-setup
|
||||||
|
version: 1.0.0
|
||||||
|
description: Set up an MCP server to integrate PipesHub with any MCP-compatible client.
|
||||||
|
inputs:
|
||||||
|
- MCP server configuration details
|
||||||
|
- PipesHub credentials
|
||||||
|
steps:
|
||||||
|
- 'Step 1: Clone the `pipeshub-ai/mcp-server` repository using `git clone https://github.com/pipeshub-ai/mcp-server.git`'
|
||||||
|
- 'Step 2: Navigate to the cloned directory with `cd mcp-server`'
|
||||||
|
- 'Step 3: Run the interactive installer by executing `./install.sh`'
|
||||||
|
- 'Step 4: Follow the prompts in the installer to configure the server, including
|
||||||
|
setting up graph DB, message broker, and KV store'
|
||||||
|
- 'Step 5: The installer will generate a `.env` file with necessary environment variables.
|
||||||
|
Ensure these are correctly set'
|
||||||
|
- 'Step 6: Start the MCP server by running `docker-compose up -d`'
|
||||||
|
outputs:
|
||||||
|
- Running MCP server
|
||||||
|
- .env file generated
|
||||||
|
tags: []
|
||||||
|
metadata:
|
||||||
|
source_repo: https://github.com/pipeshub-ai/pipeshub-ai.git
|
||||||
|
extracted_at: ''
|
||||||
|
confidence: 0.95
|
||||||
|
---
|
||||||
|
|
||||||
|
# mcp-server-setup
|
||||||
|
|
||||||
|
Set up an MCP server to integrate PipesHub with any MCP-compatible client.
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
**Dependencies:**
|
||||||
|
|
||||||
|
```text
|
||||||
|
pip install docker docker-compose
|
||||||
|
```
|
||||||
|
|
||||||
|
**Setup steps:**
|
||||||
|
|
||||||
|
1. Ensure Docker and Docker Compose are installed on your system.
|
||||||
|
1. Clone the `pipeshub-ai/mcp-server` repository using `git clone https://github.com/pipeshub-ai/mcp-server.git`
|
||||||
|
|
||||||
|
## Key Files
|
||||||
|
|
||||||
|
- `path/to/install.sh - Script to run the interactive installer`
|
||||||
|
- `path/to/docker-compose.yml - Configuration for Docker services`
|
||||||
|
|
||||||
|
## Steps
|
||||||
|
|
||||||
|
1. Step 1: Clone the `pipeshub-ai/mcp-server` repository using `git clone https://github.com/pipeshub-ai/mcp-server.git`
|
||||||
|
2. Step 2: Navigate to the cloned directory with `cd mcp-server`
|
||||||
|
3. Step 3: Run the interactive installer by executing `./install.sh`
|
||||||
|
4. Step 4: Follow the prompts in the installer to configure the server, including setting up graph DB, message broker, and KV store
|
||||||
|
5. Step 5: The installer will generate a `.env` file with necessary environment variables. Ensure these are correctly set
|
||||||
|
6. Step 6: Start the MCP server by running `docker-compose up -d`
|
||||||
|
|
||||||
|
## Implementation Details
|
||||||
|
|
||||||
|
```python
|
||||||
|
```bash
|
||||||
|
./install.sh
|
||||||
|
```
|
||||||
|
Run this script to start the installation process.
|
||||||
|
```
|
||||||
|
|
||||||
|
```python
|
||||||
|
```yaml
|
||||||
|
docker-compose:
|
||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
mcp-server:
|
||||||
|
image: pipeshubai/mcp-server:latest
|
||||||
|
environment:
|
||||||
|
- PIPESHUB_API_KEY=your_api_key_here
|
||||||
|
```
|
||||||
|
This snippet shows how to configure the Docker Compose file.
|
||||||
|
```
|
||||||
|
|
||||||
|
## Inputs
|
||||||
|
|
||||||
|
- MCP server configuration details
|
||||||
|
- PipesHub credentials
|
||||||
|
|
||||||
|
## Outputs
|
||||||
|
|
||||||
|
- Running MCP server
|
||||||
|
- .env file generated
|
||||||
|
|
||||||
|
## Failure Modes
|
||||||
|
|
||||||
|
- Installer fails to run due to missing dependencies or incorrect configuration
|
||||||
|
- Docker Compose setup issues preventing server from starting
|
||||||
|
|
||||||
|
## Source
|
||||||
|
|
||||||
|
Extracted from: [https://github.com/pipeshub-ai/pipeshub-ai.git](https://github.com/pipeshub-ai/pipeshub-ai.git)
|
||||||
|
Confidence: 0.95
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
# Commands: mcp-server-setup
|
||||||
|
|
||||||
|
## Available Commands
|
||||||
|
|
||||||
|
- `/skill mcp-server-setup` — Load this skill
|
||||||
|
- `/run mcp-server-setup` — Execute workflow
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
# Examples: mcp-server-setup
|
||||||
|
|
||||||
|
## Usage Example
|
||||||
|
|
||||||
|
```python
|
||||||
|
# How to use this skill
|
||||||
|
# Inputs: MCP server configuration details, PipesHub credentials
|
||||||
|
# Process: Step 1: Clone the `pipeshub-ai/mcp-server` repository using `git clone https://github.com/pipeshub-ai/mcp-server.git` → Step 2: Navigate to the cloned directory with `cd mcp-server` → Step 3: Run the interactive installer by executing `./install.sh`
|
||||||
|
# Outputs: Running MCP server, .env file generated
|
||||||
|
```
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"name": "mcp-server-setup",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"goal": "Set up an MCP server to integrate PipesHub with any MCP-compatible client.",
|
||||||
|
"inputs": [
|
||||||
|
"MCP server configuration details",
|
||||||
|
"PipesHub credentials"
|
||||||
|
],
|
||||||
|
"steps": [
|
||||||
|
"Step 1: Clone the `pipeshub-ai/mcp-server` repository using `git clone https://github.com/pipeshub-ai/mcp-server.git`",
|
||||||
|
"Step 2: Navigate to the cloned directory with `cd mcp-server`",
|
||||||
|
"Step 3: Run the interactive installer by executing `./install.sh`",
|
||||||
|
"Step 4: Follow the prompts in the installer to configure the server, including setting up graph DB, message broker, and KV store",
|
||||||
|
"Step 5: The installer will generate a `.env` file with necessary environment variables. Ensure these are correctly set",
|
||||||
|
"Step 6: Start the MCP server by running `docker-compose up -d`"
|
||||||
|
],
|
||||||
|
"outputs": [
|
||||||
|
"Running MCP server",
|
||||||
|
".env file generated"
|
||||||
|
],
|
||||||
|
"failure_modes": [
|
||||||
|
"Installer fails to run due to missing dependencies or incorrect configuration",
|
||||||
|
"Docker Compose setup issues preventing server from starting"
|
||||||
|
],
|
||||||
|
"confidence": 0.95,
|
||||||
|
"explanation": "This workflow is specific but can be adapted for different deployment environments and configurations.",
|
||||||
|
"source_repo": "https://github.com/pipeshub-ai/pipeshub-ai.git",
|
||||||
|
"score": 1.0
|
||||||
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# Tests: multi-agent-sequential-workflow
|
# Tests: mcp-server-setup
|
||||||
|
|
||||||
## Test Checklist
|
## Test Checklist
|
||||||
|
|
||||||
@@ -1,84 +0,0 @@
|
|||||||
---
|
|
||||||
name: multi-agent-sequential-workflow
|
|
||||||
version: 1.0.0
|
|
||||||
description: Gather and process information from multiple agents to generate a comprehensive
|
|
||||||
travel guide.
|
|
||||||
inputs:
|
|
||||||
- User query with location
|
|
||||||
steps:
|
|
||||||
- 'Step 1: Researcher agent (agent.py) uses LangGraph create_react_agent with BedrockModel
|
|
||||||
to gather raw facts about the destination.'
|
|
||||||
- 'Step 2: Travel Guide Generator agent (agent.py) synthesizes the gathered data into
|
|
||||||
a structured travel guide based on the user''s request and raw information provided
|
|
||||||
by the researcher.'
|
|
||||||
- 'Step 3: Writer agent (agent.py) formats the final response, including the structured
|
|
||||||
guide content and prominently features the ''Suggested Web Pages'' section.'
|
|
||||||
outputs:
|
|
||||||
- Structured travel guide with key sections
|
|
||||||
- Final client response
|
|
||||||
tags: []
|
|
||||||
metadata:
|
|
||||||
source_repo: https://github.com/omerbsezer/Fast-LLM-Agent-MCP.git
|
|
||||||
extracted_at: ''
|
|
||||||
confidence: 0.95
|
|
||||||
---
|
|
||||||
|
|
||||||
# multi-agent-sequential-workflow
|
|
||||||
|
|
||||||
Gather and process information from multiple agents to generate a comprehensive travel guide.
|
|
||||||
|
|
||||||
## Setup
|
|
||||||
|
|
||||||
**Dependencies:**
|
|
||||||
|
|
||||||
```text
|
|
||||||
pip install python3 fastapi uvicorn strands bedrock-model
|
|
||||||
```
|
|
||||||
|
|
||||||
**Setup steps:**
|
|
||||||
|
|
||||||
1. Install required dependencies using pip
|
|
||||||
1. Set up environment variables for API keys and model IDs
|
|
||||||
|
|
||||||
## Key Files
|
|
||||||
|
|
||||||
- `agents/aws_strands/05-agent-strands-multiagent-workflow-sequential/agent.py - Contains the multi-agent workflow logic.`
|
|
||||||
- `agents/aws_strands/05-agent-strands-multiagent-workflow-sequential/app.py - FastAPI app to handle user queries.`
|
|
||||||
|
|
||||||
## Steps
|
|
||||||
|
|
||||||
1. Step 1: Researcher agent (agent.py) uses LangGraph create_react_agent with BedrockModel to gather raw facts about the destination.
|
|
||||||
2. Step 2: Travel Guide Generator agent (agent.py) synthesizes the gathered data into a structured travel guide based on the user's request and raw information provided by the researcher.
|
|
||||||
3. Step 3: Writer agent (agent.py) formats the final response, including the structured guide content and prominently features the 'Suggested Web Pages' section.
|
|
||||||
|
|
||||||
## Implementation Details
|
|
||||||
|
|
||||||
```python
|
|
||||||
research_output = researcher_agent(query, stream=False)
|
|
||||||
```
|
|
||||||
|
|
||||||
```python
|
|
||||||
guide_output = travel_guide_agent(planner_prompt, stream=False)
|
|
||||||
```
|
|
||||||
|
|
||||||
```python
|
|
||||||
final_response = writer_agent(writer_prompt, stream=False)
|
|
||||||
```
|
|
||||||
|
|
||||||
## Inputs
|
|
||||||
|
|
||||||
- User query with location
|
|
||||||
|
|
||||||
## Outputs
|
|
||||||
|
|
||||||
- Structured travel guide with key sections
|
|
||||||
- Final client response
|
|
||||||
|
|
||||||
## Failure Modes
|
|
||||||
|
|
||||||
- Network issues during API calls could lead to incomplete data collection or processing failures
|
|
||||||
|
|
||||||
## Source
|
|
||||||
|
|
||||||
Extracted from: [https://github.com/omerbsezer/Fast-LLM-Agent-MCP.git](https://github.com/omerbsezer/Fast-LLM-Agent-MCP.git)
|
|
||||||
Confidence: 0.95
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
# Commands: multi-agent-sequential-workflow
|
|
||||||
|
|
||||||
## Available Commands
|
|
||||||
|
|
||||||
- `/skill multi-agent-sequential-workflow` — Load this skill
|
|
||||||
- `/run multi-agent-sequential-workflow` — Execute workflow
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# Examples: multi-agent-sequential-workflow
|
|
||||||
|
|
||||||
## Usage Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
# How to use this skill
|
|
||||||
# Inputs: User query with location
|
|
||||||
# Process: Step 1: Researcher agent (agent.py) uses LangGraph create_react_agent with BedrockModel to gather raw facts about the destination. → Step 2: Travel Guide Generator agent (agent.py) synthesizes the gathered data into a structured travel guide based on the user's request and raw information provided by the researcher. → Step 3: Writer agent (agent.py) formats the final response, including the structured guide content and prominently features the 'Suggested Web Pages' section.
|
|
||||||
# Outputs: Structured travel guide with key sections, Final client response
|
|
||||||
```
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "multi-agent-sequential-workflow",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"goal": "Gather and process information from multiple agents to generate a comprehensive travel guide.",
|
|
||||||
"inputs": [
|
|
||||||
"User query with location"
|
|
||||||
],
|
|
||||||
"steps": [
|
|
||||||
"Step 1: Researcher agent (agent.py) uses LangGraph create_react_agent with BedrockModel to gather raw facts about the destination.",
|
|
||||||
"Step 2: Travel Guide Generator agent (agent.py) synthesizes the gathered data into a structured travel guide based on the user's request and raw information provided by the researcher.",
|
|
||||||
"Step 3: Writer agent (agent.py) formats the final response, including the structured guide content and prominently features the 'Suggested Web Pages' section."
|
|
||||||
],
|
|
||||||
"outputs": [
|
|
||||||
"Structured travel guide with key sections",
|
|
||||||
"Final client response"
|
|
||||||
],
|
|
||||||
"failure_modes": [
|
|
||||||
"Network issues during API calls could lead to incomplete data collection or processing failures"
|
|
||||||
],
|
|
||||||
"confidence": 0.95,
|
|
||||||
"explanation": "This workflow is specific but can be adapted for other types of guides or information gathering tasks.",
|
|
||||||
"source_repo": "https://github.com/omerbsezer/Fast-LLM-Agent-MCP.git",
|
|
||||||
"score": 1.0
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user