gas-mcp
Click on "Deploy 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., "@gas-mcpcreate a new session and show its initial view"
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.
gas-mcp
gas-mcp is the generic MCP transport for a
gas_protocol.service.GasService. It turns one GAS service into an MCP server
without knowing which domain, database, policy implementation, or application
created that service.
What it provides
install_gas_mcp(server, service) registers five structured-output MCP tools:
create_session— create an isolated session and return its initial view.get— read a resource URI and its contextual commands and links.search— search a resource collection.act— execute an advertised capability with a revision and idempotency key.why_not— diagnose an unavailable command without returning an executable command.
The installer adds read-only or mutation tool annotations and translates
GasError failures into MCP errors. Domain-specific resource names and input
schemas stay in the GasBackend and its composition root.
The package provides transport only. The GAS request/response contract and
capability semantics remain defined by gas-protocol; authorization and
domain policy remain with the backend or application that supplies the
service.
Related MCP server: google-sheets-mcp
Install
pip install "gas-mcp[mcp]"The mcp extra supplies the MCP SDK needed to import and run the transport.
Example
from mcp.server import MCPServer
from gas_mcp import install_gas_mcp
from gas_protocol import GasService, InMemoryGasBackend
server = MCPServer(name="example")
install_gas_mcp(server, GasService(InMemoryGasBackend()))For a real application, construct the GasService over its own backend and
keep domain-specific MCP resources in that application's composition root.
Contributing
uv build
uv run --extra mcp --with pytest pytest -qThis server cannot be deployed
Maintenance
Related MCP Connectors
Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.
Remote MCP server exposing SMI Aware tools, resources, and skills over Streamable HTTP.
One MCP server exposing every tool in the Gumball portfolio.
MCP server for Nylas — read email, calendars, events and contacts, and send email or create events.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceMCP server to interact with Google produts.490MIT
- AlicenseNot gradedqualityAmaintenanceMCP server for Google Sheets - read, write, and query spreadsheet data.258 npm2MIT
- AlicenseBqualityDmaintenanceProduction-ready MCP server for Google Workspace providing broad coverage across Gmail, Drive, Calendar, Docs, Sheets, and more, with safe-by-default write operations and markdown-to-Google-Docs support.10024 PyPIMIT
- FlicenseNot gradedqualityDmaintenanceEnables local execution of Google Apps Script tools for Google Workspace automation via an MCP server, using gas-fakes for secure sandboxed execution.72 npm4-