Skip to content

Bump version to 1.6.0 and add resource handling for Google Sheets API#108

Merged
freema merged 1 commit intomainfrom
feat/resource-handling
Feb 4, 2026
Merged

Bump version to 1.6.0 and add resource handling for Google Sheets API#108
freema merged 1 commit intomainfrom
feat/resource-handling

Conversation

@freema
Copy link
Copy Markdown
Owner

@freema freema commented Dec 9, 2025

This pull request adds major new capabilities to the MCP Google Sheets integration by implementing resource and prompt support, enabling structured access to spreadsheet metadata, sheet lists, and sheet data, as well as reusable prompt templates for common spreadsheet tasks. It also updates the server version to 1.6.0 and expands the protocol capabilities advertised by the server.

Resource support:

  • Implements resource templates and handlers in src/resources/index.ts, allowing clients to list resource templates (spreadsheet info, sheet list, sheet data) and read resource contents by URI. This includes parsing resource URIs, fetching spreadsheet metadata, listing sheets, and reading sheet data. ([src/resources/index.tsR1-R228](https://github.com/freema/mcp-gsheets/pull/108/files#diff-c5e33fb35ae32a4ab244d1b4c04f00bb46740b8184382d8b4b02aa82b167f0a8R1-R228))
  • Integrates resource listing and reading into the server setup in src/index.ts, exposing handlers for ListResourceTemplatesRequestSchema and ReadResourceRequestSchema. ([[1]](https://github.com/freema/mcp-gsheets/pull/108/files#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80R23-R41), [[2]](https://github.com/freema/mcp-gsheets/pull/108/files#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80L147-R183))

Prompt support:

  • Adds a new prompts module in src/prompts/index.ts with reusable prompt templates for "create-table", "format-report", "summarize-data", and "create-chart-guide", each with argument schemas and step-by-step user guidance. ([src/prompts/index.tsR1-R279](https://github.com/freema/mcp-gsheets/pull/108/files#diff-d8244330092c191e83c1aa7447b8b58087a676676a3ef29048d5a21e6694369eR1-R279))
  • Registers handlers for listing all prompts and getting a specific prompt by name and arguments in the server (src/index.ts). ([[1]](https://github.com/freema/mcp-gsheets/pull/108/files#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80R23-R41), [[2]](https://github.com/freema/mcp-gsheets/pull/108/files#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80L147-R183))

Server and protocol updates:

  • Updates the server version to 1.6.0 in both package.json and the server initialization. ([[1]](https://github.com/freema/mcp-gsheets/pull/108/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519L3-R3), [[2]](https://github.com/freema/mcp-gsheets/pull/108/files#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80L113-R130))
  • Advertises new protocol capabilities for resources and prompts in the server's capabilities object. ([src/index.tsL113-R130](https://github.com/freema/mcp-gsheets/pull/108/files#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80L113-R130))

These changes lay the groundwork for structured resource access and prompt-driven workflows, significantly enhancing the flexibility and usability of the MCP Google Sheets server.

@freema freema merged commit 66fc209 into main Feb 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants