Skip to content

Commit e7215fd

Browse files
committed
Sync open source content 🐝 (from 15bf734cad5160e5b39ccd0441272292ff412225)
1 parent 001e4a5 commit e7215fd

File tree

9 files changed

+8
-8
lines changed

9 files changed

+8
-8
lines changed

β€Ždocs/gram/examples/creating-taskmaster-mcp-server.mdxβ€Ž

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ To follow this tutorial, you need:
3737

3838
On the [Gram dashboard](https://app.getgram.ai), click your username in the bottom-left corner and then open the projects dropdown. Select **+ New Project**, enter a project name, and click **Submit**.
3939

40-
![Screenshot of the Gram dashboard showing the New Project link](./assets/gram-new-project.png)
40+
![Screenshot of the Gram dashboard showing the New Project link](/assets/docs/gram/img/examples/gram-new-project.png)
4141

4242
Click **Get Started** and select **Start from API** to start the guided setup flow for creating a toolset and MCP server.
4343

@@ -67,7 +67,7 @@ Gram then creates the toolset from the OpenAPI document.
6767

6868
Click **Toolsets** in the sidebar to view the **Taskmaster** toolset.
6969

70-
![Screenshot of the Gram dashboard showing the Taskmaster toolset](./assets/toolset-created.png)
70+
![Screenshot of the Gram dashboard showing the Taskmaster toolset](/assets/docs/gram/img/examples/toolset-created.png)
7171

7272
As you can see, the toolset needs environment variables before you can use it.
7373

@@ -92,7 +92,7 @@ Before configuring environment variables, create an API key:
9292

9393
In the **Environments** tab, click the **Default** environment. Click **Fill for Toolset**. Select the **Taskmaster** toolset and click **Fill Variables** to automatically populate the required variables.
9494

95-
![Screenshot showing the fill for toolset dialog to automatically populate required variables](./assets/fill-env-vars-toolset.png)
95+
![Screenshot showing the fill for toolset dialog to automatically populate required variables](/assets/docs/gram/img/examples/fill-env-vars-toolset.png)
9696

9797
Configure the following environment variables:
9898

@@ -101,7 +101,7 @@ Configure the following environment variables:
101101

102102
Click **Save**.
103103

104-
![Set server URL](./assets/set-env-vars.png)
104+
![Set server URL](/assets/docs/gram/img/examples/set-env-vars.png)
105105

106106
## Publishing an MCP server
107107

@@ -113,7 +113,7 @@ To enable the server, click **Enable**, and then in the modal that opens, click
113113

114114
Scroll down to the **Visibility** section and select the **Public** checkbox.
115115

116-
![Screenshot of the MCP details page](./assets/mcp-details.png)
116+
![Screenshot of the MCP details page](/assets/docs/gram/img/examples/mcp-details.png)
117117

118118
Next, you'll need to copy the MCP server configuration.
119119

@@ -246,11 +246,11 @@ For example, let's add a function that sends email reminders to users about thei
246246

247247
4. In the Gram dashboard, go to **Toolsets**, click on the **Taskmaster** toolset, click **+ Add Tools**, select the newly created function, and save the changes.
248248

249-
![Screenshot showing the Add Tool dialog with the send_email function selected](./assets/add-function-to-toolset.png)
249+
![Screenshot showing the Add Tool dialog with the send_email function selected](/assets/docs/gram/img/examples/add-function-to-toolset.png)
250250

251251
5. Update the environment variables by going to the **Auth** tab, updating the newly added `RESEND_API_KEY` variable with your Resend API key, and saving the environment.
252252

253-
![Screenshot showing the environment configuration dialog with RESEND_API_KEY variable being added](./assets/configure-resend-api-key.png)
253+
![Screenshot showing the environment configuration dialog with RESEND_API_KEY variable being added](/assets/docs/gram/img/examples/configure-resend-api-key.png)
254254

255255
Now the MCP server includes both the auto-generated CRUD tools from your OpenAPI document and a custom function for sending task reminders.
256256

@@ -260,7 +260,7 @@ You can test the tool in the Playground with the following prompt:
260260
Please send an email to [email protected] to remind them of the pending tasks.
261261
```
262262

263-
![Testing the send email tool](./assets/testing-the-send-email-function.png)
263+
![Testing the send email tool](/assets/docs/gram/img/examples/testing-the-send-email-function.png)
264264

265265
You can find the complete code for this Resend integration example in the [Gram repository](https://github.com/speakeasy-api/gram/tree/main/examples/resend).
266266

0 commit comments

Comments
Β (0)