diff --git a/docs/source/guides/auth-auth0.mdx b/docs/source/guides/auth-auth0.mdx index 79c046dd..5768e551 100644 --- a/docs/source/guides/auth-auth0.mdx +++ b/docs/source/guides/auth-auth0.mdx @@ -225,6 +225,30 @@ Before continuing, you need to set up the Auth0 client to accept an additional c +### Step 5: Make requests with an MCP Client (Goose) + +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). + +[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. + +Then, continue with the following steps: + +1. In your terminal, run `goose configure`. +1. Select or enter the following answers at the prompts: + +| Prompt | Answer | +| ----------------------------------------------------------- | ------------------------------------------ | +| "What would you like to configure?" | "Add Extension" | +| "What type of extension would you like to add?" | "Command Line Extension" | +| "What's the name of this extension?" | "mcp-auth-quickstart" | +| "What command should be run?" | `npx mcp-remote http://127.0.0.1:5000/mcp` | +| Other prompts (timeout, description, environment variables) | Use the default values | + +1. To start Goose, type `goose`. This will open a browser window and send you through the auth flow. +1. Log in to your Auth0 instance and authorize your MCP server to gain access to your tools. +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. +1. Goose will select the `GetAstronautsCurrentlyInSpace` tool and respond with information about the astronauts found in TheSpaceDevs. + ## Troubleshooting ### Common Issues