mcp-geo

mcp-geoは、地理情報を扱うためのTypeScriptライブラリで、地図データの解析や可視化を簡単に行うことができます。ユーザーは、地理的なデータを効率的に処理し、アプリケーションに統合することが可能です。特に、データの取得、変換、表示に関する機能が充実しており、開発者にとって有用なツールです。

GitHubスター

20

ユーザー評価

未評価

お気に入り

0

閲覧数

9

フォーク

6

イシュー

1

README
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 MCP (Model Context Protocol).

Demo

Deploy

Deploy with EdgeOne Pages

More Templates: EdgeOne Pages

Components
1. EdgeOne Pages Functions: Geolocation

The project includes an EdgeOne Pages Function that retrieves user geolocation information:

  • Uses the EdgeOne request context to access geolocation data
  • Returns location information in a JSON format
  • Located in functions/get_geo.ts
2. MCP Server Integration

The MCP server component provides an interface for large language models to access geolocation data:

  • Implements the Model Context Protocol (MCP)
  • Exposes a get_geolocation tool that can be used by AI models
  • Uses the EdgeOne Pages Function to fetch geolocation data
  • Located in mcp-server/index.ts
MCP Configuration

To use the MCP server with large language models, add the following configuration:

{
  "mcpServers": {
    "edgeone-geo-mcp-server": {
      "command": "tsx",
      "args": ["path/to/mcp-server/index.ts"]
    }
  }
}
Learn More
作者情報
Tencent EdgeOne

Tencent EdgeOne provides layer-4/7 security protection and acceleration services to the global market based on Tencent's global edge nodes.

73

フォロワー

26

リポジトリ

0

Gist

0

貢献数