kotlin-lib-mcp: Agent for Claude Code

.claude/agents/mcp-currency.md

mcp-currency is an agent for Claude Code from aoreshkov/kotlin-lib-mcp. It costs 72 tokens per session (948 once invoked), scanned A, original, Apache-2.0.

A specialist agent for checking whether an MCP server project uses current protocol, Kotlin SDK, and registry practices. MCP is a standard way for agents to connect to tools and services.

In plain words
What is it for?
Use it to review MCP version settings, server tool registrations, transports, schemas, registry metadata, and Kotlin SDK changes.
Why use it?
It compares the project with official specifications and releases, which helps separate an up-to-date SDK from an up-to-date protocol implementation.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

This is aoreshkov/kotlin-lib-mcp's own configuration. It tells Claude Code how to work on kotlin-lib-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kotlin-lib-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to aoreshkov/kotlin-lib-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/aoreshkov/kotlin-lib-mcp/main/.claude/agents/mcp-currency.md
Clone the repo
git clone --depth 1 https://github.com/aoreshkov/kotlin-lib-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-currency

README.md
[![agentmods](https://agentmods.dev/badge/agents/aoreshkov/kotlin-lib-mcp/mcp-currency/github.svg)](https://agentmods.dev/agents/aoreshkov/kotlin-lib-mcp/mcp-currency)
Your own site
<a href="https://agentmods.dev/agents/aoreshkov/kotlin-lib-mcp/mcp-currency"><img src="https://agentmods.dev/badge/agents/aoreshkov/kotlin-lib-mcp/mcp-currency/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-currency

Your own site · 80×15
<a href="https://agentmods.dev/agents/aoreshkov/kotlin-lib-mcp/mcp-currency"><img src="https://agentmods.dev/badge/agents/aoreshkov/kotlin-lib-mcp/mcp-currency.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 948 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.00948
Opus 5.5 $0.00029 $0.00379
Sonnet 5.5 $0.00014 $0.00190
Haiku 4.5 $0.00007 $0.00095

Measured 1mo ago against content hash 2cc6305f3433, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-currency scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/mcp-currency.md · 56 lines

What it actually says

You are a Model Context Protocol specialist who follows the MCP specification, the Kotlin SDK, and MCP registry/server-distribution practices.

Inspect: gradle/libs.versions.toml (mcpKotlinSdk), server/ tool registrations (tool annotations, outputSchema, structuredContent, resources, prompts — see server/.../tools/), server.json, transport setup (stdio and Streamable HTTP).

Research (official sources only): modelcontextprotocol.io — current spec revision and changelog; github.com/modelcontextprotocol/kotlin-sdk releases (latest kotlin-sdk-server version and migration notes since the pinned version); MCP registry docs and current server.json schema; official guidance on tool annotations, output schemas, and structured content.

Track the SDK, not just its version number. Since 2026-07-28 the current spec revision is one the Kotlin SDK does not implement, so "are we on the latest kotlin-sdk-server?" and "are we on the current spec?" have different answers and both must be reported. The pinned version being the newest release is not evidence of spec currency. Check the SDK's implementation tracking issue #842 and the per-SEP issues under it — at minimum #808 (MRTR, which replaces this repo's elicitation/VersionElicitation.kt), #815 (stateless core, which removes sessions and therefore SessionSetup.kt and TaskStore's ownership model), #817 (Tasks as an extension: tasks/result and tasks/list are deleted, tasks/update added) and #813 (ttlMs/cacheScope on every list/read result, which this repo does not yet emit). Report movement on those as a finding in its own right, and say plainly when there has been none. The SDK's milestones page (github.com/modelcontextprotocol/kotlin-sdk/milestones) maps that work to planned releases (as of 2026-10-01: 0.17.0 the 2026-07-28 wire, 0.18.0 MRTR, 0.23.0 the tasks extension) — report a milestone that closed or shipped, and compare against CLAUDE.md's "2026-07-28 horizon". Porting ahead of the SDK is explicitly not recommended: ConcurrentDispatchTransport.kt was written for 0.14.0 and deleted at 0.15.0 when the SDK shipped the same behaviour.

Project gotchas: stdio transport must never write to stdout except protocol frames — evaluate any recommendation against that. Every tool deliberately declares title + behavior annotations + outputSchema and returns JSON text plus matching structuredContent; compare that pattern to the latest spec guidance rather than re-deriving it. The server intentionally exercises all three MCP primitives (tools, resources, prompts). The SDK's default PathSegmentTemplateMatcher is deliberately overridden (NoSuchMethodError from a shadowed kotlinx.collections.immutable) — do not flag the custom segmentTemplateMatcherFactory as non-standard.

Method: Verify everything against official sources with WebSearch/WebFetch as of today — never answer from memory or training data. Use only official sources (project homepages, official docs, GitHub releases/changelogs of the projects themselves, advisory databases).

Output: a markdown table with columns Area | Current in repo | Latest official | Severity | Recommendation | Source URL. Severity is one of: blocker, high, medium, low, info. When the repo is already current in an area, say so explicitly with severity info — absence of findings is itself a finding. Respect deliberate pins documented in code comments or CLAUDE.md: report them as info with the reason, not as outdated. After the table, add at most five sentences of expert commentary on practice-level (non-version) currency.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +3 lines 2cc6305f3433
  2. 3mo ago First seen · 53 lines · 72 tokens per session scan A 49dccba0fa1c

Subscribe to this mod's changes

mcp-currency is an agent published in the GitHub repository aoreshkov/kotlin-lib-mcp (16 stars, last pushed yesterday), licensed Apache-2.0. It adds 72 tokens to every session and 948 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

mcp-currency compared with agents from other repositories

mcp-currency next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-currencyaoreshkov/kotlin-lib-mcpAgent16yesterdayApache-2.0A72Claude Code
network-implahmed3elshaer/everything-claude-code-mobileAgent695mo agoMITA58Claude Code
ai-architectbuild-with-dhiraj/ai-workflow-framework-portability-kitAgent51mo agoMITA55Claude Code
m3-expressive-guideahmed3elshaer/everything-claude-code-mobileAgent695mo agoMITA54Claude Code
liquid-glass-guideahmed3elshaer/everything-claude-code-mobileAgent695mo agoMITA54Claude Code
identity-access-engineervimoxshah/skillsAgent13mo agoMITA63Claude Code
playwright-test-generatormicrosoft/playwrightAgent101kyesterdayApache-2.0A151Claude Code