Content
# Internet Court MCP
The install endpoint for the **Internet Court** skill — the trust layer for
agent-to-agent commerce and delegated agent authority. Deployed as a remote MCP server
(Streamable HTTP) on Vercel at `https://mcp.internetcourt.org`.
Internet Court is **not a single `SKILL.md`** — it is a whole structure of skills (a master
router plus connector and vendored protocol skills). This server never hardcodes the skill;
it always fetches the **latest version** from the source repo
[`internet-court/internet-court-skill`](https://github.com/internet-court/internet-court-skill).
## What it does
Point any MCP-capable agent at the server and it can:
- **`how_to_install`** — explain how to install the Internet Court skill (the primary
endpoint). Host-aware output.
- **`get_internet_court_skill`** — fetch the latest skill content from the source repo.
Defaults to the master `SKILL.md`; pass a repo-relative `path` to fetch any sub-skill or
file (e.g. `integrations/x402-erc7710/SKILL.md`, `skills-lock.json`).
- Resource `internet-court://skill` — the latest master skill.
It also serves:
- `GET /` — human-readable landing page with copy-paste install steps (host-aware).
- `GET /mcp` — the MCP Streamable HTTP endpoint.
- `GET /skill.md` — proxies the latest master `SKILL.md` from the source repo.
## Connect
```bash
claude mcp add --transport http internet-court https://mcp.internetcourt.org/mcp
```
```json
{
"mcpServers": {
"internet-court": { "url": "https://mcp.internetcourt.org/mcp" }
}
}
```
## Skill source (always latest)
Configured in `lib/skill-source.ts`, overridable via env:
- `INTERNET_COURT_SKILL_REPO` (default `internet-court/internet-court-skill`)
- `INTERNET_COURT_SKILL_REF` (default `main` — set a tag/commit to pin a version)
Files are fetched from `raw.githubusercontent.com` and cached at the edge for 5 minutes.
## TODO — packaged installers
`how_to_install` currently advertises two working methods (connect MCP, or `git clone` the
full structure) plus a **coming-soon** section for one-command installers:
- `/plugin marketplace add` + `/plugin install`
- `npx` one-shot installer
Wire these up once the plugin/npm packaging in the skill repo is finalized.
## Develop
```bash
npm install
npm run dev # http://localhost:3000
npm run build
```
## Stack
- Next.js (App Router) on Vercel
- [`mcp-handler`](https://www.npmjs.com/package/mcp-handler) + `@modelcontextprotocol/sdk`
- Streamable HTTP transport (stateless; no Redis required)