
Adaptive Cards Mcp
io.github.VikrantSingh01Published by GitHub account VikrantSingh01v2.3.0Updated Oct 24, 2026
Generate, validate, and optimize Adaptive Cards for Teams, Outlook, and Copilot.
Overview
A local MCP server that lets an assistant generate, validate, optimize and convert Adaptive Cards for Teams, Outlook, Copilot and other Microsoft hosts.
- What you can do
- Generate Adaptive Cards from natural-language descriptions or raw data, with automatic layout choice (table, fact set, chart, list). Validate cards for schema errors, accessibility score and host compatibility, and optimize them for accessibility and performance. Convert static cards into data-bound templates, and upgrade or downgrade cards between schema versions and host configurations. Suggest layout patterns and run multi-step pipelines (generate, validate, optimize, template, transform). Read reference resources such as the v1.6 schema, host compatibility matrix, example cards and layout patterns.
- When to use it
- Use it when you build or maintain Adaptive Cards for Teams, Outlook, Copilot, Viva Connections or Webex and want the assistant to produce valid JSON, fix render or accessibility problems, or adapt a card to a specific host and schema version.
- Requirements
- Runs locally over stdio via npx, so Node.js is needed; no install step is required. No API key is needed when used through an MCP host, since the host model supplies the intelligence. Optional settings include TRANSPORT and PORT for SSE mode, MCP_API_KEY and MCP_AUTH_MODE for HTTP auth, and provider keys such as ANTHROPIC_API_KEY, OPENAI_API_KEY or AZURE_OPENAI_API_KEY for standalone use.
Installation
In SourceWeft
- Open Adaptive Cards Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Adaptive Cards MCP
[License: MIT] [TypeScript] [Adaptive Cards] [CI] [npm] [npm downloads] [MCP Registry] [GitHub stars]
[adaptive-cards-mcp — 9 tools, 21 patterns, 924 tests, 0 competitors]
An MCP server that helps AI assistants generate valid, accessible Adaptive Cards for Teams, Outlook, Copilot, and other Microsoft surfaces. 9 tools, 3 guided workflows, 924 tests.
Blog: I Built an MCP Server That Makes AI 10x Better at Adaptive Cards
Demo
Your browser does not support the video tag.
Quick Start
No install needed — npx downloads and runs it automatically.
1. Add to your AI assistant
Claude Code
GitHub Copilot (VS Code)
Add to .vscode/mcp.json:
Cursor
Add to .cursor/mcp.json:
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
Microsoft 365 Copilot / Copilot Studio (HTTP/SSE)
- Open Copilot Studio → your agent → Tools → Add a tool → New tool → Model Context Protocol
- Enter your MCP server URL (e.g.,
https://your-server.azurewebsites.net/sse) - Select the tools to expose
OpenAI ChatGPT
- Enable Developer mode in ChatGPT settings
- Go to Settings → Connectors → Create
- Enter your MCP server HTTPS URL
2. Start using it
Just ask your AI assistant in natural language:
The AI picks the right tools, generates a valid card, validates it, and returns production-ready JSON you can paste directly into the Adaptive Cards Designer to preview.
Usage
Natural language (recommended)
Describe what you need — the AI figures out which tools to call:
Approvals and workflows:
Notifications and alerts:
Data and reports:
Forms and input:
Profiles and status:
Cross-host and versioning:
Validation and optimization:
Slash commands (MCP prompts)
For guided, multi-step workflows, use the built-in prompts directly:
Create a card:
Runs: generate → validate → optimize → host config
Convert data to a card:
Runs: analyze data → pick best layout → validate output
Review an existing card:
Runs: validate schema + accessibility → auto-fix issues → summary report
npm library (programmatic)
For use in your own code (bots, APIs, CI pipelines), install the package:
See the Library API reference for full details.
What you get back
Card-producing tools return two clean blocks — card JSON you can copy, and a metadata summary:
Tools, Prompt and Usage
[9 MCP tools for Adaptive Cards]
[generate_card producing a leave approval card for Teams]
Reference
MCP Tools (9)
MCP Prompts (3)
MCP Resources (5) + Templates (2)
Host Compatibility
Configuration
Note: When used via MCP (Claude Code, Copilot, Cursor), the host LLM provides the intelligence — no API key needed. Set an API key only for standalone/library usage.
Telemetry & Privacy
Telemetry is opt-in and disabled by default. When enabled, the server collects anonymous usage metrics and sends aggregated data to PostHog to help improve the project.
How to enable:
- VS Code extension: A one-time consent prompt appears on first install. You can change it anytime in Settings → Adaptive Cards → Telemetry.
- CLI / MCP server: Set
MCP_TELEMETRY=truein your environment, or edit~/.adaptive-cards-mcp/config.jsonand set"telemetry": true.
What is sent: Tool names, call counts, durations, error rates, platform (OS), Node version, package version, transport type.
What is never sent: Card content, user prompts, data payloads, IP addresses, file paths, environment variables.
A random session ID is generated each time the server starts — no persistent identifier is stored across sessions.
To disable: Set MCP_TELEMETRY=false or leave unconfigured (default is off).
Development
Local Testing
Smoke test all tools and prompts:
MCP Inspector (visual UI):
Terminal (stdio):
SSE mode:
Architecture
Ecosystem
What's New in v2.3.0
- Accessibility 100/100 — All generated cards now include
speakproperty automatically - No more broken JSON — Newlines in content sanitized, titles no longer truncate at version numbers
- Host-aware generation —
generate_and_validateauto-downgrades card version for Outlook (v1.4), Webex (v1.3) - CSV fix — CSV data correctly parsed before building FactSet/Table cards
- Telemetry —
/metricsendpoint with session tracking, per-tool call distribution, host/intent usage - MCP Registry — Listed on the official MCP Registry
- E2E test suite — 28 tool tests + 10 prompt tests with quality gates (a11y score, element count)
See the full CHANGELOG for details.
Links
- npm — Install and package details
- GitHub — Source code, issues, and contributions
- MCP Registry — Official MCP server listing
Related Projects
- AdaptiveCards-Mobile — Cross-platform Adaptive Cards renderer
- openclaw-adaptive-cards — OpenClaw AI agent plugin using this library
- Adaptive Cards Documentation — Official docs
- Adaptive Cards Designer — Interactive card designer
- Adaptive Cards Schema Explorer — Interactive schema reference
License
MIT
Source: README.md at commit 0e439bb
Tools
0Version history
1- v2.3.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts