sk-ai-mcp-server
# sk-ai-mcp-server
sk-ai-mcp-server: generated from the skeletons catalog
Generated from the `ai-mcp-server` template (A3) of the skeletons catalog, Python (official MCP Python SDK, `mcp` 2.x).
> Generated in the catalog's generation pass (2026-11-28) and **not yet verified** by the catalog harness.
## What it exposes
| Kind | Name | Does |
|---|---|---|
| tool | `search_notes(query, limit)` | notes containing every word |
| tool | `add_note(title, body, tags)` | adds a note, returns its id |
| resource template | `note://{note_id}` | one note as Markdown |
| prompt | `summarize(topic)` | asks the model to search, read and summarise with note ids |
## Run it
```bash
make setup
make run-stdio # what desktop clients start
make run-http # Streamable HTTP on http://127.0.0.1:12300/mcp (no auth, local only)
make inspector # the MCP Inspector (needs node)
```
Claude Code: `claude mcp add notes -- uv --directory $PWD run python -m sk_ai_mcp_server`.
Deployed (`ci`/`stg`/`prod`): Streamable HTTP behind TLS, **bearer tokens required** (`auth.py`: JWT signature
from the identity provider's JWKS, issuer, audience; scopes in `AUTH_REQUIRED_SCOPES`). The server is an OAuth
resource server; your identity provider issues the tokens. config-check refuses a deployed stage without auth.
## Tests
`make test`: contract tests with a real MCP client connected in process (`mcp.Client(server)`: list, call, read,
get prompt, tool errors), token verification with a locally generated RSA key, profiles; import-linter contract.
## Claude calling it
`examples/claude_connector.py` uses the Messages API MCP connector (`mcp_servers` + an `mcp_toolset` tool, beta
`mcp-client-2025-11-20`). It needs the server on a public HTTPS URL and spends tokens: not part of `make ci`.
TDQS
Scored across 2 tools
The two tools perform clearly distinct operations: one retrieves notes by keyword, the other creates a note. There is no plausible confusion about which tool to select for a given intent.
Both names follow a strict verb_noun snake_case pattern (search_notes, add_note), and the noun is plural/singular consistent with intent. No deviation to flag.
Only two tools exist for a notes server, which is thin even for a minimal surface—there is no way to read a full note, list notes, or manage existing ones. The scope feels under-built rather than deliberately minimal, since search results are truncated with no follow-up tool.
The surface covers create and search but leaves a dead end: search returns only the start of a body and no get_note exists to read the rest, nor any update/delete operations. Agents cannot complete a basic note lifecycle.