What dependencies does the server use?
The server requires `@modelcontextprotocol/sdk`, `zod` for input validation, `axios` for HTTP requests, `dotenv` for environment variable management, and TypeScript development tools.
@yhwancha
基本信息
A Model Context Protocol (MCP) server that provides location services
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"location-service": {
"command": "npx",
"args": [
"-y",
"mylocation-mcp-server"
],
"env": {
"IPINFO_TOKEN": ""
}
}
}
}Get location information from provided coordinates
Get location information from IP address
Get location information using current IP address via ipify and ipinfo
Check the health status of the service
MCP Server TypeScript Starter is a Model Context Protocol (MCP) server implementation that provides location services. It demonstrates how to build a production-ready MCP server using TypeScript with real-world functionality for looking up location data via geographic coordinates or IP addresses. The server is intended for developers who want a reference implementation or a starting point for their own MCP services.
Install the package via npm install mylocation-mcp, create a .env file with your IPInfo.io API token (IPINFO_TOKEN), then import and use the server in your TypeScript code. Alternatively, configure the server in your project’s MCP settings using the provided npx command with the environment variable set.
axiosThe server requires `@modelcontextprotocol/sdk`, `zod` for input validation, `axios` for HTTP requests, `dotenv` for environment variable management, and TypeScript development tools.
You need an IPInfo.io API token (`IPINFO_TOKEN`) to use the IP-based location lookup. The token is set as an environment variable.
Add an entry to your MCP configuration object with command `npx`, arguments `["-y", "mylocation-mcp-server"]`, and environment variable `IPINFO_TOKEN`.
Responses are JSON objects wrapped in a standard MCP content array. Each response contains a `status` (“success” or “error”), a `source` (“user_provided” or “ip_based”), a `data` field with location information (on success), and an `error` field with an error message (on failure).
The README describes three tools: coordinate-based lookup, IP-based lookup, and a health check. No other lookup methods are mentioned.
Console, Backend and CLI to manage Capgo Instant update and Native build for Capacitor apps Build and upload to app store your mobile app

Official Porkbun MCP server, maintained by Porkbun. Check domain availability and pricing, register, renew and transfer domains, and manage DNS records, nameservers, URL forwarding, glue records, DNSSEC and domain contac

The tools your AI needs to make your games. Turn prompts into production-ready game assets — animated characters with their weapons attached, seamless textures, terrain, VFX, HUDs — and playable game kits Unity, Godot, U

Know when your AI agents, cron jobs and CI pipelines fail, stall or go quiet. Your agent sets up monitors from a plain description, tells you what is broken and why, reads run history and traces, and writes notes on inci

One case file per task — shared by every session, agent and person that touches it. Self-hosted MCP server and live board. MIT.
评论