diff --git a/docs/gram/clients/using-claude-code-with-gram-mcp-servers.mdx b/docs/gram/clients/using-claude-code-with-gram-mcp-servers.mdx index 370a907d..4bb7e089 100644 --- a/docs/gram/clients/using-claude-code-with-gram-mcp-servers.mdx +++ b/docs/gram/clients/using-claude-code-with-gram-mcp-servers.mdx @@ -42,16 +42,38 @@ Before connecting Claude Code to a Taskmaster MCP server, you first need to crea ## Connecting Claude Code to your Gram-hosted MCP server -Now let's connect Claude Code to your Taskmaster MCP server. +Once your Taskmaster MCP server is ready, there are three ways to connect it to Claude Code: -### Quick Setup with Gram CLI (Recommended) +- Use the `claude mcp add` command from the Gram installation page (recommended). +- Use the Gram CLI to automatically configure the connection. +- Manually add the MCP server configuration. -The fastest way to connect Claude Code to your Gram-hosted MCP server is using the Gram CLI's install command: +### Quick Setup from the Gram installation page + +The quickest way to connect Claude Code to a Gram-hosted MCP server is to copy the installation command from the Gram dashboard. + +Go to your toolset's installation page at `https://app.getgram.ai/mcp//install` and select **Claude Code**. Copy the installation command and run it in your terminal: + +![Screenshot showing the Gram installation page with client options](/assets/docs/gram/img/guides/install-clients-page.png) + +```bash +claude mcp add --transport http "taskmaster" "https://app.getgram.ai/mcp/your-toolset-slug" +``` + +Replace `your-toolset-slug` with the slug of your toolset. + +### Using the Gram CLI + +Alternatively, you can use the Gram CLI to configure the connection. The CLI automatically fetches your toolset configuration and creates the appropriate settings file. + +Go to your toolset's installation page and select **Gram CLI** to copy the installation command, or run: ```bash gram install claude-code --toolset taskmaster ``` +![Screenshot showing the output of the gram install claude-code command](/assets/docs/gram/img/guides/claude-code/gram-install-claude-code-command.png) + This command automatically: - Fetches your toolset configuration from Gram - Derives the MCP URL and authentication settings diff --git a/docs/gram/clients/using-claude-desktop-with-gram-mcp-server.mdx b/docs/gram/clients/using-claude-desktop-with-gram-mcp-server.mdx index 5e7ee6f5..cb2abc46 100644 --- a/docs/gram/clients/using-claude-desktop-with-gram-mcp-server.mdx +++ b/docs/gram/clients/using-claude-desktop-with-gram-mcp-server.mdx @@ -26,15 +26,26 @@ To follow this tutorial, you need: Before connecting Claude Desktop to a Taskmaster MCP server, you first need to create one. Follow our guide to [creating a Taskmaster MCP server](/docs/gram/examples/creating-taskmaster-mcp-server). -Once your Taskmaster MCP server is ready, there are three ways to connect it to Claude Desktop: +Once your Taskmaster MCP server is ready, there are four ways to connect it to Claude Desktop: -- Use the Gram CLI to generate an installation package (recommended). +- Download a `.mcpb` file from the Gram installation page (recommended). +- Use the Gram CLI to generate an installation package. - Use the MCP configuration file in Claude Desktop. - Use the Claude Connectors feature to connect directly to your Gram-hosted MCP server. +## Connecting Claude Desktop from the Gram installation page + +The quickest way to connect Claude Desktop to a Gram-hosted MCP server is to download the installation package directly from the Gram dashboard. + +Go to your toolset's installation page at `https://app.getgram.ai/mcp//install` and click the **Claude Desktop** button to download a `.mcpb` file. + +![Screenshot showing the Gram installation page with client options](/assets/docs/gram/img/guides/install-clients-page.png) + +Open the downloaded `.mcpb` file. Claude Desktop will prompt you to install the MCP server. Click **Install** to complete the setup. + ## Connecting Claude Desktop using the Gram CLI -The Gram CLI provides the simplest way to connect Claude Desktop to a Gram-hosted MCP server. The CLI generates an installation package (`.mcpb` file) that can be opened to automatically configure the connection. +Alternatively, you can use the Gram CLI to generate an installation package (`.mcpb` file). ### 1. Install the Gram CLI @@ -61,7 +72,7 @@ For more information about the Gram CLI, see the [Gram CLI documentation](/docs/ ### 2. Authenticate with Gram -Authenticate with the Gram account: +Authenticate with your Gram account: ```bash gram auth @@ -79,21 +90,21 @@ gram whoami ### 3. Generate the installation package -Generate the `.mcpb` file for the MCP server toolset: +Run the install command: ```bash gram install claude-desktop --toolset your-toolset-slug ``` -Replace `your-toolset-slug` with the slug of the toolset. For example, to install the Taskmaster toolset: +Replace `your-toolset-slug` with the slug of your toolset. For example, to install the Taskmaster toolset: ```bash gram install claude-desktop --toolset taskmaster ``` -The CLI automatically fetches the toolset configuration from Gram and generates the installation package in the Downloads folder. +The CLI automatically fetches the toolset configuration from Gram and generates the installation package in your Downloads folder. -