← 返回 Skills 市场
🔌

Mapbox MCP Runtime Patterns

作者 Mapbox · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
95
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install mapbox-mcp-runtime-patterns
功能描述
Integration patterns for Mapbox MCP Server in AI applications and agent frameworks. Covers runtime integration with pydantic-ai, mastra, LangChain, and custo...
安全使用建议
This package appears to contain legitimate Mapbox MCP integration patterns and runnable examples, but there are a few mismatches and operational risks to consider before using it: - Credentials: The manifest lists no required env vars, but examples and SKILL.md require MAPBOX_ACCESS_TOKEN (and many examples also reference OPENAI_API_KEY and HF_TOKEN). Do not run examples until you confirm which tokens are needed and provide them securely (use least-privilege tokens, rotate them, and avoid pasting long-lived secrets into shared shells). - Running code from npm/npx: Self-hosting instructions use `npm install` / `npx @mapbox/mcp-server` and example code spawns child processes. `npx` will fetch and execute code from the npm registry; only run this in trusted environments and consider pinning package versions or using verified releases. - Agent system prompts: Examples include system_prompt and prompt templates that control agent behavior. This is normal for agent integrations, but review them to ensure they don't grant the agent overly broad or unsafe instructions (especially if you plan to allow autonomous agent runs). - Manifest/document mismatch: Ask the publisher to update registry metadata to declare required environment variables (MAPBOX_ACCESS_TOKEN and any LLM tokens used) so the skill's requirements are explicit. - Operational safety: If you will self-host the MCP server, verify the `@mapbox/mcp-server` package integrity (use package-lock, pin versions, run in isolated environments / containers). If you only need hosted MCP, prefer using the documented hosted endpoint (https://mcp.mapbox.com/mcp) with a scoped token. If you want, I can: (1) list exact files/lines that reference each token or npx usage, (2) suggest a minimal, safe checklist for running the examples in an isolated environment, or (3) draft questions to ask the skill author to clarify the missing metadata.
功能分析
Type: OpenClaw Skill Name: mapbox-mcp-runtime-patterns Version: 1.0.0 The skill bundle provides legitimate integration patterns and code examples for the Mapbox MCP Server across various AI frameworks, including Pydantic AI, CrewAI, LangChain, and Mastra. The code correctly implements tool calling via the official Mapbox hosted endpoints (mcp.mapbox.com) and provides standard patterns for local execution using npx. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found; the instructions and code logic are entirely consistent with the stated purpose of providing geospatial capabilities to AI agents.
能力评估
Purpose & Capability
The name/description and the included example code all focus on integrating Mapbox MCP Server into agents (pydantic-ai, LangChain, Mastra, smolagents, CrewAI). That capability is coherent with the stated purpose. However, the registry metadata declares no required environment variables or primary credential even though the SKILL.md and examples clearly require MAPBOX_ACCESS_TOKEN (and sample workflows also reference OPENAI_API_KEY and HF_TOKEN). The omission of required env vars in metadata is an inconsistency.
Instruction Scope
SKILL.md and example files instruct running either the hosted MCP endpoint or self-hosting via `npm install` / `npx @mapbox/mcp-server`, and multiple code examples spawn child processes (subprocess.Popen, spawn) and write to process stdin/stdout. Those runtime actions are within the general scope of self-hosting MCP, but they allow executing code fetched from npm at runtime and give the agent/installer the option to run arbitrary packages. The instructions also embed system prompts (e.g., agent system_prompt strings) which can change agent behavior — expected for agent patterns but flagged by the pre-scan as a prompt-injection signal.
Install Mechanism
There is no install spec in the registry (instruction-only), which is low-risk by itself. However, the documentation and examples rely on npm/npx to install or run `@mapbox/mcp-server` (and suggest `npm install` in TypeScript examples). Running `npx` will fetch and execute code from the npm registry at runtime — a legitimate self-host option but a higher-risk install pattern if used without verification. No downloads from unknown hosts or URL shorteners are present; the hosted endpoint references mapbox.com.
Credentials
The skill declares no required env vars or primary credential, but SKILL.md and multiple examples clearly require MAPBOX_ACCESS_TOKEN for MCP and also reference OPENAI_API_KEY and HF_TOKEN in examples. Requiring API tokens for Mapbox (and optionally LLM/HuggingFace keys in examples) is expected for the stated purpose — but the metadata failing to declare these credentials is an incoherence and increases the chance a user will run examples without realizing sensitive tokens are required. Ensure tokens are provided with least privilege and not hard-coded.
Persistence & Privilege
always:false and normal model invocation semantics. The skill does not request forced persistence or system-wide configuration changes in the manifest. Example code starts local processes (self-hosting) but does not attempt to modify other skills' configurations.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install mapbox-mcp-runtime-patterns
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /mapbox-mcp-runtime-patterns 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of mapbox-mcp-runtime-patterns skill. - Provides integration patterns for Mapbox MCP Server with popular AI frameworks including pydantic-ai, mastra, LangChain, and custom agents. - Explains distinctions between offline geospatial tools and Mapbox API-powered tools, with usage guidance. - Details best practices for cost, performance, and security in production AI applications. - Includes references for setup (hosted/self-hosted), and pointers to detailed integration guides for various agent frameworks. - Ideal for teams building AI-powered apps that require geospatial capabilities.
元数据
Slug mapbox-mcp-runtime-patterns
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Mapbox MCP Runtime Patterns 是什么?

Integration patterns for Mapbox MCP Server in AI applications and agent frameworks. Covers runtime integration with pydantic-ai, mastra, LangChain, and custo... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 95 次。

如何安装 Mapbox MCP Runtime Patterns?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install mapbox-mcp-runtime-patterns」即可一键安装,无需额外配置。

Mapbox MCP Runtime Patterns 是免费的吗?

是的,Mapbox MCP Runtime Patterns 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Mapbox MCP Runtime Patterns 支持哪些平台?

Mapbox MCP Runtime Patterns 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Mapbox MCP Runtime Patterns?

由 Mapbox(@mapbox)开发并维护,当前版本 v1.0.0。

💬 留言讨论