Skip to content

Commit d1f6cb2

Browse files
committed
Merge origin/main, resolve README.md conflicts
Take main's simplified config patterns and preserve inlined-server-java references.
2 parents c6ee748 + b4ea8c5 commit d1f6cb2

50 files changed

Lines changed: 2441 additions & 767 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ examples/basic-server-*/**/*.ts
44
examples/basic-server-*/**/*.tsx
55
examples/quickstart/**/*.ts
66
**/vendor/**
7+
**/.build/**
78
SKILL.md

README.md

Lines changed: 159 additions & 431 deletions
Large diffs are not rendered by default.

docs/agent-skills.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ title: Agent Skills
66

77
[Agent Skills](https://agentskills.io/) are instruction sets that guide AI coding agents through tasks. When you invoke a skill, the agent takes the lead — it asks clarifying questions, makes decisions based on your codebase, and executes the work.
88

9-
This repository provides two skills:
9+
This repository provides four skills:
1010

1111
- [**create-mcp-app**](https://github.com/modelcontextprotocol/ext-apps/blob/main/plugins/mcp-apps/skills/create-mcp-app/SKILL.md) — scaffolds a new MCP App with an interactive UI
1212
- [**migrate-oai-app**](https://github.com/modelcontextprotocol/ext-apps/blob/main/plugins/mcp-apps/skills/migrate-oai-app/SKILL.md) — migrates an existing OpenAI App to the MCP Apps SDK
13+
- [**add-app-to-server**](https://github.com/modelcontextprotocol/ext-apps/blob/main/plugins/mcp-apps/skills/add-app-to-server/SKILL.md) — adds interactive UI to an existing MCP server's tools
14+
- [**convert-web-app**](https://github.com/modelcontextprotocol/ext-apps/blob/main/plugins/mcp-apps/skills/convert-web-app/SKILL.md) — converts an existing web application into an MCP App
1315

1416
## Install the Skills
1517

@@ -51,14 +53,16 @@ Then copy the skills from `plugins/mcp-apps/skills/` to your agent's skills dire
5153

5254
## Verify Installation
5355

54-
Ask your agent "What skills do you have?" — you should see `create-mcp-app` and `migrate-oai-app` among the available skills.
56+
Ask your agent "What skills do you have?" — you should see `create-mcp-app`, `migrate-oai-app`, `add-app-to-server`, and `convert-web-app` among the available skills.
5557

5658
## Invoke a Skill
5759

5860
Try invoking the skills by asking your agent:
5961

6062
- "Create an MCP App" — scaffolds a new MCP App with an interactive UI
6163
- "Migrate from OpenAI Apps SDK" — converts an existing OpenAI App to use the MCP Apps SDK
64+
- "Add UI to my MCP server" — adds interactive UI to an existing MCP server's tools
65+
- "Convert my web app to an MCP App" — converts an existing web application into an MCP App
6266

6367
The agent will guide you through the process, asking clarifying questions as needed.
6468

examples/basic-host/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"homepage": "https://github.com/modelcontextprotocol/ext-apps/tree/main/examples/basic-host",
33
"name": "@modelcontextprotocol/ext-apps-basic-host",
4-
"version": "1.0.1",
4+
"version": "1.1.0",
55
"type": "module",
66
"scripts": {
77
"build": "tsc --noEmit && concurrently \"cross-env INPUT=index.html vite build\" \"cross-env INPUT=sandbox.html vite build\"",

examples/basic-host/serve.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ function buildCspHeader(csp?: McpUiResourceCsp): string {
8282
`img-src 'self' data: blob: ${resourceDomains}`.trim(),
8383
// Fonts: same-origin + data/blob URIs + specified domains
8484
`font-src 'self' data: blob: ${resourceDomains}`.trim(),
85+
// Media (audio/video): same-origin + data/blob URIs + specified domains
86+
`media-src 'self' data: blob: ${resourceDomains}`.trim(),
8587
// Network requests: same-origin + specified API/tile domains
8688
`connect-src 'self' ${connectDomains}`.trim(),
8789
// Workers: same-origin + blob (dynamic workers) + specified domains

examples/basic-server-preact/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modelcontextprotocol/server-basic-preact",
3-
"version": "1.0.1",
3+
"version": "1.1.0",
44
"type": "module",
55
"description": "Basic MCP App Server example using Preact",
66
"repository": {

examples/basic-server-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modelcontextprotocol/server-basic-react",
3-
"version": "1.0.1",
3+
"version": "1.1.0",
44
"type": "module",
55
"description": "Basic MCP App Server example using React",
66
"repository": {

examples/basic-server-solid/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modelcontextprotocol/server-basic-solid",
3-
"version": "1.0.1",
3+
"version": "1.1.0",
44
"type": "module",
55
"description": "Basic MCP App Server example using Solid",
66
"repository": {

examples/basic-server-svelte/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modelcontextprotocol/server-basic-svelte",
3-
"version": "1.0.1",
3+
"version": "1.1.0",
44
"type": "module",
55
"description": "Basic MCP App Server example using Svelte",
66
"repository": {

examples/basic-server-vanillajs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@modelcontextprotocol/server-basic-vanillajs",
3-
"version": "1.0.1",
3+
"version": "1.1.0",
44
"type": "module",
55
"description": "Basic MCP App Server example using vanilla JavaScript",
66
"repository": {

0 commit comments

Comments
 (0)