We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/skywinder/osm-edit-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
.env.example•3.22 kB
# OSM Edit MCP Server Configuration Template
# Copy this file to .env and update with your actual values
# ========================================
# OAuth 2.0 Credentials (Required for editing)
# ========================================
# Get these from: https://www.openstreetmap.org/oauth2/applications
# After creating a new OAuth application
OSM_OAUTH_CLIENT_ID=your_client_id_here
OSM_OAUTH_CLIENT_SECRET=your_client_secret_here
OSM_OAUTH_REDIRECT_URI=https://localhost:8080/callback
# Required OAuth 2.0 scopes for full functionality:
# - read_prefs: Read user preferences
# - write_prefs: Modify user preferences
# - write_api: Modify the map data
# - write_changeset_comments: Comment on changesets
# - read_gpx: Read private GPS traces
# - write_gpx: Upload GPS traces
# ========================================
# API Configuration
# ========================================
# Use development API for testing (recommended for development)
OSM_USE_DEV_API=true
OSM_API_BASE=https://api.openstreetmap.org/api/0.6
OSM_DEV_API_BASE=https://master.apis.dev.openstreetmap.org/api/0.6
# Production API URLs:
# OSM_API_BASE=https://api.openstreetmap.org/api/0.6
# OSM_OAUTH_AUTHORIZE_URL=https://www.openstreetmap.org/oauth2/authorize
# OSM_OAUTH_TOKEN_URL=https://www.openstreetmap.org/oauth2/token
# Development API URLs:
# OSM_DEV_API_BASE=https://master.apis.dev.openstreetmap.org/api/0.6
# OSM_DEV_OAUTH_AUTHORIZE_URL=https://master.apis.dev.openstreetmap.org/oauth2/authorize
# OSM_DEV_OAUTH_TOKEN_URL=https://master.apis.dev.openstreetmap.org/oauth2/token
# ========================================
# MCP Server Configuration
# ========================================
MCP_SERVER_NAME=osm-edit-mcp
MCP_SERVER_VERSION=0.1.0
# Log level (DEBUG, INFO, WARNING, ERROR)
LOG_LEVEL=INFO
# ========================================
# Safety and Rate Limiting
# ========================================
# Enable user confirmation for destructive operations
REQUIRE_USER_CONFIRMATION=true
# Rate limiting (requests per minute)
RATE_LIMIT_PER_MINUTE=60
# Maximum changeset size (number of operations)
MAX_CHANGESET_SIZE=50
# Cache settings
ENABLE_CACHE=true
CACHE_TTL_SECONDS=300
# ========================================
# Default Changeset Information
# ========================================
# These will be used as default tags for all edits
DEFAULT_CHANGESET_COMMENT=Edited via OSM Edit MCP Server
DEFAULT_CHANGESET_SOURCE=OSM Edit MCP Server
DEFAULT_CHANGESET_CREATED_BY=osm-edit-mcp/0.1.0
# ========================================
# Security Settings
# ========================================
# Set to true to use system keyring for credential storage
USE_KEYRING=true
# Development settings
DEBUG=false
DEVELOPMENT_MODE=false
# OSM API Configuration
OSM_API_BASE_URL=https://api06.dev.openstreetmap.org/api/0.6
OSM_CLIENT_ID=your_oauth_client_id
OSM_CLIENT_SECRET=your_oauth_client_secret
OSM_REDIRECT_URI=http://localhost:8080/callback
# Server Configuration
LOG_LEVEL=INFO
# ========================================
# Web Server Configuration (for remote access)
# ========================================
# API key for authenticating requests to the web server
API_KEY=your-secure-api-key-here