Enables integration with Atlassian products, providing access to JIRA and Confluence systems through the MCP proxy server
Provides local file system access, allowing the MCP proxy server to read and write files on the local system
Provides repository and issue management capabilities, allowing the MCP proxy server to interact with GitHub resources
Supports document access and management within Google Drive, enabling the MCP proxy server to retrieve and manipulate documents
MCP Integration Challenge: Proxy & RAG Foundations
AI Protocol Engineer Challenge: Week 1
This repository contains the complete implementation for the MCP Integration, Proxy & RAG Foundations challenge using TypeScript/NodeJS with LangGraph.js.
Project Overview
This project implements a comprehensive MCP (Model Context Protocol) ecosystem including:
- MCP Proxy Server: Routes requests to multiple downstream MCP servers
- Dev Assistant Agent: LangGraph.js-based agent with RAG capabilities
- Mock Knowledge Base: Sample data for testing RAG functionality
- MCP Client Tester: Testing tools for MCP server interactions
- IDE Integration: Configuration for VS Code/Cursor MCP support
Architecture
Project Structure
Technology Stack
Core Technologies
- Runtime: Node.js 18+
- Language: TypeScript 5.5+
- Agent Framework: LangGraph.js
- RAG Framework: LangChain JS
Dependencies
- Protocol Communication: Built-in fetch, axios
- Agent Building: @langchain/langgraph
- RAG Components: @langchain/community, langchain
- Web Framework: Express.js
- Testing: Vitest
- Development: tsx, eslint, prettier
Quick Start
Prerequisites
- Node.js 18 or later
- npm or yarn package manager
- Git
Installation
- Clone the repository:
- Install dependencies:
- Build the project:
- Run tests:
Running Components
1. MCP Proxy Server
2. Dev Assistant Agent
3. MCP Client Tester
4. Development Mode (Watch)
Environment Setup
Required Environment Variables
Create a .env
file in the root directory:
MCP Server Configuration
The proxy server can route to multiple downstream MCP servers:
Supported Servers
- Filesystem: Local file system access
- GitHub: Repository and issue management
- Google Drive: Document access and management
- Atlassian: JIRA and Confluence integration
Proxy Routing Configuration
IDE Integration
VS Code Setup
- Install the Copilot Chat extension
- Add to your
settings.json
:
Cursor Setup
- Open Cursor settings
- Add MCP server URL:
http://localhost:8002/mcp
Testing
Run All Tests
Run Specific Test Suites
Test Coverage
Documentation
- Protocols Understanding: MCP and A2A protocol explanation
- MCP Server Exploration: Target server analysis
- Advanced MCP Concepts: Gateway, RBAC, and streaming concepts
- Real-time RAG Notes: Pathway and real-time indexing concepts
- IDE Integration Guide: Step-by-step IDE setup
Development Workflow
Code Style
- ESLint for linting
- Prettier for formatting
- TypeScript strict mode enabled
Git Workflow
Features Implemented
✅ Task 1: Environment Setup & Protocol Study
- TypeScript/NodeJS environment with LangGraph.js
- Mock knowledge base structure
- Comprehensive MCP/A2A protocol documentation
- Target MCP server analysis
🔄 Upcoming Tasks
- Task 2: Explore & Test Existing MCP Servers
- Task 3: Design & Implement MCP Proxy Server
- Task 4: Implement Basic RAG Agent with MCP Integration
- Task 5: Research Advanced MCP Concepts
- Task 6: Test MCP Proxy with IDE Integration
- Task 7: Documentation & Stand-up Preparation
Troubleshooting
Common Issues
- Dependency conflicts: Use
npm install --legacy-peer-deps
- TypeScript errors: Ensure TypeScript 5.5+ is installed
- Build failures: Check Node.js version (18+ required)
- Test failures: Verify environment variables are set
Getting Help
- Check the documentation for detailed guides
- Review the protocols understanding document
- Examine test files for usage examples
- Check GitHub issues for known problems
Contributing
- Fork the repository
- Create a feature branch:
git checkout -b feature/new-feature
- Make changes and add tests
- Run
npm test
andnpm run lint
- Commit changes:
git commit -m 'Add new feature'
- Push to branch:
git push origin feature/new-feature
- Submit a pull request
License
MIT License - see LICENSE file for details.
Contact
For questions or support, please open an issue on GitHub.
This server cannot be installed
Routes requests to multiple downstream Model Context Protocol servers and provides a LangGraph.js-based agent with RAG capabilities for development assistance.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that provides LLM Agents with a comprehensive toolset for IP geolocation, network diagnostics, system monitoring, cryptographic operations, and QR code generation.Last updated -1634TypeScriptApache 2.0
- -securityAlicense-qualityA Model Context Protocol Server that enables LLMs to interact with and execute REST API calls through natural language prompts, supporting GET/PUT/POST/PATCH operations on configured APIs.Last updated -5PythonApache 2.0
- -securityFlicense-qualityA Model Context Protocol server that enables LLMs to interact with GraphQL APIs by providing schema introspection and query execution capabilities.Last updated -9TypeScript
- -security-license-qualityA Model Context Protocol server that enables AI agents to dynamically interact with Hasura GraphQL endpoints through natural language, supporting schema discovery, data querying/manipulation, and aggregations.Last updated -1TypeScript