Skip to main content
Glama

xngmcp

xngmcp 为 MCP 客户端和终端提供两个本地 Web 工具:web_search 通过 SearXNG,以及 web_fetch 用于可读的公共页面。

Install

需要 Rust 1.85 或更高版本。需要带有 Compose 插件的 Docker,才能使用随附的 SearXNG 后端。

从源代码检出中安装 xngmcp 并启动后端:

cargo install --path .

./infra/searxng/bootstrap.sh
docker compose --env-file infra/searxng/.env \
  -f infra/searxng/compose.yaml up -d --wait

后端监听在 http://127.0.0.1:8080。确认它和 CLI 能正常工作:

curl --fail --silent --show-error http://127.0.0.1:8080/healthz >/dev/null
xngmcp search --limit 5 'Rust MCP SDK'

参见 SearXNG 指南 了解配置、操作, 及其集成测试。参见 shell 集成 以 安装生成的 man 页面和 shell 补全。

Related MCP server: web-basics-mcp

Pi

安装并配置 Pi 包,使用其 设置指南。它会配置 pi-mcp-adapter 以运行 xngmcp serve,并将 web_searchweb_fetch 暴露 为直接的 Pi 工具。

Usage

# Search the web
xngmcp search 'Rust MCP SDK'
xngmcp search --json --limit 5 'Rust MCP SDK'

# Fetch readable text or Markdown from a public URL
xngmcp fetch --format text https://doc.rust-lang.org/book/

# Run the stdio MCP server
xngmcp serve

配置 MCP 客户端以 SEARXNG_URL=http://127.0.0.1:8080 启动 xngmcp serve。服务器暴露 web_searchweb_fetch。使用 --searxng-urlSEARXNG_URL 选择其他端点。

search --jsonfetch --json 向 stdout 写入单个 JSON 值。错误 和诊断信息输出到 stderr。运行 xngmcp --help 查看所有命令和选项。

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Servers

  • A
    license
    B
    quality
    B
    maintenance
    A self-hosted MCP server providing web search and URL fetching tools, running locally without external API keys or accounts.
    2
    MIT
  • F
    license
    A
    quality
    C
    maintenance
    MCP server that provides a search_web tool to query a self-hosted SearXNG instance and return structured web search results.
    1
  • F
    license
    -
    quality
    B
    maintenance
    A self-hosted MCP server providing private web search, web page fetching, and current date/time tools, powered by a bundled SearXNG instance for API-key-free local search.
    2

View all related MCP servers

Related MCP Connectors

  • Serper MCP — wraps the Serper Google Search API (serper.dev)

  • MCP server for Google search results via SERP API

  • An MCP server that gives your AI access to the source code and docs of all public github repos

View all MCP Connectors

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/stormlightlabs/xngmcp'

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