{"id":32873149,"url":"https://github.com/nshkrdotcom/mcp_client","last_synced_at":"2026-05-16T06:36:24.082Z","repository":{"id":322939826,"uuid":"1091366924","full_name":"nshkrdotcom/mcp_client","owner":"nshkrdotcom","description":"Full-featured Elixir client for the Model Context Protocol (MCP) with multi-transport support, resources, prompts, tools, and telemetry.","archived":false,"fork":false,"pushed_at":"2025-11-07T05:43:32.000Z","size":160,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-07T07:19:54.038Z","etag":null,"topics":["ai-agent","ai-tooling","api-client","beam","elixir","genserver","http","jsonrpc","llm","llm-infrastructure","mcp","model-context-protocol","observability","otp","prompt-engineering","resource-management","sdk","sse","stdio","telemetry"],"latest_commit_sha":null,"homepage":"https://nshkr.com","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nshkrdotcom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-06T23:24:27.000Z","updated_at":"2025-11-07T05:43:35.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/nshkrdotcom/mcp_client","commit_stats":null,"previous_names":["nshkrdotcom/mcp_client"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/nshkrdotcom/mcp_client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nshkrdotcom%2Fmcp_client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nshkrdotcom%2Fmcp_client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nshkrdotcom%2Fmcp_client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nshkrdotcom%2Fmcp_client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nshkrdotcom","download_url":"https://codeload.github.com/nshkrdotcom/mcp_client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nshkrdotcom%2Fmcp_client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33092717,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["ai-agent","ai-tooling","api-client","beam","elixir","genserver","http","jsonrpc","llm","llm-infrastructure","mcp","model-context-protocol","observability","otp","prompt-engineering","resource-management","sdk","sse","stdio","telemetry"],"created_at":"2025-11-09T14:00:46.753Z","updated_at":"2026-05-16T06:36:24.068Z","avatar_url":"https://github.com/nshkrdotcom.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/mcp_client.svg\" alt=\"MCP Client Logo\" width=\"200\" height=\"200\"\u003e\n\u003c/p\u003e\n\n# MCP Client for Elixir\n\n\u003c!-- [![CI](https://github.com/nshkrdotcom/mcp_client/actions/workflows/elixir.yaml/badge.svg)](https://github.com/nshkrdotcom/mcp_client/actions/workflows/elixir.yaml) --\u003e\n[![Elixir](https://img.shields.io/badge/elixir-1.18.3-purple.svg)](https://elixir-lang.org)\n[![OTP](https://img.shields.io/badge/otp-27.2-blue.svg)](https://www.erlang.org)\n[![Hex.pm](https://img.shields.io/hexpm/v/mcp_client.svg)](https://hex.pm/packages/mcp_client)\n[![Documentation](https://img.shields.io/badge/docs-hexdocs-purple.svg)](https://hexdocs.pm/mcp_client)\n[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)\n\n\u003e Canonical Model Context Protocol client for the Elixir ecosystem with first-class transports, tooling, and documentation.\n\n## ✨ Highlights\n\n- **Unified transports**: WebSocket, SSE, and raw TCP adapters with shared backoff + tombstone semantics\n- **Declarative tools**: Type-safe wrappers for tool declaration, invocation, and validation\n- **Observability-first**: Telemetry events for every hop plus structured, redactable logging helpers\n- **Production ergonomics**: Configurable retry windows, circuit breakers, and connection watchdogs\n- **Docs as product**: ExDoc assets, architecture guides, and SVG branding ship with the library\n\n## 📦 Installation\n\nAdd `mcp_client` to your `mix.exs` dependencies:\n\n```elixir\ndef deps do\n  [\n    {:mcp_client, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\nThen fetch dependencies:\n\n```bash\nmix deps.get\n```\n\n## 🚀 Quick Start\n\n1. Configure your MCP server credentials in `config/runtime.exs`\n2. Start a connection with `McpClient.start_link/1`\n3. Declare tools with `McpClient.Tools.declare/1` and register handlers\n4. Stream responses with built-in supervision, telemetry, and retries\n\nFull guides and API docs will be published on HexDocs as the project matures.\n\n## 🧪 Development\n\n```bash\nmix test\nmix credo --strict\nMIX_ENV=test mix coveralls.html\n```\n\nDialyzer PLTs live in `priv/plts` (ignored in the Hex package) so shared CI nodes stay fast.\n\n## 🤝 Contributing\n\nIssues and PRs are welcome! Please open a discussion first for sizeable protocol or API changes so we can align on design.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnshkrdotcom%2Fmcp_client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnshkrdotcom%2Fmcp_client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnshkrdotcom%2Fmcp_client/lists"}