Skip to main content
Glama

MCP Geo Location Server

by edgego

MCP 页面功能:地理位置演示

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

演示

部署

更多模板: 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"] } } }

了解更多

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

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

将 EdgeOne Pages Functions 与大型语言模型相集成,通过模型上下文协议 (MCP) 检索和利用用户地理位置信息。

  1. 演示
    1. 部署
      1. 成分
        1. EdgeOne 页面功能:地理定位
        2. MCP 服务器集成
      2. MCP 配置
        1. 了解更多

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that enables Large Language Models to seamlessly interact with ClickHouse databases, supporting resource listing, schema retrieval, and query execution.
            Last updated -
            1
            Python
            MIT License
            • Linux
            • Apple
          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that enables users to manage translations for their applications through SimpleLocalize's localization platform via natural language prompts in Cursor.
            Last updated -
            2
            3
            Python
            MIT License
          • -
            security
            -
            license
            -
            quality
            Enables AI models to access user geolocation information through EdgeOne Pages Functions, allowing location-aware AI interactions.
            Last updated -
            TypeScript
            MIT License

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/edgego/mcp-geo-pub'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server