Requires Google Cloud Project with Sheets API enabled and Service Account authentication for accessing Google Sheets functionality.
Enables comprehensive Google Sheets operations including reading and writing data, managing sheets, batch operations, cell formatting, borders, merging cells, conditional formatting, and creating charts.
GoogleSheetsMCP - AgenticLedger Platform
Google Sheets MCP Server
Production-ready MCP server providing comprehensive Google Sheets integration for the AgenticLedger AI Agent Platform.
π Features
26 Production-Ready Tools - Complete CRUD operations, formatting, charts, sheet management
Service Account Authentication - Persistent, shareable credentials
Batch Operations - 50-70% faster than sequential operations
Advanced Formatting - Colors, fonts, borders, conditional formatting, cell merging
Chart Creation - LINE, BAR, COLUMN, PIE, SCATTER, AREA, COMBO charts
Type-Safe - Full TypeScript with Zod schema validation
100% Documented - Comprehensive guides for developers and AI agents
π¦ Quick Start
Installation
Authentication Setup
Create Google Cloud Project (see GOOGLE_CLOUD_SETUP.md)
Enable Google Sheets API
Create Service Account and download JSON key
Configure environment:
Share spreadsheets with service account email (from JSON key)
Run Tests
π οΈ Available Tools (26)
sheets_check_access- Verify spreadsheet accesssheets_get_values- Read cell values from rangesheets_batch_get_values- Read multiple ranges at oncesheets_get_metadata- Get spreadsheet metadata
sheets_update_values- Update cell valuessheets_batch_update_values- Update multiple rangessheets_append_values- Append rows to tablesheets_clear_values- Clear cell contentssheets_insert_rows- Insert rows at position
sheets_insert_sheet- Create new sheetsheets_delete_sheet- Delete sheetsheets_duplicate_sheet- Duplicate sheetsheets_copy_to- Copy sheet to another spreadsheetsheets_update_sheet_properties- Update sheet propertiessheets_batch_delete_sheets- Delete multiple sheets
sheets_format_cells- Apply cell formattingsheets_batch_format_cells- Format multiple rangessheets_update_borders- Add/modify borderssheets_merge_cells- Merge cellssheets_unmerge_cells- Unmerge cellssheets_add_conditional_formatting- Add conditional rules
sheets_create_chart- Create chartsheets_update_chart- Update existing chartsheets_delete_chart- Delete chart
sheets_insert_link- Insert hyperlinksheets_insert_date- Insert formatted date/time
π Documentation
For Developers
README_AGENTICLEDGER.md - Complete integration guide
PLATFORM_INTEGRATION_REPORT.md - Detailed tool documentation with real API tests
GOOGLE_CLOUD_SETUP.md - Step-by-step authentication setup
For AI Agents
ABILITIES_LIMITATIONS.md - Smart workarounds, best practices, optimization strategies
Example Files
.env.example- Environment configuration templateservice-account-key.example.json- Credentials format exampletest-integration.ts- Integration test suite
π‘ Example Usage
Read Data
Write Data
Format Cells
Create Chart
π Security
Never commit credentials (
service-account-key.json,.env)Share spreadsheets explicitly with service account email
Use environment variables for sensitive data
Rotate keys regularly (every 90 days recommended)
Monitor API usage in Google Cloud Console
π Performance
Average Response Time: 477ms per operation
Batch Operations: 50-70% faster than sequential
API Quotas: 100 requests per 100 seconds per user
Recommendation: Use batch operations for 2+ ranges
π€ Contributing
This is an AgenticLedger platform-customized version of freema/mcp-gsheets.
AgenticLedger Customizations:
Platform-specific documentation
Integration test suite
AI agent guides
Example files and templates
π License
MIT License - See LICENSE file
π Links
Repository: https://github.com/oregpt/Agenticledger_MCP_SheetsOnly
Upstream Source: https://github.com/freema/mcp-gsheets
AgenticLedger Platform: [Platform Documentation]
Google Sheets API: https://developers.google.com/sheets/api
π Support
Check Documentation:
README_AGENTICLEDGER.md - Integration guide
PLATFORM_INTEGRATION_REPORT.md - Tool reference
GOOGLE_CLOUD_SETUP.md - Authentication help
Run Diagnostics:
npm run test:integrationReview Examples:
See
test-integration.tsfor real API usage examples
Status: β Production Ready Version: 1.5.2 Last Updated: 2025-11-03 Total Tools: 26 Platform: AgenticLedger
This server cannot be installed