Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fd29310

Browse files
committed
[mcp-server] an initial implementation of a lit mcp server package
This implements a very basic mcp server that hooks into our algolia search for lit.dev. The key exposed is a rate-limited read-only key.
1 parent 503add0 commit fd29310

File tree

11 files changed

+1312
-71
lines changed

11 files changed

+1312
-71
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ packages/labs/gen-wrapper-vue/*.d.ts
280280
packages/labs/gen-wrapper-vue/*.d.ts.map
281281
packages/labs/gen-wrapper-vue/gen-output/
282282

283+
packages/labs/mcp-server/lib/
283284
packages/labs/motion/development/
284285
packages/labs/motion/test/
285286
packages/labs/motion/node_modules/

.github/copilot-instructions.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,8 @@ This repository is a monorepo that uses Lit for building web components and no o
1717
- Specify script dependencies
1818
- Cache build artifacts in `.wireit` directories
1919
- Prepending `WIREIT_LOGGER=simple npm run <command>` outputs the full logs to the console
20+
21+
## MCP
22+
23+
If you are unsure about a feature of Lit, lit-html, or LitElement, consider
24+
referencing the Lit MCP's `search_lit_dev_docs` tool if available.

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ packages/labs/gen-wrapper-vue/*.d.ts
268268
packages/labs/gen-wrapper-vue/*.d.ts.map
269269
packages/labs/gen-wrapper-vue/gen-output/
270270

271+
packages/labs/mcp-server/lib/
271272
packages/labs/motion/development/
272273
packages/labs/motion/test/
273274
packages/labs/motion/node_modules/

0 commit comments

Comments
 (0)