mcp-geo
16
EdgeOne Pages MCP: Geo Location Service is a project designed to demonstrate the integration of geolocation services with large language models using Model Context Protocol. It features tools for accessing geolocation data and interfacing with AI models through EdgeOne Pages Functions.
EdgeOne Pages MCP: Geo Location Service
This project demonstrates how to use EdgeOne Pages Functions to retrieve user geolocation information and integrate it with large language models through the Model Context Protocol (MCP).
Components
1. EdgeOne Pages Functions: Geolocation
- Retrieves user geolocation information using EdgeOne request context.
- Returns location data in JSON format.
2. MCP Server Integration
- Provides an interface for AI models to access geolocation.
- Implements MCP and exposes a
get_geolocation
tool.
Deploy
Deploy with EdgeOne Pages using provided templates.