mcp-chat-cards
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_CHAT_CARDS_FS_ROOT | No | Root directory to confine all local file reads to. | |
| MCP_CHAT_CARDS_CARD_BUDGET | No | Maximum size of card markup in characters before splitting (default about 32000). | |
| MCP_CHAT_CARDS_ALLOW_PRIVATE | No | Set to '1' to allow requests to private network addresses. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_tab_cardA | Render an interactive card with tabs, each showing a different context of the same subject (for example one tab per programming language, OS, or skill level). Tab content can be plain text, HTML, or code with a copy button. |
| create_table_cardA | Render an HTML table card from explicit rows, or convert loosely delimited text into a balanced table (delimiter auto-detected; newlines can mark cells). URL cells become links. |
| create_form_cardA | Render a form card the user fills in to give the conversation context and direction. Submitting sends the values back to the chat as the next prompt (optionally shaped by promptTemplate with {{fieldName}} tokens). |
| create_chart_cardA | Render a dynamically generated SVG chart card (bar, line, pie, or donut) with a legend and a collapsible data table. Use for useful graphics summarizing referenced data. |
| create_video_cardA | Render a card with an HTML video player for a short clip. src must be a direct http(s) URL to a video file (mp4/webm), not a streaming platform page. |
| create_reveal_cardA | Render a card of collapsible show/hide sections with show-all/hide-all buttons. Good for step-by-step guides, FAQs, spoilers, and long reference material. |
| create_list_cardA | Render a nested ordered list card with hierarchical numbering (1., 1.1., 1.1.1.). Good for procedures, outlines, and curricula. |
| create_markdown_cardA | Render a markdown document as one interactive card: tables become card tables, fenced code gets copy buttons, and H2 sections fold into show/hide reveals. Pass either the markdown content or the path of a markdown file generated earlier in the conversation (for example a walkthrough or guide) to plug it into the chat in one call. |
| create_code_tour_cardA | Render a project's source as an interactive card with one tab per file (code with copy buttons, ordered README, manifest, then src). Pass the path of a zip archive generated earlier in the conversation for a one-call plug-n-play tour, or pass files explicitly. |
| read_local_fileA | Read a local text file (typically one generated earlier in the conversation) so its content can be reviewed and plugged into cards. Size-capped; binary files are refused. Set MCP_CHAT_CARDS_FS_ROOT to confine reads to one directory. |
| unpack_archiveA | List a local zip archive's entries and return the contents of its text files, so a project generated earlier in the conversation can be inspected and turned into cards (code tours, tables, walkthroughs). Build caches and binary entries are skipped. |
| fetch_referenceA | Fetch a public web page and return structured data: title, description, headings, readable text, tables, images, links, and form specifications. Feed the results into the card tools (tables into create_table_card, numbers into create_chart_card, and so on). |
| mirror_web_formA | Fetch a public web page, extract one of its forms, and render it as an interactive card in the conversation. When the user submits the card, the values return to the chat as a structured payload for the submit_web_form tool, so a model-created task can submit the actual website form. |
| submit_web_formA | Submit values to a real website form (form-encoded GET or POST). Only call this with data the user entered in a mirrored form card, or values the user explicitly confirmed. Returns the HTTP status and a snippet of the response. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| card-template | MCP Apps template that renders mcp-chat-cards tool results inline in the conversation. |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jhauga/mcp-chat-cards'
If you have feedback or need assistance with the MCP directory API, please join our Discord server