gas-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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 -qTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.
MCP server for the GovContractScout US government contracts API: search, NAICS, match scoring.
Remote MCP server exposing SMI Aware tools, resources, and skills over Streamable HTTP.
One OAuth connector for your team's remote MCP servers, with Tool Packs, guardrails and logs.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server to interact with Google produts.492MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for Google Sheets - read, write, and query spreadsheet data.602 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.10039 PyPIMIT
- AlicenseNot gradedqualityDmaintenanceEnables local execution of Google Apps Script tools for Google Workspace automation via an MCP server, using gas-fakes for secure sandboxed execution.69 npm4ISC