Nvidia NIM Nemotron Google Sheets Orchestrator
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Nvidia NIM Nemotron Google Sheets OrchestratorAdd a new row to my Google Sheet with the sales data"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Nvidia NIM Nemotron Google Sheets Orchestrator: MCP & Serverless Lambda
This repository contains a production-ready, AI-driven chatbot orchestrator that can read and write data to a Google Sheet using the Nvidia NIM Nemotron-3 (120B) model. It supports two distinct architectural implementations:
Local Multi-Container MCP Stack: Client-server separation using FastMCP and Server-Sent Events (SSE) private networks.
Serverless AWS Lambda Container: Consolidated, event-driven Lambda function behind API Gateway, using AWS Secrets Manager for OAuth token storage.
π Key Features
Brain (LLM): Integrates the state-of-the-art
nvidia/nemotron-3-super-120b-a12bmodel via Nvidia NIM.Decoupled MCP Architecture: FastMCP Google Sheets server communicating with a FastAPI agent client over Server-Sent Events (SSE).
Serverless Refactoring: Collapse the SSE network architecture into a single-process containerized AWS Lambda handler with in-process tool calling.
Security (Zero Secret Hardcoding): Google OAuth Client ID, Secret, and Refresh Token are fetched dynamically in-memory from AWS Secrets Manager at runtime (no token files baked into the image).
Telegram Webhook Reply: Optimized Lambda response payload supporting the Telegram Webhook Reply protocol (
method: "sendMessage") for instant response routing.Resilient OAuth Consent Helper: Native local helper script (
refresh_oauth.py) to trigger browser consent flows on the host machine and instantly sync refreshed tokens to AWS Secrets Manager.
Related MCP server: gworkspace-mcp
π Architectures
1. Local Multi-Container (MCP)
[User] ββ(Webhook)ββ> [FastAPI Client] ββ(SSE Network Bridge)ββ> [FastMCP Server] ββ> [Google Sheets API]
β
(Nvidia NIM API)
βΌ
[Nemotron-3 LLM]2. Serverless AWS Lambda (Production)
[User] ββ(Telegram POST)ββ> [API Gateway /webhook]
β
βΌ
[AWS Lambda Function] (Container Image)
β β
(In-Process Call) (boto3) ββ> [Secrets Manager]
βΌ
[app/tools.py]
β
βΌ
[Google Sheets API]π οΈ Folder Structure
βββ app/ # Consolidated serverless Lambda source code
β βββ __init__.py
β βββ secrets.py # Credentials resolver (LOCAL_DEV env vs Production Secrets Manager)
β βββ tools.py # Google Sheets API read/write tools (LangChain decorated)
β βββ agent.py # LangGraph ReAct agent binding tools to ChatNVIDIA
β βββ main.py # Lambda entrypoint handler & local CLI REPL
βββ client/ # Original local FastAPI Agent Client (MCP mode)
βββ server/ # Original local FastMCP Google Sheets Server (MCP mode)
βββ Dockerfile # Packages the app/ module for AWS Lambda
βββ template.yaml # AWS SAM Template declaration
βββ requirements.txt # Consolidated dependencies for AWS Lambda
βββ refresh_oauth.py # Local OAuth browser consent helper & Secrets Manager syncer
βββ .env # Local environment file (ignored by Git)π¦ Running Locally
Step 1: Initialize OAuth Credentials
Go to the Google Cloud Console.
Enable the Google Sheets API.
Setup the OAuth Consent Screen (User Type: External, Status: Testing, add your email as a Test User).
Create an OAuth Client ID of type Desktop app.
Download the secret JSON, rename it to
credentials.json, and place it in./server/credentials.json.
Step 2: Perform Initial Consent & Run Local Stack
Run the local consent flow:
cd server pip install -r requirements.txt python sheets_mcp.pyA browser window will open. Click 'Allow' to grant access. This generates the initial
token.jsonfile.Copy
.env.exampleto.envin the root and fill in your keys:NVIDIA_API_KEY: Your Nvidia API key.SPREADSHEET_ID: Your default target spreadsheet ID.TELEGRAM_BOT_TOKEN: Your Telegram Bot API token.
Start the local multi-container stack:
docker-compose up --build -d
βοΈ Deploying to AWS Lambda (Serverless)
AWS Lambda container images require the Docker V2 Schema 2 format. Standard OCI manifests (with buildx attestations/SBOMs) will be rejected by AWS with an InvalidParameterValueException.
To compile, build ECR registries, build the container image securely, push, create IAM roles, upload credentials, and deploy your API Gateway triggers, a complete deployment helper is provided in the project history. You can perform these steps manually or use standard SAM CLI:
Manual SAM Build & Deploy
Save Google Credentials to Secrets Manager: Create a secret in AWS Secrets Manager named
sheets-orchestrator-google-oauthcontaining:{ "client_id": "YOUR_CLIENT_ID", "client_secret": "YOUR_CLIENT_SECRET", "refresh_token": "YOUR_REFRESH_TOKEN" }Build and Deploy:
sam build sam deploy --guidedProvide your stack name, AWS Region,
NvidiaApiKey, and the secret ARN. Once deployment is complete, SAM will output the public regional Webhook URL:https://<api-id>.execute-api.<region>.amazonaws.com/Prod/webhook
π Refreshing OAuth Credentials (The 7-Day Limit)
If your Google Cloud Console project is in Testing publishing status, your Google refresh token will expire after 7 days.
To resolve token expiry errors without having to redeploy your code:
Run the local OAuth syncer from your project root:
python refresh_oauth.pySign in via your web browser.
The script will automatically fetch the new refresh token, write it to your local
.env, connect to AWS, and update the secret in AWS Secrets Manager.The Lambda function will pick up the new credentials on its next execution.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceGoogle Chat MCP Sever (Extendable to Teams,Slack.)Last updated24PythonMIT
- AlicenseBqualityDmaintenanceAn MCP server for automating Google Workspace applications including Sheets, Apps Script, Drive, Docs, and Gmail. It enables users to manipulate spreadsheets, edit scripts, manage files, and send emails directly from conversational AI interfaces.Last updated31MIT
- Alicense-qualityDmaintenanceMCP server for managing Google Sheets via 23 tools, enabling read/write, formatting, sheet management, and data operations through natural language.Last updated81MIT
- Alicense-qualityDmaintenanceEnables AI assistants to read, write, and manage Google Sheets spreadsheets through natural language commands, providing a bridge between MCP clients and the Google Sheets API.Last updated8961MIT
Related MCP Connectors
MCP Hub: AI service discovery, per-user OAuth, and multi-service workflow orchestration
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
MCP server for Gainium β manage trading bots, deals, and balances via AI assistants
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nimjj/Nvidia-NIM-Nemotron-chatbot-MCP-Server-Google-Sheets--LAmbda'
If you have feedback or need assistance with the MCP directory API, please join our Discord server