Skip to main content
Glama

statespace

npm License Discord X

Busca documentación indexada desde sitios llms.txt: desde la terminal, desde tu asistente de IA o a través de HTTP.

CLI

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

Opciones

Flag

Corto

Predeterminado

Descripción

--site <site>

-s

—

Restringir a un sitio específico (nombre, dominio o URL)

--limit <n>

-l

10

Resultados máximos

--url <url>

-u

http://localhost:3000

URL base de la API de backend

Related MCP server: gnosis-mcp

MCP

Añádelo a la configuración de tu cliente MCP (Claude Desktop, Cursor, etc.):

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

Para un backend remoto:

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

Para ejecutar como servidor SSE en lugar de stdio (útil para implementaciones remotas o multi-cliente):

npx statespace mcp --transport sse --port 4000

Herramienta: search

Parámetro

Tipo

Requerido

Predeterminado

Descripción

q

string

sí

—

Consulta de búsqueda

limit

integer

no

10

Resultados máximos

site

string

no

—

Restringir a un sitio específico (nombre, dominio o URL)

HTTP

El backend expone un único endpoint:

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"

Respuesta

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

Sin site, devuelve un resultado por sitio coincidente. Con site, devuelve páginas individuales dentro de ese sitio.

Requisitos

Node.js 18+

Comunidad

Licencia

Este proyecto está licenciado bajo los términos de la licencia MIT.

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
    220 npm
    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.
    165 PyPI
    29
    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.
    12 npm
    9
    MIT
  • A
    license
    Not graded
    quality
    C
    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.
    1
    MIT