|
| 1 | +--- |
| 2 | +title: Neighborhood Extension |
| 3 | +description: Add Neighborhood as a goose Extension |
| 4 | +--- |
| 5 | + |
| 6 | +import Tabs from '@theme/Tabs'; |
| 7 | +import TabItem from '@theme/TabItem'; |
| 8 | +import GooseDesktopInstaller from '@site/src/components/GooseDesktopInstaller'; |
| 9 | +import CLIExtensionInstructions from '@site/src/components/CLIExtensionInstructions'; |
| 10 | + |
| 11 | +This tutorial covers how to add the Neighborhood extension to goose, enabling you to discover nearby restaurants, browse menus, and place takeout orders through natural conversation. Sellers are US-based. |
| 12 | + |
| 13 | +:::tip TLDR |
| 14 | +<Tabs groupId="interface"> |
| 15 | + <TabItem value="ui" label="goose Desktop" default> |
| 16 | + [Launch the installer](goose://extension?type=streamable_http&url=https%3A%2F%2Fconnect.squareup.com%2Fv2%2Fmcp%2Fneighborhood&id=neighborhood&name=Neighborhood&description=Discover%20nearby%20restaurants%2C%20browse%20menus%2C%20and%20place%20takeout%20orders%20through%20natural%20conversation.) |
| 17 | + </TabItem> |
| 18 | + <TabItem value="cli" label="goose CLI"> |
| 19 | + |
| 20 | + 1. Run the `configure` command: |
| 21 | + |
| 22 | + ```sh |
| 23 | + goose configure |
| 24 | + ``` |
| 25 | + |
| 26 | + 2. Choose to add a `Remote Extension` |
| 27 | + |
| 28 | + ```sh |
| 29 | + ┌ goose-configure |
| 30 | + │ |
| 31 | + ◇ What would you like to configure? |
| 32 | + │ Add Extension (Connect to a new extension) |
| 33 | + │ |
| 34 | + ◆ What type of extension would you like to add? |
| 35 | + │ ○ Built-in Extension |
| 36 | + │ ○ Command-line Extension (Run a local command or script) |
| 37 | + // highlight-start |
| 38 | + │ ● Remote Extension |
| 39 | + // highlight-end |
| 40 | + └ |
| 41 | + ``` |
| 42 | + |
| 43 | + 3. Give your extension a name |
| 44 | + |
| 45 | + ```sh |
| 46 | + ┌ goose-configure |
| 47 | + │ |
| 48 | + ◇ What would you like to configure? |
| 49 | + │ Add Extension (Connect to a new extension) |
| 50 | + │ |
| 51 | + ◇ What type of extension would you like to add? |
| 52 | + │ Remote Extension |
| 53 | + │ |
| 54 | + // highlight-start |
| 55 | + ◆ What would you like to call this extension? |
| 56 | + │ Neighborhood |
| 57 | + // highlight-end |
| 58 | + └ |
| 59 | + ``` |
| 60 | + |
| 61 | + 4. Enter the remote endpoint URL |
| 62 | + |
| 63 | + ```sh |
| 64 | + ┌ goose-configure |
| 65 | + │ |
| 66 | + ◇ What would you like to configure? |
| 67 | + │ Add Extension (Connect to a new extension) |
| 68 | + │ |
| 69 | + ◇ What type of extension would you like to add? |
| 70 | + │ Remote Extension |
| 71 | + │ |
| 72 | + ◇ What would you like to call this extension? |
| 73 | + │ Neighborhood |
| 74 | + │ |
| 75 | + // highlight-start |
| 76 | + ◆ What is the SSE endpoint URI? |
| 77 | + │ https://connect.squareup.com/v2/mcp/neighborhood |
| 78 | + // highlight-end |
| 79 | + └ |
| 80 | + ``` |
| 81 | + |
| 82 | + 5. Enter the number of seconds goose should wait for actions to complete before timing out. Default is 300s |
| 83 | + |
| 84 | + ```sh |
| 85 | + ┌ goose-configure |
| 86 | + │ |
| 87 | + ◇ What would you like to configure? |
| 88 | + │ Add Extension (Connect to a new extension) |
| 89 | + │ |
| 90 | + ◇ What type of extension would you like to add? |
| 91 | + │ Remote Extension |
| 92 | + │ |
| 93 | + ◇ What would you like to call this extension? |
| 94 | + │ Neighborhood |
| 95 | + │ |
| 96 | + ◇ What is the SSE endpoint URI? |
| 97 | + │ https://connect.squareup.com/v2/mcp/neighborhood |
| 98 | + │ |
| 99 | + // highlight-start |
| 100 | + ◆ Please set the timeout for this tool (in secs): |
| 101 | + │ 300 |
| 102 | + // highlight-end |
| 103 | + └ |
| 104 | + ``` |
| 105 | + |
| 106 | + 6. Add a description if you want, otherwise select No to leave it blank. |
| 107 | + |
| 108 | + ```sh |
| 109 | + ┌ goose-configure |
| 110 | + │ |
| 111 | + ◇ What would you like to configure? |
| 112 | + │ Add Extension (Connect to a new extension) |
| 113 | + │ |
| 114 | + ◇ What type of extension would you like to add? |
| 115 | + │ Remote Extension |
| 116 | + │ |
| 117 | + ◇ What would you like to call this extension? |
| 118 | + │ Neighborhood |
| 119 | + │ |
| 120 | + ◇ What is the SSE endpoint URI? |
| 121 | + │ https://connect.squareup.com/v2/mcp/neighborhood |
| 122 | + │ |
| 123 | + ◇ Please set the timeout for this tool (in secs): |
| 124 | + │ 300 |
| 125 | + │ |
| 126 | + // highlight-start |
| 127 | + ◆ Would you like to add a description? |
| 128 | + │ ○ Yes / ● No |
| 129 | + // highlight-end |
| 130 | + │ |
| 131 | + └ |
| 132 | + ``` |
| 133 | + |
| 134 | + 7. No environment variables are needed, so select No. |
| 135 | + |
| 136 | + ```sh |
| 137 | + ┌ goose-configure |
| 138 | + │ |
| 139 | + ◇ What would you like to configure? |
| 140 | + │ Add Extension (Connect to a new extension) |
| 141 | + │ |
| 142 | + ◇ What type of extension would you like to add? |
| 143 | + │ Remote Extension |
| 144 | + │ |
| 145 | + ◇ What would you like to call this extension? |
| 146 | + │ Neighborhood |
| 147 | + │ |
| 148 | + ◇ What is the SSE endpoint URI? |
| 149 | + │ https://connect.squareup.com/v2/mcp/neighborhood |
| 150 | + │ |
| 151 | + ◇ Please set the timeout for this tool (in secs): |
| 152 | + │ 300 |
| 153 | + │ |
| 154 | + ◇ Would you like to add a description? |
| 155 | + │ No |
| 156 | + │ |
| 157 | + // highlight-start |
| 158 | + ◆ Would you like to add environment variables? |
| 159 | + │ ○ Yes / ● No |
| 160 | + // highlight-end |
| 161 | + └ Added Neighborhood extension |
| 162 | + ``` |
| 163 | + |
| 164 | + </TabItem> |
| 165 | +</Tabs> |
| 166 | +::: |
| 167 | + |
| 168 | +## Configuration |
| 169 | + |
| 170 | +<Tabs groupId="interface"> |
| 171 | + <TabItem value="ui" label="goose Desktop" default> |
| 172 | + <GooseDesktopInstaller |
| 173 | + extensionId="neighborhood" |
| 174 | + extensionName="Neighborhood" |
| 175 | + description="Discover nearby restaurants, browse menus, and place takeout orders through natural conversation." |
| 176 | + type="http" |
| 177 | + url="https://connect.squareup.com/v2/mcp/neighborhood" |
| 178 | + /> |
| 179 | + </TabItem> |
| 180 | + <TabItem value="cli" label="goose CLI"> |
| 181 | + <CLIExtensionInstructions |
| 182 | + name="Neighborhood" |
| 183 | + description="Discover nearby restaurants, browse menus, and place takeout orders through natural conversation." |
| 184 | + type="http" |
| 185 | + url="https://connect.squareup.com/v2/mcp/neighborhood" |
| 186 | + /> |
| 187 | + </TabItem> |
| 188 | +</Tabs> |
| 189 | + |
| 190 | +## Example Usage |
| 191 | + |
| 192 | +Neighborhood is most powerful when goose combines it with context from your day — your schedule, your goals, your dietary needs. Instead of just searching for food, you can ask goose to reason about what to eat based on what you're doing. |
| 193 | +
|
| 194 | +### Finding a meal that fits your activity |
| 195 | +
|
| 196 | +#### goose Prompt |
| 197 | +``` |
| 198 | +Use the neighborhood extension for this. I'm looking to get lunch today. |
| 199 | +I'm at 375 W Broadway in New York. I'm playing tennis later tonight. |
| 200 | +Could you suggest some options so I can play well? |
| 201 | +``` |
| 202 | +
|
| 203 | +#### goose Output |
| 204 | +
|
| 205 | +``` |
| 206 | +Here are some restaurants near 375 W Broadway in SoHo! For pre-tennis fuel, |
| 207 | +I'd recommend these options: |
| 208 | +
|
| 209 | +Best picks for athletic performance: |
| 210 | +
|
| 211 | +Kale & Things - Perfect for a healthy, nutrient-dense meal with greens and |
| 212 | +lean proteins to give you sustained energy without feeling heavy |
| 213 | +
|
| 214 | +Simply Natural Grill House NY (684 Broadway) - Great for grilled proteins |
| 215 | +and wholesome meals that'll fuel your game |
| 216 | + |
| 217 | +Ba'al Falafel (71 Sullivan St) - Mediterranean food with falafel, hummus, |
| 218 | +and fresh veggies provides good carbs and protein |
| 219 | +
|
| 220 | +Tips for eating before tennis: |
| 221 | +
|
| 222 | +- Eat 2-3 hours before playing to allow digestion |
| 223 | +- Focus on complex carbs + lean protein (avoid heavy, fatty foods) |
| 224 | +- Stay hydrated - consider grabbing a drink from Steam & Sip or Drip Drop Café |
| 225 | +
|
| 226 | +Would you like me to pull up the menu for any of these restaurants so you can |
| 227 | +see what they offer? Kale & Things sounds like it could be ideal for your |
| 228 | +pre-match meal! |
| 229 | +``` |
| 230 | +
|
| 231 | +### More Prompt Ideas |
| 232 | +
|
| 233 | +Try combining Neighborhood with other goose extensions for even more useful workflows: |
| 234 | +
|
| 235 | +- **Pair with your calendar:** *"Check my calendar for today and find somewhere I can grab a quick pickup lunch before my 1pm meeting. I'm near Union Square."* |
| 236 | +- **Track what you eat:** *"Order me a chicken bowl from that place on Sullivan St, and log the macros to my food diary."* |
| 237 | +- **Plan for a group:** *"I'm meeting 3 friends near Bryant Park tonight. Find somewhere with good vegetarian options that's not too loud."* |
0 commit comments