Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
79909c91be | ||
|
|
98dcd7becb | ||
|
|
f7506b4f20 | ||
|
|
2b8cada173 | ||
|
|
ea91c3e495 |
@@ -1,11 +1,11 @@
|
||||
# MCPO Project
|
||||
|
||||
This repository contains the source code, configuration files, and deployment instructions for a project that uses Docker, Kubernetes, and the `mcpo` tool to manage mulitiple MCP (Multi-Component Protocol) service.
|
||||
This repository contains the source code, configuration files, and deployment instructions for a project that uses Docker, Kubernetes, and the `mcpo` tool to manage mulitiple MCP (Multi-Component Protocol) services.
|
||||
|
||||
## Overview
|
||||
|
||||
The project sets up:
|
||||
- A Docker container running the `mcpo` tool with configuration from `mcpo_config.json`
|
||||
- A Docker container running the `mcpo` tool with configuration from `mcpo_config.yaml` managed by config_builder.py
|
||||
- A Kubernetes deployment for the Gitea MCP application
|
||||
- Services and pods to manage the application's networking and lifecycle
|
||||
|
||||
@@ -22,10 +22,12 @@ The project sets up:
|
||||
- **kube/service.yaml**: Service configuration to expose the application
|
||||
|
||||
### Configuration
|
||||
- **mcpo_config.json**: Main configuration file for the `mcpo` tool, containing:
|
||||
- MCP server settings
|
||||
- Authentication credentials
|
||||
- API endpoints
|
||||
### Configuration
|
||||
|
||||
- **Configuration File**: Managed through `mcpo_config.yaml`.
|
||||
- **Conversion Tool**: Uses `config_builder.py` to convert YAML to JSON.
|
||||
- **Template Guidelines**: Assumes the yaml will follw the guideline template outlined in [the MCPo configuration guidelines](https://github.com/open-webui/mcpo). It doesn't perform validation so it won't fail until build if you fuck it up
|
||||
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -43,7 +45,7 @@ This project provides a complete environment to:
|
||||
|
||||
2. **Build the Docker image**:
|
||||
```bash
|
||||
docker build -t gitea-mcp:latest .
|
||||
docker build -t mcpo-service:latest .
|
||||
```
|
||||
|
||||
3. **Apply Kubernetes configurations**:
|
||||
@@ -53,8 +55,8 @@ This project provides a complete environment to:
|
||||
|
||||
4. **Verify the deployment**:
|
||||
```bash
|
||||
kubectl get pods -n gitea-mcp
|
||||
kubectl get services -n gitea-mcp
|
||||
kubectl get pods -n mcpo
|
||||
kubectl get services -n mcpo
|
||||
```
|
||||
|
||||
5. **Test the service**:
|
||||
@@ -63,7 +65,8 @@ This project provides a complete environment to:
|
||||
|
||||
## Notes
|
||||
- The `mcpo` tool is used to manage MCP connections
|
||||
- The configuration file contains sensitive information (access tokens, Bearer tokens)
|
||||
- Sensitive information should be parsed via environment variables to mcpo_config.yaml
|
||||
- mcpo_config.yaml will parse env vars using the following syntax `!ENV ${YOUR_VAR}`
|
||||
- The project is designed for production deployment with Kubernetes orchestration
|
||||
|
||||
For detailed explanations of individual components, refer to their respective files in the repository.
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"mcpServers": {
|
||||
"gitea_stdio": {
|
||||
"command": "gitea-mcp",
|
||||
"args": ["-t", "stdio", "--host", "https://git.aridgwayweb.com"],
|
||||
"env": {
|
||||
"GITEA_ACCESS_TOKEN": "bac6a1e753d6f2c0b848bd1cbad82965b43ea480"
|
||||
}
|
||||
},
|
||||
"homeassistant": {
|
||||
"type": "sse",
|
||||
"url": "https://homeassistant.aridgwayweb.com/mcp_server/sse",
|
||||
"headers": {
|
||||
"Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIwZmM4ZTIyNGFlOGI0MGIxOWJmNWE2YzI3NmRkYTBkYiIsImlhdCI6MTc1MzE4MzUwNSwiZXhwIjoyMDY4NTQzNTA1fQ.At_LG5QAuIzeM470tTokbp-XIq3ytf7j5SsAmpoPrLk"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user