Skip to main content
Glama
mcp-meituan-ip

mcp-meituan-ip

by aixi134

mcp-meituan-ip MCP サーバー

コンポーネント

リソース

サーバーは、次の機能を備えたシンプルなメモ保存システムを実装します。

  • 個々のノートにアクセスするためのカスタム note:// URI スキーム

  • 各ノートリソースには、名前、説明、text/plain mimetype があります。

プロンプト

サーバーは単一のプロンプトを提供します:

  • 要約ノート: 保存されているすべてのノートの要約を作成します

    • 詳細レベル(簡潔/詳細)を制御するためのオプションの「スタイル」引数

    • 現在のすべてのメモをスタイルの好みに合わせて組み合わせたプロンプトを生成します

ツール

サーバーは 1 つのツールを実装します。

  • add-note: サーバーに新しいメモを追加します

    • 必須の文字列引数として「name」と「content」を取ります

    • サーバーの状態を更新し、リソースの変更をクライアントに通知します

Related MCP server: browser-use MCP server

構成

[TODO: 実装に固有の構成の詳細を追加する]

クイックスタート

インストール

クロードデスクトップ

MacOS の場合: ~/Library/Application\ Support/Claude/claude_desktop_config.json Windows の場合: %APPDATA%/Claude/claude_desktop_config.json

発達

建築と出版

配布用のパッケージを準備するには:

  1. 依存関係を同期し、ロックファイルを更新します。

uv sync
  1. パッケージディストリビューションをビルドします。

uv build

これにより、 dist/ディレクトリにソースとホイールのディストリビューションが作成されます。

  1. PyPI に公開:

uv publish

注: 環境変数またはコマンド フラグを使用して PyPI 資格情報を設定する必要があります。

  • トークン: --tokenまたはUV_PUBLISH_TOKEN

  • またはユーザー名/パスワード: --username / UV_PUBLISH_USERNAMEおよび--password / UV_PUBLISH_PASSWORD

デバッグ

MCPサーバーはstdio経由で実行されるため、デバッグが困難になる場合があります。最適なデバッグ環境を実現するには、 MCP Inspectorの使用を強くお勧めします。

次のコマンドを使用して、 npm経由で MCP Inspector を起動できます。

npx @modelcontextprotocol/inspector uv --directory D:\idea-work\mcp-meituan-ip run mcp-meituan-ip

起動すると、ブラウザでアクセスしてデバッグを開始できる URL がインスペクタに表示されます。

Available Tools

2 tools
get-ip-locC

获取指定ip的大致位置与经纬度信息

Inputs: ip (required).

get-latlngC

根据经纬度获取详细位置信息

Inputs: lat (required), lng (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: one maps IP addresses to locations, while the other maps latitude/longitude coordinates to detailed location information. There is no overlap in functionality, making it easy for an agent to choose the correct tool based on the input type.

    Naming Consistency5/5

    Both tools follow a consistent verb_noun naming pattern with hyphens (get-ip-loc and get-latlng), using the same verb 'get' and descriptive nouns. This predictable structure enhances readability and usability.

    Tool Count3/5

    With only two tools, the server feels thin for a location/geolocation service, as it lacks operations like reverse geocoding, batch processing, or error handling. While the tools are complementary, the scope is minimal and may limit agent workflows.

    Completeness3/5

    The server covers basic IP and coordinate lookups but has notable gaps, such as missing reverse geocoding from location to coordinates, validation tools, or support for multiple IPs. This could lead to agent workarounds or failures in more complex scenarios.

    Related MCP Connectors

    Related MCP Servers