8000 GitHub - zencoderai/developing-apps-w-zencoder
[go: up one dir, main page]

Skip to content

zencoderai/developing-apps-w-zencoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Developing Apps with Zencoder

Some scaffolding and prerequisites for the talk on developing apps using Zencoder.

Prerequisites

Some of the MCP servers require extra data like paths or API tokens. Those you need to update in relevant section of the mcp config

MCP Servers

Time

        "time": {
            "command": "npx",
            "args": ["-y", "time-mcp"]
        }

Git

        "git": {
            "command": "uvx",
            "args": ["mcp-server-git", "--repository", "/ABSOLUTE/PATH/TO/GIT/REPO"]
        }

Docker (optional)

        "mcp-server-docker": {
            "command": "uvx",
            "args": [
                "mcp-server-docker"
            ]
        }

Grafana

Download and unpack from https://github.com/grafana/mcp-grafana/releases, provide absolute path to mcp-grafana binary. Update GRAFANA_URL and GRAFANA_API_KEY as needed.

        "grafana": {
            "command": "/PATH/TO/mcp-grafana",
            "args": [],
            "env": {
                "GRAFANA_URL": "http://localhost:3001",
                "GRAFANA_API_KEY": "SERVICE_ACCOUNT_TOKEN"
            }
        }

Postgres

{
    "command": "npx",
    "args": [
        "-y",
        "@modelcontextprotocol/server-postgres",
        "postgresql://USERNAME:PASSWORD@localhost:5432/DB_NAME"
    ]
}

Slack

.env.slack file contains bot token and team id. Create a new app at https://api.slack.com/apps and add it to your workspace. Then create a bot user and get its token. Also find team ID by going to Manage Workspace -> About -> Team ID. More instructions here: https://github.com/modelcontextprotocol/servers/tree/main/src/slack#setup

SLACK_BOT_TOKEN=YOUR_TOKEN
SLACK_TEAM_ID=YOUR_TEAM_ID

MCP config:

        "slack": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "--env-file",
                "/PATH/TO/.env.slack",
                "mcp/slack"
            ]
        }

Github

Create Github PAT https://github.com/github/github-mcp-server?tab=readme-ov-file#prerequisites and put it into .env.github file

GITHUB_PERSONAL_ACCESS_TOKEN=YOUR_GITHUB_PAT

MCP config:

        "github": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "--env-file",
                "/PATH/TO/.env.github",
                "ghcr.io/github/github-mcp-server"
            ]
        }

Prompts/steps

Possible intermediate steps are ommited due to undeterministic nature of LLM responses.

Python + Javascript

Create repository on github, clone locally, open in IDE MCPs - git, slack

Checkout branch app

MCPs - docker (optional), time

I want to build a website for a conference, it should have several pages, namely: 1. Intro page about conference, 2. Page for people to submit their talks, 3. Page with submitted talks. Frontend part needs to be written in react, backend - in fastapi. I want to store the submissions in postgresql database. Create dockerfile for frontend and for backend, and docker compose file. Use tailwind for styling
/e2e-test go to http://localhost:3000 and check that all buttons in the header work and redirect to the correct pages
Add filters to the page with talks
Add monitoring for the backend api using grafana and prometheus

MCPs - grafana and/or postgresql

How many requests does the app have in grafana?
Get all talks from postgres where speaker is {NAME}
Let's now prepare deployment yaml that will allow us to deploy this app to kubernetes

MCPs - github

Commit and push changes, create a pull request

Javascript

Create repository on github, clone locally, open in IDE MCPs - git, slack

Checkout branch app

MCPs - docker (optional), time

I want to build a website for a conference, it should have several pages, namely: 1. Intro page about conference, 2. Page for people to submit their talks, 3. Page with submitted talks. Frontend part needs to be written in react, backend - in nodejs. I want to store the submissions in postgresql database. Create dockerfile for frontend and for backend, and docker compose file. Use tailwind for styling
/e2e-test go to http://localhost:3000 and check that all buttons in the header work and redirect to the correct pages
Add filters to the page with talks
Add monitoring for the backend api using grafana and prometheus

MCPs - grafana and/or postgres

How many requests does the app have in grafana?
Get all talks from postgres where speaker is {NAME}
Let's now prepare deployment yaml that will allow us to deploy this app to kubernetes

MCPs - github

Commit and push changes, create a pull request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0