You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/gram/examples/creating-taskmaster-mcp-server.mdx
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ To follow this tutorial, you need:
37
37
38
38
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**.
39
39
40
-

40
+

41
41
42
42
Click **Get Started** and select **Start from API** to start the guided setup flow for creating a toolset and MCP server.
43
43
@@ -67,7 +67,7 @@ Gram then creates the toolset from the OpenAPI document.
67
67
68
68
Click **Toolsets** in the sidebar to view the **Taskmaster** toolset.
69
69
70
-

70
+

71
71
72
72
As you can see, the toolset needs environment variables before you can use it.
73
73
@@ -92,7 +92,7 @@ Before configuring environment variables, create an API key:
92
92
93
93
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.
94
94
95
-

95
+

96
96
97
97
Configure the following environment variables:
98
98
@@ -101,7 +101,7 @@ Configure the following environment variables:
101
101
102
102
Click **Save**.
103
103
104
-

104
+

105
105
106
106
## Publishing an MCP server
107
107
@@ -113,7 +113,7 @@ To enable the server, click **Enable**, and then in the modal that opens, click
113
113
114
114
Scroll down to the **Visibility** section and select the **Public** checkbox.
115
115
116
-

116
+

117
117
118
118
Next, you'll need to copy the MCP server configuration.
119
119
@@ -246,11 +246,11 @@ For example, let's add a function that sends email reminders to users about thei
246
246
247
247
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.
248
248
249
-

249
+

250
250
251
251
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.
252
252
253
-

253
+

254
254
255
255
Now the MCP server includes both the auto-generated CRUD tools from your OpenAPI document and a custom function for sending task reminders.
256
256
@@ -260,7 +260,7 @@ You can test the tool in the Playground with the following prompt:
260
260
Please send an email to [email protected] to remind them of the pending tasks.
261
261
```
262
262
263
-

263
+

264
264
265
265
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).
0 commit comments