Skip to content

Commit 25690ee

Browse files
committed
feat(ai): add mcp setup info
1 parent fafde61 commit 25690ee

File tree

1 file changed

+28
-2
lines changed

1 file changed

+28
-2
lines changed

apps/docs/content/docs/ai/index.mdx

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,32 @@ Mesh provides llms.txt file that is easily understood by AI tools. This file con
2828
AI code editors like Cursor let you add and index documentation, so you can reference it directly in your chats. For example, you can bring Mesh docs into Cursor by typing @Docs → Add new doc. A modal will open where you can paste the link to the <Link href="/llms.txt">/llms.txt</Link> file. Once added, the doc becomes available as context, making it easier and faster to build apps with AI.
2929

3030

31-
## Mesh MCP (Coming Soon)
31+
## Mesh MCP Setup
3232

33-
We’re bringing Model Context Protocol (MCP) integration to Mesh, so you’ll be able to access Mesh knowledge right inside your favorite development tools. This means your editor will be able to help as you code, suggest snippets as you type, and even assist with debugging issues directly in your IDE. It’s designed to work seamlessly with tools like VS Code, Cursor, and other AI-powered editors, making your development workflow smoother and faster.
33+
Use Mesh MCP to access Mesh docs and get coding/debugging help directly in VS Code, Cursor, or Claude Desktop.
34+
35+
### Add this to your MCP server settings:
36+
37+
```ts
38+
{
39+
"servers": {
40+
"mesh-mcp": {
41+
"name": "mesh-mcp-server",
42+
"command": "npx",
43+
"args": ["-y", "meshjs-mcp"],
44+
"env": {
45+
"OPENAI_API_KEY": "your-openai-api-key",
46+
"MODEL": "your-preferred-model"
47+
}
48+
}
49+
}
50+
}
51+
```
52+
53+
### Setup notes
54+
55+
1. Replace your-openai-api-key with your OpenAI API key.
56+
57+
2. Set MODEL to the model you want to use.
58+
59+
3. Restart your editor after saving the config.

0 commit comments

Comments
 (0)