Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,16 @@
**/.env.local
**/.env.*.local
apps/frontend/google-service-account
# Cloudflare Worker local state and secrets (apps/ansari-faithful-answers)
# Cloudflare Worker local state and secrets (apps/mcp)
**/.dev.vars
**/.dev.vars.*
**/.wrangler
**/dist-worker

# Credentials and private environment files; committed public examples remain available.
**/.npmrc
**/.env.*
!**/.env.ci
!**/.env.example
**/test-results
**/playwright-report
32 changes: 0 additions & 32 deletions .github/workflows/faithful-answers.yml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/mcp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: MCP application
on:
pull_request:
paths: &mcp-paths
- 'apps/mcp/**'
- 'pnpm-lock.yaml'
- 'pnpm-workspace.yaml'
- 'package.json'
- 'LICENSE'
- '.dockerignore'
- '.github/workflows/mcp.yml'
- 'packages/eslint-config/**'
push:
branches: [main, develop]
paths: *mcp-paths
permissions:
contents: read
jobs:
mcp:
name: MCP application
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: '22'
- name: Install pnpm
run: corepack enable && corepack prepare pnpm@10.33.0 --activate
- name: Install Chromium system dependencies
run: pnpm dlx playwright@1.64.0 install-deps chromium
- name: Install from the workspace lockfile
run: pnpm install --frozen-lockfile --strict-peer-dependencies --filter ansari-mcp...
- name: Verify the MCP application
run: |
pnpm mcp exec playwright install chromium
pnpm mcp verify
- name: Verify the root-context container
run: bash apps/mcp/scripts/verify-container.sh
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ issues for vulnerabilities.

## Faithful Answers MCP application

[`apps/ansari-faithful-answers`](apps/ansari-faithful-answers/README.md) exposes Ansari answers through MCP with a self-contained React card for assistant hosts. It uses public saga a2ui packages, embedded Kitab fonts and local artwork. Start it separately with `pnpm faithful-answers build` then `pnpm faithful-answers start`; see its README for environment variables and its standalone Docker build.
[`apps/mcp`](apps/mcp/README.md) exposes Ansari answers through MCP with a self-contained React card for assistant hosts. It uses public saga a2ui packages, embedded Kitab fonts and local artwork. Start it separately with `pnpm mcp build` then `pnpm mcp start`; see its README for environment variables and its standalone Docker build.
11 changes: 0 additions & 11 deletions apps/ansari-faithful-answers/.dockerignore

This file was deleted.

14 changes: 0 additions & 14 deletions apps/ansari-faithful-answers/Dockerfile

This file was deleted.

16 changes: 0 additions & 16 deletions apps/ansari-faithful-answers/assets/NOTICE.md

This file was deleted.

Loading
Loading