{"id":30587347,"url":"https://github.com/deepset-ai/spring-into-haystack","last_synced_at":"2026-02-25T17:02:06.136Z","repository":{"id":292152767,"uuid":"964506192","full_name":"deepset-ai/spring-into-haystack","owner":"deepset-ai","description":"🌱 Sprout an Agent with Haystack \u0026 MCP","archived":false,"fork":false,"pushed_at":"2025-05-15T13:11:33.000Z","size":367,"stargazers_count":2,"open_issues_count":0,"forks_count":17,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-26T20:37:58.991Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://haystack.deepset.ai/spring-into-haystack","language":"Python","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/deepset-ai.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}},"created_at":"2025-04-11T10:16:35.000Z","updated_at":"2025-05-15T13:11:39.000Z","dependencies_parsed_at":"2025-05-08T12:26:37.490Z","dependency_job_id":"017f5e9d-85b4-4aec-89e6-3ca61e25d754","html_url":"https://github.com/deepset-ai/spring-into-haystack","commit_stats":null,"previous_names":["deepset-ai/spring-into-haystack"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deepset-ai/spring-into-haystack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepset-ai%2Fspring-into-haystack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepset-ai%2Fspring-into-haystack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepset-ai%2Fspring-into-haystack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepset-ai%2Fspring-into-haystack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepset-ai","download_url":"https://codeload.github.com/deepset-ai/spring-into-haystack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepset-ai%2Fspring-into-haystack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29831700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T15:41:19.027Z","status":"ssl_error","status_checked_at":"2026-02-25T15:40:47.150Z","response_time":61,"last_error":"SSL_read: 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":[],"created_at":"2025-08-29T12:09:03.376Z","updated_at":"2026-02-25T17:02:06.098Z","avatar_url":"https://github.com/deepset-ai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg width=\"300\" alt=\"Spring into haystack logo with flowers, bee and butterfly on the logo, giving spring vibes\" src=\"/logo/spring-into-haystack-logo.png\" /\u003e\n\u003c/p\u003e\n\nWelcome to the 🌸 [Spring Into Haystack](https://haystack.deepset.ai/spring-into-haystack) 🌸 your chance to cultivate something useful, elegant, and powerful — just like spring itself! 🌼\n\n## 🪻 Your Spring Challenge\n\nYour mission is to build a **tool-using Haystack Agent** that acts as an **MCP Client** and connects to the [GitHub MCP Server](https://github.com/github/github-mcp-server). Once connected, your Agent will be able to call GitHub tools — all through the power of the Model Context Protocol.\n\nTo get started, check out the scaffolded starter code in [`github-agent.py`](src/github-agent.py). You’ll need to:\n- Implement the missing parts\n- Configure your Agent to connect to the GitHub MCP server\n- Make sure the Agent can reason and act based on tool outputs\n\n\u003e Note: The [**official GitHub MCP Server**](https://github.com/github/github-mcp-server) requires **Docker** to run. If you're unable to use Docker (e.g. due to system limitations or permissions), you can use the [**legacy GitHub MCP Server**](https://github.com/modelcontextprotocol/servers/tree/main/src/github), which is **deprecated** but can be run easily run with `npx`. Note that the set of available tools differs between the official and legacy servers.\n\n### ✅ Test Your Agent: Find the Hidden Typo\n\nTo verify your Agent is working correctly, we’ve planted a **typo somewhere in this very README**.\n\nOnce your Agent is fully wired up and reasoning correctly, it should:\n1. **Detect the typo** by reading this README via the GitHub MCP server  \n2. **Open a GitHub issue** describing the typo clearly in the issue body\n\nThis will prove that your Agent can:\n- Understand the task and make a plan\n- Select the right tool(s) from the GitHub MCP server\n- Execute an action on GitHub\n\n## 🌷 Start Building\n\n1. **Fork** this repo on GitHub\n2. **Fill in the missing peices** in [`github-agent.py`](src/github-agent.py) to build your MCP-connected Agent\n3. Once you're done, check out [`solution.py`](src/solution.py) to compare your implementation.\n\n### Requirements:\n\n- A [GitHub Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) with relevant permissions\n\n### Install Dependencies\n\n```\npip install -r requirements.txt\n```\n\u003e Note: The `mcp-haystack` package requires Python ≥ 3.10\n\n### Components:\n\n- [`Agent`](https://docs.haystack.deepset.ai/docs/agent) – component for the smart decision-maker\n- [`MCPTool`](https://docs.haystack.deepset.ai/docs/mcptool) – lets your agent talk to the MCP Server\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepset-ai%2Fspring-into-haystack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepset-ai%2Fspring-into-haystack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepset-ai%2Fspring-into-haystack/lists"}