Skip to content

Commit a300de5

Browse files
authored
Merge pull request #275 from apollographql/add-claude-to-auth-guide
docs: Add instructions for Goose as an LLM client on Auth guide
2 parents 0dd62b4 + e1eed61 commit a300de5

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/source/guides/auth-auth0.mdx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,30 @@ Before continuing, you need to set up the Auth0 client to accept an additional c
225225

226226
</ExpansionPanel>
227227

228+
### Step 5: Make requests with an MCP Client (Goose)
229+
230+
We'll use [Goose](https://block.github.io/goose/) as our MCP Client. Goose allows you to choose between many different LLMs and provides some built-in functionality for connecting to MCP servers, called [Extensions](https://block.github.io/goose/docs/getting-started/using-extensions).
231+
232+
[Install the Goose CLI](https://block.github.io/goose/docs/getting-started/installation), following the instructions for your operating system. Set up the LLM provider of your choice with `goose configure` --> **Configure Providers**. Each provider has its own set of instructions, rate limiting and pricing.
233+
234+
Then, continue with the following steps:
235+
236+
1. In your terminal, run `goose configure`.
237+
1. Select or enter the following answers at the prompts:
238+
239+
| Prompt | Answer |
240+
| ----------------------------------------------------------- | ------------------------------------------ |
241+
| "What would you like to configure?" | "Add Extension" |
242+
| "What type of extension would you like to add?" | "Command Line Extension" |
243+
| "What's the name of this extension?" | "mcp-auth-quickstart" |
244+
| "What command should be run?" | `npx mcp-remote http://127.0.0.1:5000/mcp` |
245+
| Other prompts (timeout, description, environment variables) | Use the default values |
246+
247+
1. To start Goose, type `goose`. This will open a browser window and send you through the auth flow.
248+
1. Log in to your Auth0 instance and authorize your MCP server to gain access to your tools.
249+
1. In Goose, ask "What astronauts are in space right now?". This question is similar to the `GetAstronautsCurrentlyInSpace` operation from earlier, which fails as unauthenticated without the proper token.
250+
1. Goose will select the `GetAstronautsCurrentlyInSpace` tool and respond with information about the astronauts found in TheSpaceDevs.
251+
228252
## Troubleshooting
229253

230254
### Common Issues

0 commit comments

Comments
 (0)