CoolFace
Apppublic

OrganizedProgrammers/DocIndexer-v2

sourceHugging Facemitupdated 1mo agoView on Hugging Face
0likes
App README

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

MCP indexing server

In addition to the existing web dashboard and REST endpoints, this Space exposes an MCP (Model Context Protocol) server, docindexer-indexing, over Streamable HTTP at:

https://<your-space>.hf.space/index/mcp

It wraps the same TDoc/3GPP/ETSI indexing jobs used by the web dashboard (sharing the same locks, so a job started from the dashboard and one started via MCP can't run concurrently on the same resource) as MCP tools:

  • —list_meetings(working_group) — list meeting folders for a working group (e.g. S1, C3, RP)
  • —index_tdocs_workgroup(working_group) — re-index TDocs for every meeting of a working group
  • —index_tdocs_meeting(working_group, meetings) — re-index TDocs for specific meetings
  • —index_all_tdocs() — re-index TDocs across all of SA/CT/RAN
  • —index_3gpp_specs() — re-index all 3GPP specifications and rebuild their BM25 indexes
  • —index_etsi_specs() — re-index all ETSI specifications and rebuild their BM25 indexes

These are slow, mutating operations (minutes to hours) that push to the shared OrganizedProgrammers/* Hugging Face datasets, so they should be used deliberately rather than called freely.

Connecting from Claude Code

claude mcp add --transport http docindexer-indexing https://<your-space>.hf.space/index/mcp

MCP_ALLOWED_HOSTS (only needed if you rename/fork the Space)

FastMCP enables DNS-rebinding protection and validates the incoming Host header. The Space's current hostname (organizedprogrammers-docindexer-v2.hf.space) is allow-listed by default in mcp_indexing.py. If you rename the Space or deploy a copy under a different name, requests will get 421 Misdirected Request until you either update that default or set a Space variable MCP_ALLOWED_HOSTS to a comma-separated list of the extra hostnames to allow, e.g. my-other-space.hf.space.