|
40 | 40 |
|
41 | 41 | <h3>Connecting MCP Servers</h3> |
42 | 42 |
|
43 | | - <p><strong>Via GUI:</strong></p> |
44 | | - <p>1. Open Meteor GUI (Right Shift) and navigate to the MCP tab</p> |
45 | | - <p>2. Click "Add Server"</p> |
46 | | - <p>3. Enter server name and command (e.g., <code>npx -y @modelcontextprotocol/server-time</code>)</p> |
47 | | - <p>4. Enable "Auto Connect" (optional)</p> |
48 | | - <p>5. Save and Connect</p> |
| 43 | + <table> |
| 44 | + <tr><td><strong>Via GUI:</strong></td></tr> |
| 45 | + <tr><td>1. Open Meteor GUI (Right Shift) and navigate to the MCP tab</td></tr> |
| 46 | + <tr><td>2. Click "Add Server"</td></tr> |
| 47 | + <tr><td>3. Enter server name and command (e.g., <code>npx -y @modelcontextprotocol/server-time</code>)</td></tr> |
| 48 | + <tr><td>4. Enable "Auto Connect" (optional)</td></tr> |
| 49 | + <tr><td>5. Save and Connect</td></tr> |
| 50 | + </table> |
49 | 51 |
|
50 | 52 | <p><strong>Common MCP Servers:</strong></p> |
51 | 53 |
|
|
64 | 66 |
|
65 | 67 | <h3>StarScript Examples</h3> |
66 | 68 |
|
67 | | - <p>After connecting servers, tools become available in any StarScript context:</p> |
68 | | - |
69 | 69 | <table> |
| 70 | + <tr><td>After connecting servers, tools become available in any StarScript context:</td></tr> |
70 | 71 | <tr><td><code>{time.get_current_time("America/New_York")}</code></td></tr> |
| 72 | + <tr><td>Use these expressions in:</td></tr> |
| 73 | + <tr><td>- HUD text elements</td></tr> |
| 74 | + <tr><td>- Chat macros</td></tr> |
| 75 | + <tr><td>- Anywhere Starscript placeholders are used</td></tr> |
71 | 76 | </table> |
72 | 77 |
|
73 | | - <p>Use these expressions in:</p> |
74 | | - <p>- HUD text elements</p> |
75 | | - <p>- Chat macros</p> |
76 | | - <p>- Anywhere Starscript placeholders are used</p> |
77 | | - |
78 | 78 | <h3>Chat Command Examples</h3> |
79 | 79 |
|
80 | 80 | <table> |
|
86 | 86 |
|
87 | 87 | <h3>Setup</h3> |
88 | 88 |
|
89 | | - <p>1. Navigate to MCP tab and click "Configure Gemini API"</p> |
90 | | - <p>2. Enter API key from <a href="https://ai.google.dev">ai.google.dev</a></p> |
91 | | - <p>3. Select model (Gemini 2.5 Pro, Flash, or Flash Lite)</p> |
92 | | - <p>4. Test connection and save</p> |
| 89 | + <table> |
| 90 | + <tr><td>1. Navigate to MCP tab and click "Configure Gemini API"</td></tr> |
| 91 | + <tr><td>2. Enter API key from <a href="https://ai.google.dev">ai.google.dev</a></td></tr> |
| 92 | + <tr><td>3. Select model (Gemini 2.5 Pro, Flash, or Flash Lite)</td></tr> |
| 93 | + <tr><td>4. Test connection and save</td></tr> |
| 94 | + </table> |
93 | 95 |
|
94 | 96 | <h3>Usage</h3> |
95 | 97 |
|
96 | | - <p><strong>Simple prompts:</strong></p> |
97 | 98 | <table> |
| 99 | + <tr><td><strong>Simple prompts:</strong></td></tr> |
98 | 100 | <tr><td><code>/gemini "Explain what StarScript is"</code></td></tr> |
99 | 101 | <tr><td><code>{gemini("What is the current Minecraft version?")}</code></td></tr> |
100 | | - </table> |
101 | | - |
102 | | - <p><strong>MCP-enhanced prompts:</strong></p> |
103 | | - <table> |
| 102 | + <tr><td><strong>MCP-enhanced prompts:</strong></td></tr> |
104 | 103 | <tr><td><code>/gemini-mcp "Read my config.json and explain each setting"</code></td></tr> |
105 | 104 | <tr><td><code>{gemini_mcp("Get the current time in Tokyo")}</code></td></tr> |
| 105 | + <tr><td>The <code>/gemini-mcp</code> command allows Gemini to automatically discover and call any connected MCP tool. Tool usage is reported in the response.</td></tr> |
106 | 106 | </table> |
107 | | - |
108 | | - <p>The <code>/gemini-mcp</code> command allows Gemini to automatically discover and call any connected MCP tool. Tool usage is reported in the response.</p> |
109 | 107 | </div> |
0 commit comments