Skip to content

Latest commit

 

History

History
70 lines (52 loc) · 2.53 KB

agent-skill.md

File metadata and controls

70 lines (52 loc) · 2.53 KB
title Agent Skill
sidebar_title Build with an agent
weight 12
sidebar_order 12
toc true
description Install the tachyon-mcp agent skill so Claude Code, Codex, Cursor, and other coding agents write correct Tachyon servers.

The tachyon-mcp agent skill teaches coding agents the Tachyon API. With it installed, an agent can scaffold a server, add tools, resources, and prompts, and configure the runtime without guessing method names.

Install

Run the skills CLI from your project root:

npx skills add tachyonmcp/tachyon --skill tachyon-mcp

The CLI asks which agents to install the skill for. Common options:

Option Effect
-g Install for your user instead of the current project
-a claude-code Install for one agent; use '*' for all detected agents
-y Skip confirmation prompts, for scripts and CI

Update it after upgrading Tachyon. The CLI pulls the latest skill from the tachyonmcp/tachyon GitHub repository:

npx skills update tachyon-mcp

Use

Agents load the skill when a task mentions Tachyon or MCP servers. Name the skill to make the choice explicit:

Use the **tachyon-mcp** skill. Add a get_forecast tool to MyMcpServer that takes a city
and returns a structured forecast. Reject an empty city with a tool error.

Good first tasks:

  • Create a server from scratch, as in the Quickstart.
  • Add a tool, resource, or prompt to an existing server.
  • Port a handler to the Kotlin DSL.
  • Configure CORS, sessions, or timeouts with configuration.

Review generated code and run it as in Quickstart step 3 or with the testkit.

What it covers

  • Dependencies through tachyon-bom, with tachyon-core or tachyon-kotlin.
  • ServerBuilder methods, server lifecycle, and registration before or after start().
  • Tool, resource, and prompt handlers, plus virtual-thread rules for blocking code.
  • Capabilities, network, session, runtime, and monitoring configuration.
  • JSON Schema, extensions, tests, and the Kotlin DSL.

The skill's Java and Kotlin examples compile in the Tachyon build, so they track the released API.

Note

This skill helps agents write server code. It is unrelated to SkillsExtension, which serves skills from your MCP server to MCP clients.