Tools, MCP, skills

The native loop owns tools for all providers.

Built-in tools

Native loop only, unless noted. Names match fx where muscle memory transfers.

AreaTools
Fileslist_files, glob_files, grep_files, read_file, write_file, edit_file, delete_file, rename_file, copy_file, create_folder, file_info
Searchsemantic_search (lexical), open_file
Shellterminal (run_command is an alias)
Webweb_fetch; web_search only when web_search_command or web_search_url is set in settings
Skillsskill, install_skill
Subagentssubagent
MCPsearch, select, then namespaced tools
Runtimeask_user_question, memory, read_tool_result

Large results are a bounded preview plus a session handle. memory writes ~/.tny/memories.json only when asked.

MCP

Trusted profile only: ~/.tny/mcp.json. Repo-local MCP files are never loaded — cloning a repo must not start a server. Treat server output as untrusted data.

{
  "servers": {
    "local": { "command": ["node", "server.js"] },
    "remote": {
      "type": "http",
      "url": "https://mcp.example/mcp",
      "bearer_token_env": "EXAMPLE_MCP_TOKEN"
    }
  }
}

Existing stdio JSONL entries keep their shape. Remote entries use Streamable HTTP: one POST per JSON-RPC message, answered by one JSON document over fixed-length or arbitrarily split chunked framing. Legacy Mcp-Session-Id and stateless MCP 2026-07-28 are supported. Authentication comes from environment-backed headers and is never logged.

SSE is intentionally unsupported: tny does not parse text/event-stream, open a GET event stream, or fall back to legacy HTTP+SSE, and returns an actionable error for an SSE-only endpoint. Wasm is remote-only: HTTP works lazily through fetch subject to CORS; stdio fails cleanly.

Skills

A directory plus SKILL.md (YAML frontmatter name, description). Metadata is discovered at startup; the body loads only on invoke.

Search order, workspace upward, stop before $HOME: skills/, .agents/skills/, .claude/skills/, .codex/skills/, .cursor/skills/, .opencode/skills/. Then ~/.tny/skills/ and the same hidden names under $HOME.

Subagents

Child native sessions. The parent does not dump the child transcript into its own context. Children cannot raise permission mode above the creator. Host backends do not get tny-spawned subagents.

Project instructions

Load AGENTS.md (and CLAUDE.md if AGENTS.md is absent) from ~/.tny/, launch ancestors, and the primary workspace. Extra dirs do not contribute instructions. context: false disables this. Over --ssh, ~/.tny/ still loads as local user policy and project instructions come from the remote cwd — not the launch directory.