EdgeOne Geo MCP Server
MCP 页面功能:地理位置演示
该项目演示了如何使用 EdgeOne Pages Functions 检索用户地理位置信息并通过 MCP(模型上下文协议)将其与大型语言模型集成。
演示

Related MCP server: MCP Geo Location Server
部署
更多模板: EdgeOne 页面
成分
1. EdgeOne 页面功能:地理定位
该项目包括一个 EdgeOne Pages 函数,用于检索用户地理位置信息:
使用 EdgeOne 请求上下文访问地理位置数据
以 JSON 格式返回位置信息
位于
functions/get_geo.ts
2. MCP 服务器集成
MCP 服务器组件为大型语言模型提供了访问地理位置数据的接口:
实现模型上下文协议(MCP)
公开可供 AI 模型使用的
get_geolocation工具使用 EdgeOne Pages 功能获取地理位置数据
位于
mcp-server/index.ts
MCP 配置
要使用具有大型语言模型的 MCP 服务器,请添加以下配置:
{
"mcpServers": {
"edgeone-geo-mcp-server": {
"command": "tsx",
"args": ["path/to/mcp-server/index.ts"]
}
}
}了解更多
模型上下文协议 (MCP) - 了解如何将 AI 模型与外部工具和服务集成
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Geolocate Me turns your phone into location context for any AI assistant. Install the iOS or Android app, connect once with OAuth, and your GPS is queryable in natural language. Ask where you are, where you parked, where you were yesterday at 3pm, or how long you were at the office — the assistant calls the tool and answers with a real street address. https://geolocateme.app
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
Routing, geocoding, places, matrix and map tools for location-aware AI workflows.
IPStack MCP Adapter turns IPStack's REST APIs into Model Context Protocol tools so any MCP-compatible client can call them directly in conversation. The first release ships IPStack IP geolocation and security lookups (single IP, caller's IP, and bulk). Additional APILayer services are added by registering them in a single config file, so the catalog grows without client-side changes.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI models to access user geolocation information through EdgeOne Pages Functions, allowing location-aware AI interactions.MIT
- AlicenseNot gradedqualityDmaintenanceIntegrates EdgeOne Pages Functions with large language models to retrieve and utilize user geolocation information through the Model Context Protocol (MCP).1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI models to access user geolocation data through EdgeOne Pages Functions using the Model Context Protocol (MCP).MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI models to retrieve user geolocation information through EdgeOne Pages Functions. Provides access to location data via the Model Context Protocol for integration with large language models.-