EdgeOne Pages MCP: Geo Location Service

MIT License

EdgeOne Pages MCP: 地理位置情報サービス

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

デモ

展開する

その他のテンプレート: 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"] } } }

もっと詳しく知る

-
security - not tested
A
license - permissive license
-
quality - not tested

AI モデルが EdgeOne Pages 機能を通じてユーザーの位置情報にアクセスできるようにする MCP サーバー。

  1. Demo
    1. Deploy
      1. Components
        1. 1. EdgeOne Pages Functions: Geolocation
        2. 2. MCP Server Integration
      2. MCP Configuration
        1. Learn More

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            An MCP server for nearby place searches with IP-based location detection.
            Last updated -
            Python
            MIT License
          • -
            security
            A
            license
            -
            quality
            An MCP server that extends AI agents' context window by providing tools to store, retrieve, and search memories, allowing agents to maintain history and context across long interactions.
            Last updated -
            5
            TypeScript
            MIT License
          • -
            security
            A
            license
            -
            quality
            An MCP server that enables AI assistants to control a web browser through natural language commands, allowing them to navigate websites and extract information via SSE transport.
            Last updated -
            387
            Python
            MIT License
            • Apple
          • -
            security
            F
            license
            -
            quality
            A MCP server that allows AI assistants to interact with the browser, including getting page content as markdown, modifying page styles, and searching browser history.
            Last updated -
            5
            TypeScript

          View all related MCP servers

          ID: kw2tntzfr2