Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(mcp-registry): stop unrelated projects merging into one row (#98789)

Daniel Visca25718fb61fd3
diff --git a/products/mcp_registry/backend/aggregation.py b/products/mcp_registry/backend/aggregation.py
index cf776f1aefa2..0cee847d6cf5 100644
--- a/products/mcp_registry/backend/aggregation.py
+++ b/products/mcp_registry/backend/aggregation.py
@@ -73,7 +73,7 @@ def aggregate_team(team: Team, window_days: int = MEASURED_WINDOW_DAYS) -> int:
)
tool_rows = tools_response.results or []
- resolution = resolve_measured_server(server_name)
+ resolution = resolve_measured_server(server_name, team.id)
MCPMeasuredStats.objects.for_team(team.id).update_or_create(
team_id=team.id,
server_name=server_name,
diff --git a/products/mcp_registry/backend/connect.py b/products/mcp_registry/backend/connect.py
index 817819dae686..bb5e0fc63f40 100644
--- a/products/mcp_registry/backend/connect.py
+++ b/products/mcp_registry/backend/connect.py
@@ -27,6 +27,10 @@ Method taxonomy, most to least automated:
- ``local_package``: no hosted remote; the agent runs the published package locally.
Always human-gated: the package is publisher-controlled code, so a person approves
the exact package (and version) before the agent installs and runs it.
+- ``posthog_gateway``: install the server into PostHog's own MCP servers gateway, which
+ drives the OAuth handshake, holds the credential, and gates each tool behind an
+ approval state. A different destination rather than a different auth path, so it is
+ appended last and never becomes the recommendation.
Values that a registry publisher controls (a remote URL, a package identifier) are
shell-quoted before they reach a ``command`` string. An agent is told to run these
@@ -129,6 +133,51 @@ def _remote_url(server: MCPRegistryServer) -> str:
return server.canonical_url
+# Route owned by products/mcp_store/manifest.tsx. Python has no access to the frontend
+# route table, so a rename there needs a matching edit here.
+_POSTHOG_GATEWAY_PATH = "/mcp-servers"
+
+
+def _posthog_gateway_method(url: str) -> dict[str, Any]:
+ """Install into PostHog's own MCP servers gateway.
+
+ Every other method hands a `claude mcp add` line to one local client. This one is a
+ different destination, not a different auth path: the gateway drives OAuth, holds the
+ credential, and gates each tool behind an approval state, and the server is then
+ reachable from every PostHog agent surface rather than one machine.
+
+ Appended last, so it never becomes `recommended`. An agent reading these instructions
+ programmatically is better served by the shell command; a person who found the server
+ on the search page has no terminal in front of them and is better served by this. It
+ also keeps the ranking output from preferring PostHog's own path over a vendor's.
+ """
+ return {
+ "method": "posthog_gateway",
+ "automation": "human_required",
+ "summary": "Install into PostHog's MCP servers gateway: it completes the OAuth handshake, keeps the "
+ "credential, and holds each tool behind an approval state. Reachable from every PostHog agent "
+ "surface once installed, rather than from one local client.",
+ "steps": [
+ {
+ "actor": "human",
+ "description": f"Open {_POSTHOG_GATEWAY_PATH} in PostHog (needs the mcp-gateway feature flag) "
+ f"and add {url} as a custom server.",
+ "command": None,
+ },
+ {
+ "actor": "human",
+ "description": "Complete the vendor's consent screen if it asks for one.",
+ "command": None,
+ },
+ {
+ "actor": "agent",
+ "description": "Call the server's tools through the gateway, approving each new tool on first use.",
+ "command": None,
+ },
+ ],
+ }
+
+
def _derived_methods(server: MCPRegistryServer) -> list[dict[str, Any]]:
methods: list[dict[str, Any]] = []
slug = _slug(server)
@@ -305,6 +354,10 @@ def _derived_methods(server: MCPRegistryServer) -> list[dict[str, Any]]:
"steps": steps,
}
)
+
+ if url:
+ # A package-only entry has nothing for a hosted gateway to reach.
+ methods.append(_posthog_gateway_method(url))
return methods
diff --git a/products/mcp_registry/backend/facade/api.py b/products/mcp_registry/backend/facade/api.py
index 0dbed6446f13..180858da5a89 100644
--- a/products/mcp_registry/backend/facade/api.py
+++ b/products/mcp_registry/backend/facade/api.py
@@ -92,7 +92,6 @@ def get_server_detail(*, pk: str, team_id: int, caller_is_staff: bool) -> contra
return None
visibility = logic.measured_visibility(server, team_id, caller_is_staff)
- can_see_measured = bool(visibility.rows)
latest_scores: list[contracts.ScoreInfo] = []
for version in known_ranking_versions():
run = latest_completed_run(version)
@@ -116,7 +115,7 @@ def get_server_detail(*, pk: str, team_id: int, caller_is_staff: bool) -> contra
repository_url=server.repository_url,
website_url=server.website_url,
last_probed_at=server.last_probed_at,
- tools=[_to_tool(tool) for tool in logic.visible_tools(server, can_see_measured)],
+ tools=[_to_tool(tool) for tool in logic.visible_tools(server, visibility.sees_every_row)],
measured_stats=[_to_measured_stats(row) for row in visibility.rows],
scores=latest_scores,
connect_instructions=build_connect_instructions(server),
@@ -139,14 +138,13 @@ def discover_servers(
for index, server in enumerate(servers):
score = logic.score_for_run(run, server)
visibility = logic.measured_visibility(server, team_id, caller_is_staff)
- can_see_measured = bool(visibility.rows)
matched_tools: list[dict[str, contracts.JSONScalar]] = [
{
"name": tool.name,
"description": tool.description[:160],
"source": tool.source,
}
- for tool in logic.visible_tools(server, can_see_measured)
+ for tool in logic.visible_tools(server, visibility.sees_every_row)
if any(token in tool.name.lower() for token in tokens)
]
matched_tools = matched_tools[:_DISCOVER_TOOLS_PER_CANDIDATE]
diff --git a/products/mcp_registry/backend/linking.py b/products/mcp_registry/backend/linking.py
index 0feed4c75a78..b06839f0303c 100644
--- a/products/mcp_registry/backend/linking.py
+++ b/products/mcp_registry/backend/linking.py
@@ -72,11 +72,16 @@ class MeasuredServerResolution:
link_candidates: list[str] = field(default_factory=list)
-def resolve_measured_server(server_name: str) -> MeasuredServerResolution:
+def resolve_measured_server(server_name: str, team_id: int) -> MeasuredServerResolution:
"""Resolve a measured server name to its registry server row.
Falls back to a standalone (non-registry) row when no unambiguous match exists,
- reusing a previous standalone row for the same name if one was already created.
+ reusing this project's previous standalone row for the same name if one exists.
+
+ The standalone row belongs to one project. `serverInfo.name` is advertised by the
+ client and is often an SDK template default, so unrelated projects report the same
+ name routinely; keying the row on the name alone merged their traffic and their tool
+ names into a single row, which then ranked on the sum of everyone's calls.
"""
result = find_registry_match(server_name)
if result.server is not None:
@@ -86,12 +91,13 @@ def resolve_measured_server(server_name: str) -> MeasuredServerResolution:
return MeasuredServerResolution(server=result.server, link_method=result.method)
standalone = MCPRegistryServer.objects.filter(
- listed_in_registry=False, is_measured=True, display_name=server_name
+ listed_in_registry=False, is_measured=True, display_name=server_name, measured_team_id=team_id
).first()
if standalone is None:
standalone = MCPRegistryServer.objects.create(
display_name=server_name,
description="Measured via MCP Analytics; not listed in the official registry.",
is_measured=True,
+ measured_team_id=team_id,
)
return MeasuredServerResolution(server=standalone, link_method="standalone", link_candidates=result.candidates)
diff --git a/products/mcp_registry/backend/logic.py b/products/mcp_registry/backend/logic.py
index eaa5a1d9289b..7b9e5c7fbd43 100644
--- a/products/mcp_registry/backend/logic.py
+++ b/products/mcp_registry/backend/logic.py
@@ -81,14 +81,19 @@ def visible_components(components: dict[str, Any], sees_every_row: bool) -> dict
return {key: value for key, value in components.items() if key not in _DERIVED_COMPONENT_KEYS}
-def visible_tools(server: MCPRegistryServer, can_see_measured: bool) -> list[MCPRegistryTool]:
+def visible_tools(server: MCPRegistryServer, sees_every_row: bool) -> list[MCPRegistryTool]:
"""Tools known only from another project's traffic stay hidden.
A probed tools/list is ours, because we asked the server for it. A tool learned from
analytics is evidence of somebody's calls, so it follows the same tier as the stats.
+
+ Gated on seeing every row rather than on having one, because a tool row records no
+ team: when several projects measure one server there is no way to tell whose traffic
+ named a given tool, so a co-measurer would otherwise read the others' tool names. A
+ sole measurer still sees its own.
"""
tools = list(server.tools.all())
- if can_see_measured:
+ if sees_every_row:
return tools
return [tool for tool in tools if tool.source != "analytics"]
@@ -116,7 +121,11 @@ def measured_visibility(server: MCPRegistryServer, team_id: int | None, is_staff
return MeasuredVisibility(rows=rows, sees_every_row=True)
# No row carries a null team_id, so a caller without a project matches nothing.
visible = [row for row in rows if row.team_id == team_id]
- return MeasuredVisibility(rows=visible, sees_every_row=len(visible) == len(rows))
+ # A server with no rows at all must not count as seeing all of them. Equal lengths are
+ # both zero there, which would hand every caller the analytics-derived tool names,
+ # and those outlive the rows that produced them: re-keying a standalone row onto its
+ # owning project leaves the old server holding tools and no stats.
+ return MeasuredVisibility(rows=visible, sees_every_row=bool(visible) and len(visible) == len(rows))
def measured_summary(stats: list[MCPMeasuredStats]) -> dict[str, Any] | None:
diff --git a/products/mcp_registry/backend/migrations/0003_standalone_row_owner.py b/products/mcp_registry/backend/migrations/0003_standalone_row_owner.py
new file mode 100644
index 000000000000..4c565c902015
--- /dev/null
+++ b/products/mcp_registry/backend/migrations/0003_standalone_row_owner.py
@@ -0,0 +1,17 @@
+# Generated by Django 5.2.17 on 2026-09-10 21:43
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+ dependencies = [
+ ("mcp_registry", "0002_alter_mcpmeasuredstats_options_and_more"),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name="mcpregistryserver",
+ name="measured_team_id",
+ field=models.IntegerField(blank=True, null=True),
+ ),
+ ]
diff --git a/products/mcp_registry/backend/migrations/max_migration.txt b/products/mcp_registry/backend/migrations/max_migration.txt
index c28eca79b89c..694dd11d8d57 100644
--- a/products/mcp_registry/backend/migrations/max_migration.txt
+++ b/products/mcp_registry/backend/migrations/max_migration.txt
@@ -1 +1 @@
-0002_alter_mcpmeasuredstats_options_and_more
+0003_standalone_row_owner
diff --git a/products/mcp_registry/backend/models.py b/products/mcp_registry/backend/models.py
index 53554819729c..85b128d98d12 100644
--- a/products/mcp_registry/backend/models.py
+++ b/products/mcp_registry/backend/models.py
@@ -73,6 +73,12 @@ class MCPRegistryServer(UUIDModel):
# Whether measured stats may be shown outside PostHog. Stays False until the
# server owner opts in, because it is their analytics data.
measured_public = models.BooleanField(default=False)
+ # Which project a standalone (non-registry) row belongs to. Registry rows are global and
+ # leave this null. A standalone row exists only because one project's events named a
+ # server we could not match, and `serverInfo.name` is client-advertised — often an SDK
+ # template default — so unrelated projects routinely report the same name. Without an
+ # owner, all of them collapse into one row and their call volumes and tool names merge.
+ measured_team_id = models.IntegerField(null=True, blank=True)
liveness = models.CharField(max_length=20, choices=LIVENESS_CHOICES, default="unprobed")
auth_method = models.CharField(max_length=20, choices=AUTH_METHOD_CHOICES, default="unknown")
diff --git a/products/mcp_registry/backend/tests/test_api.py b/products/mcp_registry/backend/tests/test_api.py
index b46985aeee94..26ef1a8c933a 100644
--- a/products/mcp_registry/backend/tests/test_api.py
+++ b/products/mcp_registry/backend/tests/test_api.py
@@ -375,6 +375,55 @@ class TestMCPRegistryAPI(APIBaseTest):
assert [tool["name"] for tool in detail["tools"]] == ["probed_tool"]
+ def test_co_measurer_does_not_read_the_other_projects_tool_names(self) -> None:
+ # A tool row records no team, so when two projects measure one server there is no
+ # way to tell whose traffic named a tool. Having a row of your own is therefore
+ # not licence to read the rest.
+ servers = self._seed_index()
+ for name, source in (("probed_tool", "tools_list"), ("learned_from_traffic", "analytics")):
+ MCPRegistryTool.objects.create(
+ server=servers["measured"],
+ name=name,
+ description="",
+ source=source,
+ last_seen_at=timezone.now(),
+ )
+ self._seed_another_projects_stats(servers["measured"])
+
+ detail = self.client.get(self._url(f"{servers['measured'].id}/")).json()
+
+ # The caller keeps its own measured figures, but not the shared tool names.
+ assert [row["calls"] for row in detail["measured_stats"]] == [50_000]
+ assert [tool["name"] for tool in detail["tools"]] == ["probed_tool"]
+
+ def test_analytics_tools_stay_hidden_on_a_server_with_no_measurements(self) -> None:
+ # On a server nobody has measured, both row counts are zero, which used to read as
+ # "sees every row" and hand out the analytics-derived tool names. Those names
+ # outlive the rows that produced them: re-keying a standalone row onto its owning
+ # project leaves the old server holding tools and no stats.
+ servers = self._seed_index()
+ MCPRegistryTool.objects.create(
+ server=servers["unmeasured"],
+ name="learned_from_traffic",
+ description="",
+ source="analytics",
+ last_seen_at=timezone.now(),
+ )
+
+ detail = self.client.get(self._url(f"{servers['unmeasured'].id}/")).json()
+
+ assert [tool["name"] for tool in detail["tools"]] == ["query_analytics"]
+
+ # Staff keep the fleet view, which is the point of that tier.
+ self.user.is_staff = True
+ self.user.save()
+ staff_detail = self.client.get(self._url(f"{servers['unmeasured'].id}/")).json()
+
+ assert sorted(tool["name"] for tool in staff_detail["tools"]) == [
+ "learned_from_traffic",
+ "query_analytics",
+ ]
+
def test_measured_only_rows_from_another_project_stay_hidden(self) -> None:
# A row absent from the official registry exists only because another project's
# events named a server we could not match, and that name is unvalidated text
diff --git a/products/mcp_registry/backend/tests/test_connect.py b/products/mcp_registry/backend/tests/test_connect.py
index 1e6114e321d3..08e13f123ced 100644
--- a/products/mcp_registry/backend/tests/test_connect.py
+++ b/products/mcp_registry/backend/tests/test_connect.py
@@ -147,6 +147,31 @@ class TestConnectInstructions(SimpleTestCase):
assert method["steps"][0]["actor"] == "human"
assert spec in method["steps"][-1]["command"]
+ @parameterized.expand(
+ [
+ ("hosted_remote", {"liveness": "alive_open", "auth_method": "none"}, True),
+ (
+ "package_only",
+ {
+ "canonical_url": "",
+ "packages": [{"registry_type": "npm", "identifier": "@example/demo-mcp", "version": "1.0.0"}],
+ },
+ False,
+ ),
+ ]
+ )
+ def test_posthog_gateway_is_offered_only_for_a_hosted_remote(
+ self, _name: str, fields: dict, expected: bool
+ ) -> None:
+ instructions = build_connect_instructions(_server(**fields))
+
+ methods = [method["method"] for method in instructions["methods"]]
+ # The gateway installs a URL, so a package-only entry has nothing for it to reach.
+ assert ("posthog_gateway" in methods) is expected
+ # Never the recommendation: a vendor's own path outranks PostHog's, and an agent
+ # reading these instructions programmatically wants the shell command instead.
+ assert instructions["recommended"] != "posthog_gateway"
+
def test_row_overrides_replace_derived_methods(self) -> None:
override_methods = [
{
diff --git a/products/mcp_registry/backend/tests/test_linking.py b/products/mcp_registry/backend/tests/test_linking.py
index de414f00166c..2f19f21867e9 100644
--- a/products/mcp_registry/backend/tests/test_linking.py
+++ b/products/mcp_registry/backend/tests/test_linking.py
@@ -17,7 +17,7 @@ class TestLinking(BaseTest):
_registry_server("com.thirdparty/posthog", "posthog")
official = _registry_server("io.github.PostHog/mcp", "PostHog MCP Server")
- resolution = resolve_measured_server("PostHog")
+ resolution = resolve_measured_server("PostHog", self.team.id)
assert resolution.server == official
assert resolution.link_method == "override"
@@ -29,7 +29,7 @@ class TestLinking(BaseTest):
_registry_server("io.example/acme", "Acme")
_registry_server("com.acme/mcp", "acme")
- resolution = resolve_measured_server("Acme")
+ resolution = resolve_measured_server("Acme", self.team.id)
assert resolution.server.listed_in_registry is False
assert resolution.link_method == "standalone"
@@ -39,15 +39,26 @@ class TestLinking(BaseTest):
match = _registry_server("io.example/linear", "Linear")
_registry_server("io.example/linear-docs", "Linear docs helper")
- resolution = resolve_measured_server("Linear")
+ resolution = resolve_measured_server("Linear", self.team.id)
assert resolution.server == match
assert resolution.link_method == "exact_name"
assert resolution.link_candidates == []
+ def test_two_projects_reporting_one_name_get_separate_rows(self) -> None:
+ # serverInfo.name is client-advertised and often an SDK template default, so
+ # unrelated projects report the same name. Keyed on the name alone, their calls
+ # and tool names merged into one row that then ranked on everyone's traffic.
+ mine = resolve_measured_server("mcp-typescript server", self.team.id)
+ theirs = resolve_measured_server("mcp-typescript server", self.team.id + 1)
+
+ assert mine.link_method == theirs.link_method == "standalone"
+ assert mine.server.id != theirs.server.id
+ assert (mine.server.measured_team_id, theirs.server.measured_team_id) == (self.team.id, self.team.id + 1)
+
def test_standalone_row_is_reused_across_runs(self) -> None:
- first = resolve_measured_server("Internal Tools")
- second = resolve_measured_server("Internal Tools")
+ first = resolve_measured_server("Internal Tools", self.team.id)
+ second = resolve_measured_server("Internal Tools", self.team.id)
assert first.server == second.server
assert MCPRegistryServer.objects.filter(display_name="Internal Tools").count() == 1
diff --git a/products/mcp_registry/mcp/tools.yaml b/products/mcp_registry/mcp/tools.yaml
index 9b98240c9d14..4a0f9e90c3dd 100644
--- a/products/mcp_registry/mcp/tools.yaml
+++ b/products/mcp_registry/mcp/tools.yaml
@@ -21,18 +21,27 @@ tools:
title: Discover MCP servers for a task
description: >
Find the MCP servers most likely to perform a task, ranked, with the instructions to connect to each one.
- Describe the task in `intent` the way a person would ("deploy my site to vercel"), not as keywords.
- Each candidate carries why it ranked where it did: `liveness` from a real handshake against the server,
- `why` with the score breakdown, and `measured` with observed call volume and success rate when PostHog
- Analytics has seen the server in use. `connect` gives the connection methods, most automated first, with
- each step marked for the agent to run or for a person to do.
+ Name the vendor or product in `intent` when you know it, as in "vercel deploy" or "linear issues". Matching
+ is lexical: it compares your words against the words a server uses about itself, so a paraphrase misses and
+ a natural-sounding sentence can rank a novelty server above the vendor's own.
- The index is a global crawl of the official MCP registry rather than a table in this project, so it is not
- queryable in SQL. Relevance is keyword-based today, so a paraphrase can miss: prefer the words a server
- would use about itself. Use `mcp-registry-server-get` for the full tool list of one candidate.
+ Each candidate carries `liveness` from a real handshake against the server, `why` with the breakdown behind
+ `score`, and `measured` with observed call volume and success rate where PostHog Analytics has seen the
+ server in use. `score` is the server's own standing. Ordering also weighs how well its text matched
+ `intent`, which the response does not return yet, so adjacent scores can look out of order.
+
+
+ Most of the index is still unprobed, and an unprobed server scores below a confirmed live one. A first-party
+ server behind OAuth can therefore sit under an anonymous one that needs no auth. Read a low-ranked vendor
+ server as unproven rather than bad.
+
+
+ `connect` gives the connection methods, most automated first, with each step marked for the agent to run or
+ for a person to do. The index is a global crawl of the official MCP registry rather than a table in this
+ project, so it is not queryable in SQL. Use `mcp-registry-server-get` for one candidate's full tool list.
include_params:
- intent
- version
@@ -52,8 +61,10 @@ tools:
per-version ranking scores, and connection instructions to what discover returns.
- Measured usage is limited to what the calling project may see, so a server another project measured shows
- its ranking but not that project's figures.
+ Measured usage is tiered. A project reads its own figures, and not those of other projects that measured the
+ same server. A PostHog staff caller reads every contributing project's figures instead, so treat them as
+ customer data: they belong to named projects, and must not be repeated into a pull request, a message, or a
+ shared document.
mcp-registry-servers-compare-retrieve:
operation: mcp_registry_servers_compare_retrieve
enabled: false
diff --git a/services/mcp/schema/generated-tool-definitions.json b/services/mcp/schema/generated-tool-definitions.json
index 84509372c037..6db5a2b38892 100644
--- a/services/mcp/schema/generated-tool-definitions.json
+++ b/services/mcp/schema/generated-tool-definitions.json
@@ -8294,7 +8294,7 @@
"feature_flag": "mcp-analytics"
},
"mcp-registry-discover": {
- "description": "Find the MCP servers most likely to perform a task, ranked, with the instructions to connect to each one. Describe the task in `intent` the way a person would (\"deploy my site to vercel\"), not as keywords.\n\nEach candidate carries why it ranked where it did: `liveness` from a real handshake against the server, `why` with the score breakdown, and `measured` with observed call volume and success rate when PostHog Analytics has seen the server in use. `connect` gives the connection methods, most automated first, with each step marked for the agent to run or for a person to do.\n\nThe index is a global crawl of the official MCP registry rather than a table in this project, so it is not queryable in SQL. Relevance is keyword-based today, so a paraphrase can miss: prefer the words a server would use about itself. Use `mcp-registry-server-get` for the full tool list of one candidate.",
+ "description": "Find the MCP servers most likely to perform a task, ranked, with the instructions to connect to each one.\n\nName the vendor or product in `intent` when you know it, as in \"vercel deploy\" or \"linear issues\". Matching is lexical: it compares your words against the words a server uses about itself, so a paraphrase misses and a natural-sounding sentence can rank a novelty server above the vendor's own.\n\nEach candidate carries `liveness` from a real handshake against the server, `why` with the breakdown behind `score`, and `measured` with observed call volume and success rate where PostHog Analytics has seen the server in use. `score` is the server's own standing. Ordering also weighs how well its text matched `intent`, which the response does not return yet, so adjacent scores can look out of order.\n\nMost of the index is still unprobed, and an unprobed server scores below a confirmed live one. A first-party server behind OAuth can therefore sit under an anonymous one that needs no auth. Read a low-ranked vendor server as unproven rather than bad.\n\n`connect` gives the connection methods, most automated first, with each step marked for the agent to run or for a person to do. The index is a global crawl of the official MCP registry rather than a table in this project, so it is not queryable in SQL. Use `mcp-registry-server-get` for one candidate's full tool list.",
"category": "MCP registry",
"feature": "mcp_registry",
"summary": "Discover MCP servers for a task",
@@ -8308,7 +8308,7 @@
}
},
"mcp-registry-server-get": {
- "description": "Read one registry server by id, as returned by `mcp-registry-discover`. Adds the full advertised tool list, per-version ranking scores, and connection instructions to what discover returns.\n\nMeasured usage is limited to what the calling project may see, so a server another project measured shows its ranking but not that project's figures.",
+ "description": "Read one registry server by id, as returned by `mcp-registry-discover`. Adds the full advertised tool list, per-version ranking scores, and connection instructions to what discover returns.\n\nMeasured usage is tiered. A project reads its own figures, and not those of other projects that measured the same server. A PostHog staff caller reads every contributing project's figures instead, so treat them as customer data: they belong to named projects, and must not be repeated into a pull request, a message, or a shared document.",
"category": "MCP registry",
"feature": "mcp_registry",
"summary": "Get an MCP server",
diff --git a/services/mcp/schema/tool-definitions-all.json b/services/mcp/schema/tool-definitions-all.json
index c1415d265420..b6c800b76318 100644
--- a/services/mcp/schema/tool-definitions-all.json
+++ b/services/mcp/schema/tool-definitions-all.json
@@ -8688,7 +8688,7 @@
"feature_flag": "mcp-analytics"
},
"mcp-registry-discover": {
- "description": "Find the MCP servers most likely to perform a task, ranked, with the instructions to connect to each one. Describe the task in `intent` the way a person would (\"deploy my site to vercel\"), not as keywords.\n\nEach candidate carries why it ranked where it did: `liveness` from a real handshake against the server, `why` with the score breakdown, and `measured` with observed call volume and success rate when PostHog Analytics has seen the server in use. `connect` gives the connection methods, most automated first, with each step marked for the agent to run or for a person to do.\n\nThe index is a global crawl of the official MCP registry rather than a table in this project, so it is not queryable in SQL. Relevance is keyword-based today, so a paraphrase can miss: prefer the words a server would use about itself. Use `mcp-registry-server-get` for the full tool list of one candidate.",
+ "description": "Find the MCP servers most likely to perform a task, ranked, with the instructions to connect to each one.\n\nName the vendor or product in `intent` when you know it, as in \"vercel deploy\" or \"linear issues\". Matching is lexical: it compares your words against the words a server uses about itself, so a paraphrase misses and a natural-sounding sentence can rank a novelty server above the vendor's own.\n\nEach candidate carries `liveness` from a real handshake against the server, `why` with the breakdown behind `score`, and `measured` with observed call volume and success rate where PostHog Analytics has seen the server in use. `score` is the server's own standing. Ordering also weighs how well its text matched `intent`, which the response does not return yet, so adjacent scores can look out of order.\n\nMost of the index is still unprobed, and an unprobed server scores below a confirmed live one. A first-party server behind OAuth can therefore sit under an anonymous one that needs no auth. Read a low-ranked vendor server as unproven rather than bad.\n\n`connect` gives the connection methods, most automated first, with each step marked for the agent to run or for a person to do. The index is a global crawl of the official MCP registry rather than a table in this project, so it is not queryable in SQL. Use `mcp-registry-server-get` for one candidate's full tool list.",
"category": "MCP registry",
"feature": "mcp_registry",
"summary": "Discover MCP servers for a task",
@@ -8702,7 +8702,7 @@
}
},
"mcp-registry-server-get": {
- "description": "Read one registry server by id, as returned by `mcp-registry-discover`. Adds the full advertised tool list, per-version ranking scores, and connection instructions to what discover returns.\n\nMeasured usage is limited to what the calling project may see, so a server another project measured shows its ranking but not that project's figures.",
+ "description": "Read one registry server by id, as returned by `mcp-registry-discover`. Adds the full advertised tool list, per-version ranking scores, and connection instructions to what discover returns.\n\nMeasured usage is tiered. A project reads its own figures, and not those of other projects that measured the same server. A PostHog staff caller reads every contributing project's figures instead, so treat them as customer data: they belong to named projects, and must not be repeated into a pull request, a message, or a shared document.",
"category": "MCP registry",
"feature": "mcp_registry",
"summary": "Get an MCP server",