https://github.com/deepset-ai/spring-into-haystack
🌱 Sprout an Agent with Haystack & MCP
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
â—‹CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
â—‹DOI references
-
â—‹Academic publication links
-
â—‹Academic email domains
-
â—‹Institutional organization owner
-
â—‹JOSS paper metadata
-
â—‹Scientific vocabulary similarity
Low similarity (12.5%) to scientific vocabulary
Repository
🌱 Sprout an Agent with Haystack & MCP
Basic Info
- Host: GitHub
- Owner: deepset-ai
- License: mit
- Language: Python
- Default Branch: main
- Homepage: https://haystack.deepset.ai/spring-into-haystack
- Size: 358 KB
Statistics
- Stars: 2
- Watchers: 1
- Forks: 18
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Welcome to the 🌸 Spring Into Haystack 🌸 your chance to cultivate something useful, elegant, and powerful — just like spring itself! 🌼
🪻 Your Spring Challenge
Your mission is to build a tool-using Haystack Agent that acts as an MCP Client and connects to the GitHub MCP Server. Once connected, your Agent will be able to call GitHub tools — all through the power of the Model Context Protocol.
To get started, check out the scaffolded starter code in github-agent.py. You’ll need to:
- Implement the missing parts
- Configure your Agent to connect to the GitHub MCP server
- Make sure the Agent can reason and act based on tool outputs
Note: The official 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, 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.
✅ Test Your Agent: Find the Hidden Typo
To verify your Agent is working correctly, we’ve planted a typo somewhere in this very README.
Once your Agent is fully wired up and reasoning correctly, it should:
1. Detect the typo by reading this README via the GitHub MCP server
2. Open a GitHub issue describing the typo clearly in the issue body
This will prove that your Agent can: - Understand the task and make a plan - Select the right tool(s) from the GitHub MCP server - Execute an action on GitHub
🌷 Start Building
- Fork this repo on GitHub
- Fill in the missing peices in
github-agent.pyto build your MCP-connected Agent - Once you're done, check out
solution.pyto compare your implementation.
Requirements:
- A GitHub Token with relevant permissions
Install Dependencies
pip install -r requirements.txt
Note: The
mcp-haystackpackage requires Python ≥ 3.10
Components:
Owner
- Name: deepset
- Login: deepset-ai
- Kind: organization
- Email: hello@deepset.ai
- Location: Berlin, Germany
- Website: https://deepset.ai
- Twitter: deepset_ai
- Repositories: 14
- Profile: https://github.com/deepset-ai
Building enterprise search systems powered by latest NLP & open-source.
GitHub Events
Total
- Issues event: 4
- Watch event: 2
- Issue comment event: 6
- Push event: 4
- Public event: 1
- Pull request event: 8
- Fork event: 18
Last Year
- Issues event: 4
- Watch event: 2
- Issue comment event: 6
- Push event: 4
- Public event: 1
- Pull request event: 8
- Fork event: 18
Issues and Pull Requests
Last synced: 6 months ago
Dependencies
- haystack-ai ==2.12.2
- mcp-haystack *