페이지 기능이 포함된 MCP: 지리적 위치 데모
이 프로젝트에서는 EdgeOne Pages 함수를 사용하여 사용자 지리적 위치 정보를 검색하고 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 함수를 사용하여 지리적 위치 데이터를 가져옵니다.
mcp-server/index.ts에 위치함
MCP 구성
대규모 언어 모델과 함께 MCP 서버를 사용하려면 다음 구성을 추가하세요.
지엑스피1
자세히 알아보기
모델 컨텍스트 프로토콜(MCP) - AI 모델을 외부 도구 및 서비스와 통합하는 방법에 대해 알아보세요.
This server cannot be installed
Related Resources
Related MCP Servers
- -security-license-qualityAn MCP server that enables AI models to access user geolocation information through EdgeOne Pages Functions.Last updated -20MIT License
- -security-license-qualityEnables AI models to access user geolocation information through EdgeOne Pages Functions, allowing location-aware AI interactions.Last updated -MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that connects Large Language Models to the GeoServer REST API, enabling AI assistants to query and manipulate geospatial data through natural language.Last updated -938MIT License
- -security-license-qualityIntegrates EdgeOne Pages Functions with large language models to retrieve and utilize user geolocation information through the Model Context Protocol (MCP).Last updated -1MIT License