
kosh sdk
ETHGlobal Trifecta hack for the TEE track
Repository Info
About This Server
ETHGlobal Trifecta hack for the TEE track
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
🧰 Kosh
Simple and secure way to interact with remote MCP Servers in Trusted Execution Environments (TEEs) with no coding required.
🤔 Problems Identified
- Anthropic's Model Context Protocol (MCP) is fairly new and currently requires manual setup and some familiarity with coding.
- Since MCP enables users to interact with their private data, it becomes increasingly important to keep the data and execution environment secure.
⚡️ Solution
https://github.com/user-attachments/assets/2de32ca8-40c7-4cb4-aa6b-2d5dafac4b43
- Connect to MCP Servers in just a few clicks, with absolutely no coding required.
- Select the servers you need. Currently offers 4 servers:
- Brave Search [Add search capabilities to your chatbot]
- Slack [Interact with Slack]
- GitHub [Interact with GitHub]
- RAG (Retrieval Augmented Generation) capabilities powered by Nilrag. We built a custom nilRAG MCP server to allow users to upload any data, store them securely in a nilDB and query them using nilAI.
- Provide the API keys required.
- Start interacting with the server in real time.
- Select the servers you need. Currently offers 4 servers:
- All the MCP servers are deployed in a TEE environment powered by Marlin, meaning all interactions are private and hardware-level secure.
- We modified the existing community MCP servers to support Cloudflare's Remote MCP protocol. This eliminates the need for running local proxy servers and allows users to access MCP servers from anywhere, rather than requiring them to be on the same machine as the client.
So imagine a scenario like this which can be built with just a few clicks:
🔥 An AI powered on-call engineer that can:
- Access your GitHub repository and fetch a new issue/on-call ticket.
- Look at your runbooks and documents using nilRAG.
- Search the web using Brave Search.
- Look at past issues and pull requests in GitHub.
- Look at your organisation's Slack messages related to the issue.
- Post a summary of the triage on Slack.
All of this being secure and private.
💻 Flow Diagram
!Screenshot 2025-03-23 at 8 05 06 PM
🛠️ Local Setup and Configuration
Prerequisites
- Node.js 16+ and npm
- Python 3.11+ (for some components)
- Docker and Docker Compose (for containerized deployment)
Installation
- Clone the repository:
git clone https://github.com/yourusername/kosh.git
cd kosh
- Install dependencies for the frontend:
cd frontend
npm install
- Start the frontend development server:
npm run dev
- Install dependencies for each service as needed.
cd mcp-servers/<name-of-the-server>
npm install
- Start the MCP server:
npm run dev
- You might need to edit the ports exposed for each MCP Server in
frontend/src/components/Sidebar.tsxto match the ports you have exposed for each MCP Server.
export const MCP_SERVERS: Record<string, ServerConfig> = {
"Brave Search": {
url: "http://localhost:5177/mcp",
enabled: false,
description: "Search the web using Brave",
icon: "🦁",
},
Slack: {
url: "http://localhost:5176/mcp",
enabled: false,
description: "Chat with your team on Slack",
icon: "💬",
},
// Add more server configurations here
};
Using our remote MCP servers with Claude Desktop
It is not necessary to use our MCP Servers with our client only. You can use our remote MCP servers with any other client that supports the MCP protocol, for instance Claude Desktop.
Edit the claude_desktop_config.json file to add the MCP servers you want to use.
{
"mcpServers": {
"nilrag-brave": {
"command": "npx",
"args": ["mcp-remote", "https://lz9og6rxzckr.share.zrok.io/mcp"] //
}
}
}
📂 Project Structure
/frontend- The MCP Client with the UI to access the MCP servers/mcp-servers- Contains the remote MCP servers/marlin- Docker files to deploy servers onto TEEs powered by Marlin
🤝 Team
- Abhiraj Mengade
- Asim Jawahir
- Parht Mittal
📚 References
- Cloudflare's Remote MCP
- Marlin
- Nillion
- MCP Example Servers
- GitHub's MCP Server
- Brave's MCP Server
- Slack's MCP Server
- nilRAG
- lovable.dev
- zrok
Quick Start
Clone the repository
git clone https://github.com/mittal-parth/kosh-sdkInstall dependencies
cd kosh-sdk
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.