Skip to content

Commit 29c3fb3

Browse files
Update distribution
1 parent 18214c1 commit 29c3fb3

4 files changed

Lines changed: 26 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ The bridge supports Proofline's stateless JSON transport with protocol `2025-11-
5555
## Development and releases
5656

5757
The hosted endpoint's Official MCP Registry entry is maintained in `server.json`.
58+
Its description says what an agent can do with the hosted server, within the
59+
registry's 100-character limit, and names no tool or permission.
5860
Run the **Publish MCP Registry** workflow from `main` after reviewing a metadata
5961
change. It validates the file and publishes with GitHub OIDC; no stored registry
6062
token is needed. Published versions are immutable, so increment the registry

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@proofline/mcp",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"description": "Connect coding agents to Proofline's hosted MCP tools over stdio",
55
"type": "module",
66
"license": "Apache-2.0",

‎server.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
33
"name": "io.github.prooflinedev/proofline",
44
"title": "Proofline",
5-
"description": "Read Proofline review status, findings and review guidance, and request or rerun reviews.",
6-
"version": "0.1.0",
5+
"description": "Set up Proofline, read and change settings with admin approval, and read, request and fix reviews.",
6+
"version": "0.1.1",
77
"websiteUrl": "https://proofline.sh",
88
"remotes": [
99
{

‎tests/registry.test.js‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import assert from "node:assert/strict";
2+
import { readFileSync } from "node:fs";
3+
import test from "node:test";
4+
5+
const entry = JSON.parse(readFileSync(new URL("../server.json", import.meta.url), "utf8"));
6+
7+
test("the registry entry says what an agent can do within the registry's limit", () => {
8+
const { description } = entry;
9+
assert.ok(description.length <= 100, `${description.length} characters`);
10+
assert.match(description, /^[^.]+\.$/);
11+
for (const capability of ["Set up Proofline", "read and change settings with admin approval", "read, request and fix reviews"]) {
12+
assert.ok(description.includes(capability), capability);
13+
}
14+
assert.doesNotMatch(description, /[a-z]_[a-z]|[a-z]:[a-z]|\d|`/);
15+
assert.doesNotMatch(description, /\b(?:agent|model)s? (?:can |may )?(?:approve|authori[sz]e)/i);
16+
});
17+
18+
test("the registry entry names the hosted endpoint", () => {
19+
assert.match(entry.version, /^\d+\.\d+\.\d+$/);
20+
assert.deepEqual(entry.remotes, [{ type: "streamable-http", url: "https://proofline.sh/mcp" }]);
21+
});

0 commit comments

Comments
 (0)