{"id":30593361,"url":"https://github.com/techwithty/glama-mcp-sdk","last_synced_at":"2026-05-07T13:12:11.533Z","repository":{"id":310512268,"uuid":"1040155471","full_name":"TechWithTy/glama-mcp-sdk","owner":"TechWithTy","description":"Glama MCP SDK for Python/FastAPI: secure client + typed API. TLS, timeouts, retries, pooling. Access 5,000+ MCP servers or run as an MCP server. Optimized for www.glama.ai","archived":false,"fork":false,"pushed_at":"2025-08-18T14:43:54.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-29T19:03:12.915Z","etag":null,"topics":["api","connection-pooling","devops","fastapi","glama","http","integration","mcp","observability","production-ready","python","rest","retries","sdk","security","third-party","timeouts","tls"],"latest_commit_sha":null,"homepage":"https://www.cybershoptech.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TechWithTy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-18T14:37:27.000Z","updated_at":"2025-08-18T14:43:57.000Z","dependencies_parsed_at":"2025-08-18T16:37:40.603Z","dependency_job_id":null,"html_url":"https://github.com/TechWithTy/glama-mcp-sdk","commit_stats":null,"previous_names":["techwithty/glama-mcp-sdk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TechWithTy/glama-mcp-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechWithTy%2Fglama-mcp-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechWithTy%2Fglama-mcp-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechWithTy%2Fglama-mcp-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechWithTy%2Fglama-mcp-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TechWithTy","download_url":"https://codeload.github.com/TechWithTy/glama-mcp-sdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechWithTy%2Fglama-mcp-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32739079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","connection-pooling","devops","fastapi","glama","http","integration","mcp","observability","production-ready","python","rest","retries","sdk","security","third-party","timeouts","tls"],"created_at":"2025-08-29T18:13:34.741Z","updated_at":"2026-05-07T13:12:11.518Z","avatar_url":"https://github.com/TechWithTy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Glama MCP SDK (Third-Party Integration)\n\nProduction-ready Glama MCP SDK integration for Python/FastAPI inside the Deal Scale backend. This module provides a secure client, typed API schemas, and utilities to connect to the Glama MCP API.\n\nOptimized for www.cybershoptech.com integrations and modern cloud deployments.\n\n## Features\n- Secure HTTP client with TLS verification, timeouts, retries, and connection pooling\n- Typed request/response helpers in `api/`\n- Self-contained config via environment variables (`config.py`)\n- Easy submodule packaging for reuse across services\n\n## MCP Capabilities\n- Access to 5,000+ Model Context Protocol (MCP) servers and tools via compatible providers/directories.\n- Can be wrapped as an MCP server to expose your own tools/endpoints to MCP‑compatible clients.\n- Works either as an embedded MCP client inside your FastAPI app or as a standalone MCP component.\n\nHigh-level steps to turn this SDK into an MCP server:\n1. Define an MCP server entrypoint that implements the MCP handshake and tool invocation lifecycle.\n2. Expose Glama-backed operations as MCP tools (map to functions in `api/` and your app routes).\n3. Package and run with your preferred runtime (e.g., `uvicorn` for HTTP or a process manager) and register with your MCP client.\n\n## Directory Structure\n- `config.py` – Environment-driven configuration (`GlamaConfig`)\n- `client.py` – Placeholder for higher-level client wrapper (extend as needed)\n- `api/` – Low-level request/response helpers (`_requests.py`, `_responses.py`, `routes.py`, `schemas.py`)\n- `.env.example` – Example environment configuration\n- `_tests/` – Place for unit/integration tests\n\n## Installation\nAdd this package to your project (already vendored in `backend/app/core/third_party_integrations/glama/`). If used externally, install requirements as needed:\n\n```bash\npip install httpx pydantic\n```\n\n## Configuration (Environment Variables)\nDefined in `config.py` and demonstrated in `.env.example`:\n\n- `GLAMA_BASE_URL` (default: `https://glama.ai/api/mcp`)\n- `GLAMA_API_KEY` (optional)\n- `GLAMA_VERIFY_TLS` (default: `true`)\n- `GLAMA_CONNECT_TIMEOUT` (default: `3.05`)\n- `GLAMA_READ_TIMEOUT` (default: `30.0`)\n- `GLAMA_POOL_CONNECTIONS` (default: `20`)\n- `GLAMA_POOL_MAXSIZE` (default: `100`)\n- `GLAMA_MAX_RETRIES` (default: `3`)\n\nLoad your `.env` with your preferred method (e.g., `python-dotenv`) or via your process manager (Docker, systemd, Render, etc.).\n\n## Quick Start\nBelow is a simple example showing how you might initialize config and call a request helper. Adjust imports to match your app layout.\n\n```python\nfrom backend.app.core.third_party_integrations.glama.config import GlamaConfig\nfrom backend.app.core.third_party_integrations.glama.api._requests import make_request  # example helper\n\ncfg = GlamaConfig()\n# Example usage (update path/payload to real endpoints in your app):\nresp = make_request(\n    base_url=cfg.BASE_URL,\n    api_key=cfg.API_KEY,\n    verify_tls=cfg.VERIFY_TLS,\n    connect_timeout=cfg.CONNECT_TIMEOUT,\n    read_timeout=cfg.READ_TIMEOUT,\n    method=\"GET\",\n    path=\"/health\"\n)\nprint(resp.status_code, resp.text)\n```\n\n## Best Practices\n- Keep secrets out of source control; use `.env` or your secret manager\n- Tune timeouts and retries per environment (dev vs prod)\n- Add unit tests in `_tests/` to validate request/response contracts\n\n## SEO Notes for www.cybershoptech.com\n- Keywords: glama mcp sdk, mcp servers, model context protocol, python fastapi integration, secure api client, connection pooling, retries, tls, production-ready\n- Positioning: Access 5,000+ MCP servers/tools and optionally run this package as an MCP server to expose your own tools.\n- This integration helps teams ship secure, observable third‑party API connections for www.cybershoptech.com-grade workloads.\n\n## License\nThis folder inherits the repository license unless otherwise noted.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechwithty%2Fglama-mcp-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechwithty%2Fglama-mcp-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechwithty%2Fglama-mcp-sdk/lists"}