MCP Geo Location Server
Pages機能付きMCP:位置情報デモ
このプロジェクトでは、EdgeOne Pages Functions を使用してユーザーの地理位置情報を取得し、MCP (Model Context Protocol) を通じて大規模な言語モデルと統合する方法を示します。
デモ

Related MCP server: EdgeOne Geo MCP Server
展開する
その他のテンプレート: EdgeOne Pages
コンポーネント
1. EdgeOne Pagesの機能:地理位置情報
このプロジェクトには、ユーザーの位置情報を取得する EdgeOne Pages 関数が含まれています。
EdgeOneリクエストコンテキストを使用して地理位置情報データにアクセスします
位置情報をJSON形式で返します
functions/get_geo.tsにあります
2. MCPサーバーの統合
MCP サーバー コンポーネントは、大規模な言語モデルが地理位置情報データにアクセスするためのインターフェイスを提供します。
モデルコンテキストプロトコル(MCP)を実装します
AIモデルで使用できる
get_geolocationツールを公開しますEdgeOne Pages Functionを使用して地理位置情報データを取得します
mcp-server/index.tsにあります
MCP構成
大規模言語モデルで MCP サーバーを使用するには、次の構成を追加します。
{
"mcpServers": {
"edgeone-geo-mcp-server": {
"command": "tsx",
"args": ["path/to/mcp-server/index.ts"]
}
}
}もっと詳しく知る
モデルコンテキストプロトコル(MCP) - AIモデルを外部ツールやサービスと統合する方法について学びます
This server cannot be deployed
Maintenance
Related MCP Connectors
Cloudflare Workers MCP server: ai-model-router
Cloudflare Workers MCP server: llm-output-quality-monitor
Cloudflare Workers MCP server: ai-prompt-optimizer
Cloudflare Workers MCP server: ai-gateway
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI models to access user geolocation information through EdgeOne Pages Functions, allowing location-aware AI interactions.MIT
- AlicenseNot gradedqualityDmaintenanceEnables large language models to access user geolocation information through EdgeOne Pages Functions using the Model Context Protocol.MIT
- 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.-