<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: BrewMyTech</title>
    <description>The latest articles on DEV Community by BrewMyTech (@brewmytech).</description>
    <link>https://dev.to/brewmytech</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3209087%2Fd01f647a-5f2d-4d93-90e4-479e12a10e74.png</url>
      <title>DEV Community: BrewMyTech</title>
      <link>https://dev.to/brewmytech</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/brewmytech"/>
    <language>en</language>
    <item>
      <title>Building with the Model Context Protocol (MCP): A Practical Guide Using Grok MCP</title>
      <dc:creator>BrewMyTech</dc:creator>
      <pubDate>Mon, 26 May 2025 08:39:40 +0000</pubDate>
      <link>https://dev.to/brewmytech/building-with-the-model-context-protocol-mcp-a-practical-guide-using-grok-mcp-l3n</link>
      <guid>https://dev.to/brewmytech/building-with-the-model-context-protocol-mcp-a-practical-guide-using-grok-mcp-l3n</guid>
      <description>&lt;p&gt;&lt;strong&gt;Model Context Protocol (MCP)&lt;/strong&gt; is an open standard that enables large language models (LLMs) to securely access external tools, APIs, and data sources. Think of it as a universal connector for AI systems. This guide will help you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Understand MCP fundamentals&lt;/li&gt;
&lt;li&gt;Explore the Grok MCP implementation&lt;/li&gt;
&lt;li&gt;Deploy your server using Smithery&lt;/li&gt;
&lt;li&gt;Connect your local build to Claude Desktop&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What is MCP?
&lt;/h2&gt;

&lt;p&gt;MCP provides a standardized way for LLMs to interact with external resources through a well-defined protocol. The architecture consists of three key components:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;MCP Server&lt;/strong&gt;: Exposes tools and resources via the standardized MCP protocol&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MCP Host&lt;/strong&gt;: The LLM client (such as Claude Desktop) that connects to and uses MCP servers&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Communication Layer&lt;/strong&gt;: JSON-based messages transmitted over stdio, WebSocket, or HTTP&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This separation allows for modular, reusable integrations that work across different AI systems.&lt;/p&gt;

&lt;h2&gt;
  
  
  About Grok MCP
&lt;/h2&gt;

&lt;p&gt;Grok MCP is an MCP server implementation that provides a bridge to the &lt;strong&gt;Grok API&lt;/strong&gt;. It exposes several useful tools:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;list_models&lt;/code&gt; - Retrieve available Grok models&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;get_model&lt;/code&gt; - Get details about a specific model&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;create_chat_completion&lt;/code&gt; - Generate chat-based responses&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;create_completion&lt;/code&gt; - Generate text completions&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;create_embeddings&lt;/code&gt; - Create text embeddings&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All tools authenticate with the Grok API using a &lt;code&gt;GROK_API_KEY&lt;/code&gt; environment variable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Project Structure
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;index.ts               # Entry point and server configuration
src/
  operations/          # Tool implementations: models, chat, completions, embeddings
  common/              # Shared utilities (grokRequest helper, error classes)
  version.ts           # Version metadata
package.json           # Dependencies and CLI configuration
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  How It Works
&lt;/h2&gt;
&lt;h3&gt;
  
  
  1. Server Initialization
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;server&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Server&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; 
  &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;grok-mcp-server&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; 
  &lt;span class="na"&gt;version&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;VERSION&lt;/span&gt; 
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  2. Tool Registration
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="nx"&gt;server&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;setRequestHandler&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;ListToolsRequestSchema&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;tools&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;list_models&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="na"&gt;description&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;List available Grok models&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
    &lt;span class="p"&gt;},&lt;/span&gt;
    &lt;span class="c1"&gt;// Additional tools...&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;}));&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  3. Tool Execution
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="nx"&gt;server&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;setRequestHandler&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;CallToolRequestSchema&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;request&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;switch &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;request&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;params&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;name&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;case&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;list_models&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
      &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;models&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;listModels&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
      &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="na"&gt;content&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[{&lt;/span&gt;
          &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;text&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="na"&gt;text&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;JSON&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;stringify&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;models&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="p"&gt;}]&lt;/span&gt;
      &lt;span class="p"&gt;};&lt;/span&gt;
    &lt;span class="c1"&gt;// Handle other tools...&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  4. External API Integration
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;listModels&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;grokRequest&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;models&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;ListModelsResponseSchema&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;parse&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;response&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  Testing Locally
&lt;/h2&gt;

&lt;p&gt;Before you can connect a client to it, you need to build it:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Clone and setup&lt;/span&gt;
git clone &amp;lt;repository-url&amp;gt;
&lt;span class="nb"&gt;cd &lt;/span&gt;grok-mcp
npm &lt;span class="nb"&gt;install&lt;/span&gt;

&lt;span class="c"&gt;# Build the project&lt;/span&gt;
npm run build
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h2&gt;
  
  
  Connecting to Claude Desktop
&lt;/h2&gt;

&lt;p&gt;To use your local Grok MCP server with Claude Desktop:&lt;/p&gt;
&lt;h3&gt;
  
  
  1. Configure Claude Desktop
&lt;/h3&gt;

