Bump version to 1.6.0 and add resource handling for Google Sheets API#108
Merged
Bump version to 1.6.0 and add resource handling for Google Sheets API#108
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
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))src/index.ts, exposing handlers forListResourceTemplatesRequestSchemaandReadResourceRequestSchema. ([[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:
src/prompts/index.tswith 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))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:
1.6.0in bothpackage.jsonand 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))[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.