Skip to main content
Glama

statespace

npm License Discord X

Поиск по документации, проиндексированной с сайтов llms.txt — из терминала, через вашего ИИ-ассистента или по HTTP.

CLI

npx statespace search "redis connection pooling"
npx statespace search "authentication" --site upstash.com
npx statespace search "rate limiting" --limit 20

Опции

Флаг

Сокращение

По умолчанию

Описание

--site <site>

-s

—

Ограничить поиск конкретным сайтом (имя, домен или URL)

--limit <n>

-l

10

Максимальное количество результатов

--url <url>

-u

http://localhost:3000

Базовый URL бэкенд-API

Related MCP server: gnosis-mcp

MCP

Добавьте в конфигурацию вашего MCP-клиента (Claude Desktop, Cursor и т. д.):

{
  "mcpServers": {
    "statespace": {
      "command": "npx",
      "args": ["statespace", "mcp"]
    }
  }
}

Для удаленного бэкенда:

{
  "mcpServers": {
    "statespace": {
      "command": "npx",
      "args": ["statespace", "mcp", "--url", "https://your-backend.example.com"]
    }
  }
}

Для запуска в качестве SSE-сервера вместо stdio (полезно для удаленных или многоклиентских развертываний):

npx statespace mcp --transport sse --port 4000

Инструмент: search

Параметр

Тип

Обязательный

По умолчанию

Описание

q

string

да

—

Поисковый запрос

limit

integer

нет

10

Максимальное количество результатов

site

string

нет

—

Ограничить поиск конкретным сайтом (имя, домен или URL)

HTTP

Бэкенд предоставляет одну конечную точку:

GET /search?q=<query>[&limit=<n>][&site=<site>]
curl "http://localhost:3000/search?q=redis+connection+pooling"
curl "http://localhost:3000/search?q=authentication&site=upstash.com&limit=5"

Ответ

[
  {
    "url": "https://upstash.com/docs/llms.txt",
    "site": "Upstash",
    "title": "Upstash Docs",
    "score": 0.8321
  }
]

Без параметра site возвращает по одному результату на каждый соответствующий сайт. С параметром site возвращает отдельные страницы внутри этого сайта.

Требования

Node.js 18+

Сообщество

Лицензия

Этот проект лицензирован на условиях лицензии MIT.

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables the creation and execution of task-specific AI sub-agents defined in markdown across any MCP-compatible tool like Cursor or Claude Desktop. It integrates with execution engines such as Claude Code, Cursor CLI, and Gemini CLI to provide portable and reusable specialized agent workflows.
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Zero-config knowledge base for AI coding agents. Loads your markdown docs into a searchable database and exposes them as MCP tools — search, read, and manage documentation without leaving your editor. Works instantly with SQLite (no setup), upgrades to PostgreSQL + pgvector for hybrid semantic search. 6 MCP tools, 3 resources, FTS5 keyword search, 176 tests.
      110 PyPI
      31
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Transforms Markdown documentation into an intelligent knowledge base with AI-powered search and Q\&A through an MCP server.
      9
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      One config, one CLI that turns your databases (Postgres, MySQL, SQLite, MongoDB) into MCP servers for Claude, GPT, Cursor, and any MCP-compatible agent.
      3
      1
      MIT