Skip to content

Feature: Add Angular basic example #635

Open

Description

@dalenguyen

Is your feature request related to a problem? Please describe.

There is no Angular example in the basic-server templates. Developers using Angular lack a reference implementation for building MCP Apps with the SDK, while other major frameworks (React, Vue, Svelte, Preact, Solid, Vanilla JS) all have starter templates.

Describe the solution you'd like

Add a basic-server-angular example that mirrors the existing basic-server templates, demonstrating:

  • Angular standalone components with signals for state management
  • provideZonelessChangeDetection() for modern, Zone.js-free change detection
  • MCP App SDK integration (App class, connect(), callServerTool(), sendMessage(), sendLog(), openLink())
  • Host theming support (applyDocumentTheme, applyHostStyleVariables, applyHostFonts)
  • Vite + vite-plugin-singlefile build pipeline for single-file HTML output
  • E2E test coverage with golden screenshot

Describe alternatives you've considered

N/A

Additional context

The example follows the same structure as the other basic-server templates: a get-time tool with a UI resource at ui://get-time/mcp-app.html, using Express for HTTP transport and stdio support. It uses Angular 21 with standalone components and signals — no NgModules or Zone.js required.

Activity

  1. Avcharov commented on Apr 27, 2026

    @Avcharov
    Contributor

    Hey thats duplicate of - #423

  2. dalenguyen commented on Apr 27, 2026

    @dalenguyen
    Author

    Didn't see that. Can you resolve the conflict. Looks like your PR are able to merge anymore. And it's been 2 months already?

    Image
  3. Avcharov commented on Apr 27, 2026

    @Avcharov
    Contributor

    Hey according to #627 these PRs wont be merged as it is considered as community supported examples, so dont see big value in solving conflicts as it will always be open there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions