Skip to main content
Glama
ryoshu

gas-mcp

by ryoshu

gas-mcp

gas-mcp is the generic MCP 2.0 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.

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.

Development

uv build
uv run pytest -q
A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.

  • A basic MCP server to operate on the Postman API.

  • Read-only MCP server for ClassQuill, a tutoring-business-management platform.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ryoshu/gas-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server