-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig-example.yaml
More file actions
84 lines (77 loc) · 2.87 KB
/
config-example.yaml
File metadata and controls
84 lines (77 loc) · 2.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# OpenContext Configuration Template
# ====================================
#
# Copy this file to config.yaml and customize it for your deployment:
# cp config-example.yaml config.yaml
#
# ⚠️ IMPORTANT: Enable ONLY ONE plugin per fork/deployment
#
# OpenContext enforces: One Fork = One MCP Server
#
# This keeps deployments:
# ✓ Simple and focused
# ✓ Independently scalable
# ✓ Easy to maintain
#
# To deploy multiple MCP servers:
# 1. Fork this repository again
# 2. Configure ONE plugin per fork
# 3. Deploy each fork separately
#
# See docs/ARCHITECTURE.md for details.
---
# Server metadata
server_name: "Your Organization OpenData MCP" # e.g., "Chicago OpenData MCP"
description: "Your organization's open data MCP server - Safe, conversational access to your open data"
organization: "Your Organization Name" # e.g., "City of Chicago"
# Plugin configuration
# ====================
#
# IMPORTANT: Enable ONLY ONE plugin below
# For additional MCP servers, fork this repository again
#
plugins:
# Built-in: CKAN (for CKAN-based open data portals)
# Examples: data.gov, data.gov.uk
ckan:
enabled: false # Set to true to use
base_url: "https://data.example.gov/" # CKAN API base URL
portal_url: "https://data.example.gov/" # Public portal URL
city_name: "Your City" # City/organization name
timeout: 120 # HTTP timeout in seconds
# api_key: "${CKAN_API_KEY}" # Optional: CKAN API key for authenticated requests
# Built-in: ArcGIS Hub (for ArcGIS Hub open data portals)
# Examples: hub.arcgis.com, data-yourcity.hub.arcgis.com
arcgis:
enabled: false # Set to true to use
portal_url: "https://hub.arcgis.com"
city_name: "Your City"
timeout: 120
# token: "${ARCGIS_TOKEN}" # Optional: Bearer token for private items
# Built-in: Socrata (for Socrata open data portals)
# Examples: data.cityofchicago.org, data.cityofnewyork.us, data.seattle.gov
socrata:
enabled: false # Set to true to use
base_url: "https://data.example.gov" # Socrata portal base URL
portal_url: "https://data.example.gov" # Public portal URL
city_name: "Your City"
timeout: 30
# app_token: "${SOCRATA_APP_TOKEN}" # Recommended; register at dev.socrata.com/register
# yamllint disable rule:comments-indentation
# Custom: Add your own plugins here
# Example:
# my_custom_plugin:
# enabled: false
# custom_config_key: "value"
# api_endpoint: "https://api.example.com"
# yamllint enable rule:comments-indentation
# AWS deployment settings
aws:
region: "us-east-1" # AWS region for Lambda
lambda_name: "your-opendata-mcp" # Lambda function name (will be auto-generated if not set)
lambda_memory: 512 # Lambda memory in MB (128-10240)
lambda_timeout: 120 # Lambda timeout in seconds (max 900)
# Logging configuration
logging:
level: "INFO" # Log level: DEBUG, INFO, WARNING, ERROR
format: "json" # Log format: json or text