&lt;p&gt;Create or edit the MCP configuration file. The location depends on your operating system:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;macOS&lt;/strong&gt;: &lt;code&gt;~/Library/Application Support/Claude/claude_desktop_config.json&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Windows&lt;/strong&gt;: &lt;code&gt;%APPDATA%\Claude\claude_desktop_config.json&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Linux&lt;/strong&gt;: &lt;code&gt;~/.config/Claude/claude_desktop_config.json&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Add your server configuration:&lt;br&gt;
&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"grok"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"node"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"args"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"/absolute/path/to/your/grok-mcp/dist/index.js"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"env"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
        &lt;/span&gt;&lt;span class="nl"&gt;"GROK_API_KEY"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"your_grok_api_key"&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;Important&lt;/strong&gt;: Replace &lt;code&gt;/absolute/path/to/your/grok-mcp/&lt;/code&gt; with the actual full path to your project directory.&lt;/p&gt;
&lt;h3&gt;
  
  
  2. Restart Claude Desktop
&lt;/h3&gt;

&lt;p&gt;After saving the configuration file, restart Claude Desktop. It will automatically discover and load your Grok MCP server, making the tools available in your conversations.&lt;/p&gt;
&lt;h2&gt;
  
  
  Deploying with Smithery
&lt;/h2&gt;

&lt;p&gt;Smithery provides a streamlined deployment platform for MCP servers:&lt;/p&gt;
&lt;h3&gt;
  
  
  1. Setup
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Visit &lt;a href="https://smithery.ai" rel="noopener noreferrer"&gt;smithery.ai&lt;/a&gt; and sign in with GitHub&lt;/li&gt;
&lt;li&gt;Connect your repository containing the Grok MCP code&lt;/li&gt;
&lt;li&gt;Select the repository and ensure it points to the root directory&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  2. Environment Configuration
&lt;/h3&gt;

&lt;p&gt;In your Smithery project settings, add the required environment variable:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;GROK_API_KEY&lt;/code&gt;: Your Grok API key&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  3. Deploy
&lt;/h3&gt;

&lt;p&gt;Click deploy and monitor the build logs. Once successful, your MCP server will be live and accessible to MCP clients.&lt;/p&gt;
&lt;h2&gt;
  
  
  Troubleshooting
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Common Issues
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Claude Desktop can't find the server&lt;/strong&gt;: Double-check the file path in your configuration and ensure the built files exist in &lt;code&gt;dist/&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tools not appearing&lt;/strong&gt;: Restart Claude Desktop after configuration changes and check the MCP server logs for errors.&lt;/p&gt;
&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;MCP represents a significant step forward in making AI systems more modular and extensible. The Grok MCP implementation demonstrates how any API can be transformed into AI-compatible tools that work seamlessly across different platforms.&lt;/p&gt;

&lt;p&gt;By combining MCP's standardized approach with deployment platforms like Smithery, developers can build once and deploy anywhere, creating a rich ecosystem of AI-enabled tools and services.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The MCP Promise&lt;/strong&gt;: Build once, plug anywhere, and unlock the full potential of modular AI systems.&lt;/p&gt;
&lt;/blockquote&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/BrewMyTech" rel="noopener noreferrer"&gt;
        BrewMyTech
      &lt;/a&gt; / &lt;a href="https://github.com/BrewMyTech/grok-mcp" rel="noopener noreferrer"&gt;
        grok-mcp
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      BrewMyTech MCP server for using the Grok API
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Grok MCP Server&lt;/h1&gt;
&lt;/div&gt;

&lt;p&gt;MCP Server for the Grok API, enabling chat, completions, embeddings and model operations with Grok AI. It is implemented using &lt;a href="https://github.com/punkpeye/fastmcp" rel="noopener noreferrer"&gt;FastMCP&lt;/a&gt; for quick setup and tool registration. By default the server exposes an HTTP streaming endpoint on port &lt;code&gt;8080&lt;/code&gt;.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;Features&lt;/h3&gt;
&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Multiple Operation Types&lt;/strong&gt;: Support for chat completions, text completions, embeddings, and model management&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Comprehensive Error Handling&lt;/strong&gt;: Clear error messages for common issues&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Streaming Support&lt;/strong&gt;: Real-time streaming responses for chat and completions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-modal Inputs&lt;/strong&gt;: Support for both text and image inputs in chat conversations&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;VSCode Integration&lt;/strong&gt;: Seamless integration with Visual Studio Code&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Tools&lt;/h2&gt;
&lt;/div&gt;


&lt;ol&gt;

&lt;li&gt;

&lt;p&gt;&lt;code&gt;list_models&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;List available models for the API&lt;/li&gt;
&lt;li&gt;Returns: Array of available models with details&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;&lt;code&gt;get_model&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Get information about a specific model&lt;/li&gt;
&lt;li&gt;Inputs
&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;model_id&lt;/code&gt; (string): The ID of the model to retrieve&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;Returns: Model details&lt;/li&gt;

&lt;/ul&gt;

&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;&lt;code&gt;create_chat_completion&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a chat completion with Grok&lt;/li&gt;
&lt;li&gt;Inputs
&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;model&lt;/code&gt; (string): ID of the model to…&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;/li&gt;

&lt;/ol&gt;
&lt;/div&gt;
&lt;br&gt;
  &lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/BrewMyTech/grok-mcp" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


</description>
      <category>mcp</category>
      <category>ai</category>
      <category>llm</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
