Skip to content

Commit 5f5f049

Browse files
committed
fix: adding mcp support to docs
1 parent 70a1db7 commit 5f5f049

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,18 @@ npx create-tsrouter-app@latest --list-add-ons --framework solid --template file-
124124

125125
Will get you a list of all available add-ons for Solid that are compatible with the File Router.
126126

127+
## MCP (Model Context Protocol) Support (experimental)
128+
129+
You can launch the `create-tsrouter-app` CLI with the `--mcp` flag to enable MCP support. Use this in your MCP enabled IDE to allow the Agent model to generate TanStack Router applications.
130+
131+
```bash
132+
npx create-tsrouter-app@latest --mcp
133+
```
134+
135+
Shown below is the configuration for MCP support in Cursor.
136+
137+
![MCP Configuration](./images/mcp-configuration.png)
138+
127139
# Contributing
128140

129141
Check out the [Contributing](CONTRIBUTING.md) guide.

images/mcp-configuration.png

62.4 KB
Loading

0 commit comments

Comments
 (0)