Skip to content
Merged
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
15 changes: 3 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,29 +29,20 @@ We have [contributed a tentative implementation](https://github.com/MCP-UI-Org/m

## Installation

This repo is in flux and isn't published to npm yet. When it is, it will use the `@modelcontextprotocol/ext-apps` package.

In the meantime you can depend on the SDK library in a Node.js project by installing it with its git URL:

```bash
npm install -S git+https://github.com/modelcontextprotocol/ext-apps.git
npm install -S @modelcontextprotocol/ext-apps
```

Your `package.json` will then look like:
Or edit your `package.json` manually:

```json
{
"dependencies": {
"@modelcontextprotocol/ext-apps": "git+https://github.com/modelcontextprotocol/ext-apps.git"
"@modelcontextprotocol/ext-apps": "^0.0.1"
}
}
```

> [!NOTE]
> The build tools (`esbuild`, `tsx`, `typescript`) are in `dependencies` rather than `devDependencies`. This is intentional: it allows the `prepare` script to run when the package is installed from git, since npm doesn't install devDependencies for git dependencies.
>
> Once the package is published to npm with pre-built `dist/`, these can be moved back to `devDependencies`.

## Examples

Start with these foundational examples to learn the SDK:
Expand Down
Loading