KindroidMCP: Instructions file for Claude Code

CLAUDE.md

KindroidMCP CLAUDE.md is an instructions file for Claude Code from ApocryphalWord/KindroidMCP. It costs 1,040 tokens per session, scanned A, original, MIT.

A project guide for KindroidMCP, a TypeScript server that lets Claude use the Kindroid AI platform through the Model Context Protocol (MCP), a standard way for AI assistants to call tools. It documents setup, project structure, and coding conventions.

In plain words
What is it for?
Use it when working on the server entry point, Kindroid API client, OAuth login, MCP tools, local or remote deployment, or Docker and Railway setup.
Why use it?
It gives an agent the project context needed to build and run the server consistently. It also records that there are no configured test or lint commands.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

This is ApocryphalWord/KindroidMCP's own configuration. It tells Claude Code how to work on KindroidMCP 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 KindroidMCP configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ApocryphalWord/KindroidMCP. 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/ApocryphalWord/KindroidMCP/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/ApocryphalWord/KindroidMCP

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 KindroidMCP CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/apocryphalword/kindroidmcp/claude-md/github.svg)](https://agentmods.dev/instructions/apocryphalword/kindroidmcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/apocryphalword/kindroidmcp/claude-md"><img src="https://agentmods.dev/badge/instructions/apocryphalword/kindroidmcp/claude-md/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 KindroidMCP CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/apocryphalword/kindroidmcp/claude-md"><img src="https://agentmods.dev/badge/instructions/apocryphalword/kindroidmcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,040 This file is loaded in full into every session.
When invoked 1,040 The same file — it is already loaded in full.
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.01040 $0.01040
Opus 5.5 $0.00416 $0.00416
Sonnet 5.5 $0.00208 $0.00208
Haiku 4.5 $0.00104 $0.00104

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

Security

Grade A, and why

KindroidMCP CLAUDE.md 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 2mo 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.md · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

Project Overview

Kindroid MCP Server — a TypeScript MCP (Model Context Protocol) server that enables Claude to interact with the Kindroid AI platform. Supports two deployment modes: local (stdio) and remote (HTTP with OAuth 2.1).

Build & Run

npm run build     # Compile TypeScript (tsc)
npm run start     # Run production server (node dist/index.js)
npm run dev       # Watch mode for development (tsc --watch)

No test or lint scripts are configured.

Project Structure

src/
  index.ts            # Server entry point, stdio/HTTP transport setup
  kindroid-client.ts  # Kindroid API client wrapper (api.kindroid.ai/v1)
  oauth.ts            # OAuth 2.1 + PKCE implementation for remote mode
  tools/              # MCP tool definitions (19 tools, one per file, Zod schemas)
    index.ts          # Tool registration entry point
    tool-utils.ts     # Shared error-handling wrapper for tool handlers
manifest.json         # MCP manifest for mcpb packaging

Output compiles to dist/. Docker + Railway deployment supported via Dockerfile and railway.json.

Key Conventions

  • TypeScript strict mode enabled (tsconfig.json). Target ES2022, module Node16.
  • Three runtime dependencies: @modelcontextprotocol/sdk, express, zod.
  • No test framework or linter currently configured.
  • Environment variables: KINDROID_API_KEY (required), OAUTH_CLIENT_ID + OAUTH_CLIENT_SECRET (required for remote), PORT (default 3000), TRANSPORT (set to "stdio" for local mode). See .env.example.
  • OAuth tokens are in-memory only — they reset on server restart.
  • Tools are registered in src/tools/index.ts using Zod for parameter validation.
  • API calls go through src/kindroid-client.ts with Bearer token auth. Most endpoints are POST; the client also supports GET via requestGetWithRetry (used by get_chat_messages).

MCP Tools

  1. send_message — Send a message to a Kin (supports media attachments)
  2. create_kin — Create a new Kindroid AI companion
  3. update_kin — Update a Kin's profile (backstory, memories, directives, context, avatar settings)
  4. request_selfie — Request a solo selfie image of a Kin
  5. request_group_selfie — Request a group selfie of multiple Kins and/or the user
  6. chat_break — Clear conversation history
  7. check_subscription — Check account subscription status
  8. create_journal_entry — Create a journal entry with key phrases for contextual Kin recall
  9. create_groupchat — Create a group chat with multiple Kins (name, context, directive, turn-taking, memory settings)
  10. update_groupchat — Update a group chat's settings (participants, name, context, directive, memory settings)
  11. send_groupchat_message — Send a user message to a group chat
  12. groupchat_get_turn — Get which Kin should respond next in a group chat
  13. groupchat_ai_response — Request a specific Kin to respond in a group chat
  14. suggest_user_message — Get a suggested message for the user to send to a Kin
  15. suggest_user_group_message — Get a suggested message for the user to send in a group chat
  16. update_user_profile — Update user profile fields (name, gender, backstory, avatar) or set the active persona
  17. get_chat_messages — Retrieve chat history for a Kin or group chat (oldest first, cursor pagination)
  18. rewind_messages — Remove the most recent messages from a Kin's solo chat or a group chat (an undo)
  19. groupchat_chat_break — Start a new conversation in a group chat, resetting short-term memory (greeting required)

Read the full file on GitHub · 74 lines

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. 2mo ago First seen · 74 lines · 1,040 tokens per session scan A 19c40b1cc412

Subscribe to this mod's changes

KindroidMCP CLAUDE.md is an instructions file published in the GitHub repository ApocryphalWord/KindroidMCP (12 stars, last pushed 5mo ago), licensed MIT. It adds 1,040 tokens to every session, about $0.0042 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

KindroidMCP CLAUDE.md compared with instructions from other repositories

KindroidMCP CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
KindroidMCP CLAUDE.mdApocryphalWord/KindroidMCPInstructions file125mo agoMITA1,040Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot