Skip to main content
Glama

MCP with Pages Functions :Geo Location Demo

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

Related MCP server: MCP Geo Location Server

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

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

0Releases (12mo)

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

  • Geolocate Me turns your phone into location context for any AI assistant. Install the iOS or Android app, connect once with OAuth, and your GPS is queryable in natural language. Ask where you are, where you parked, where you were yesterday at 3pm, or how long you were at the office — the assistant calls the tool and answers with a real street address. https://geolocateme.app

  • SentryOAuth

    Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.

  • IPStack MCP Adapter turns IPStack's REST APIs into Model Context Protocol tools so any MCP-compatible client can call them directly in conversation. The first release ships IPStack IP geolocation and security lookups (single IP, caller's IP, and bulk). Additional APILayer services are added by registering them in a single config file, so the catalog grows without client-side changes.

  • Give any AI assistant real-time access to your phone's GPS and location history.

View all MCP Connectors

Related MCP Servers

View all related MCP servers

Latest Blog Posts

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/ljs11111/mcp-geo'

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