Skip to content

Commit 8fc7fc8

Browse files
sixhobbitskoladev32rideam
authored
docs: add environment variables to gram install command for Claude Code - PMM-671 (#78)
Co-authored-by: koladev <[email protected]> Co-authored-by: tatenda <[email protected]>
1 parent d39d93b commit 8fc7fc8

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

docs/gram/clients/using-claude-code-with-gram-mcp-servers.mdx

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,19 @@ gram install claude-code --toolset taskmaster
5555
This command automatically:
5656
- Fetches your toolset configuration from Gram
5757
- Derives the MCP URL and authentication settings
58-
- Creates the correct configuration (by default in user-level `~/.claude/settings.local.json`)
58+
- Creates the correct configuration (by default in user-level `~/.claude.json`)
5959

60-
**Configuration Scopes:**
60+
#### Setting up environment variables
61+
62+
If your toolset requires authentication, you'll need to set up environment variables. The `gram install` command will display the required variable names and provide the export command you need to run to set the variable value.
63+
64+
For the Taskmaster toolset, you'll need to set the `MCP_TASK_MASTER_API_KEY` environment variable to your Taskmaster API key. You can do this by running the following command:
65+
66+
```bash
67+
export MCP_TASK_MASTER_API_KEY='your-api-key-value'
68+
```
69+
70+
#### Configuration Scopes
6171

6272
You can control where the MCP server configuration is installed using the `--scope` flag:
6373

@@ -211,4 +221,3 @@ If Claude Code isn't calling the tools:
211221
You now have Claude Code connected to a Gram-hosted MCP server with task management capabilities.
212222

213223
Ready to build your own MCP server? [Try Gram today](/product/gram) and see how easy it is to turn any API into agent-ready tools.
214-

0 commit comments

Comments
 (0)