AI Integration, skill collection
MCP integration
Use this pack when an agent needs a well-defined tool or resource interface. It covers tool design, server authoring, client integration, transports, authorization, resource patterns, and sandbox boundaries.
mcp-masteryWhat to give your agent
A skill supplies a procedure. Give your agent the project evidence and constraints needed to apply it.
- One user task the tool should enable and examples outside its scope.
- The underlying API contract, authentication requirements, and error cases.
- A target client and an installed SDK version to check against current documentation.
Design a read-only issue search tool
An agent needs to find existing issues before suggesting a duplicate. A generic HTTP tool gives it many choices and little guidance about the intended action.
Define a narrow contract
Specify search_issues with a query, a bounded result limit, and an optional status filter. Derive repository access from the authenticated context. Return identifiers, titles, status, and links.
Make errors actionable
Distinguish an empty result from a denied request or provider timeout. Return enough structured information for the caller to stop, ask for access, or retry within its budget.
Test selection and execution
Try requests to find an issue, create one, and search a repository the user cannot access. Check both whether the tool is selected appropriately and whether the server enforces access.
Tool: search_issues(query, limit, status?)
Success: items[], next_cursor?
Empty: items: []
Failures: access_denied, invalid_input, upstream_timeoutHow to check the result
- An empty search result is not treated as a provider failure.
- The server rejects unauthorized repository access.
- Requests to create or modify an issue use a separate permitted action.
A failure to watch for
Tool descriptions help model selection; they do not enforce authorization. Validate permissions and input constraints on the server.
This is an illustrative exercise. Run the checks against your own project to establish the result.
Skills in this pack
Open a skill to see its activation guidance, source sections, and individual install command. These descriptions come from the linked source files.
7 of 7 skills
MCP Auth — OAuth 2.1mcp-auth-oauth
Implement OAuth 2.1 + PKCE authentication for remote MCP servers, including dynamic client registration, token refresh, and scope design. Covers the 2025 MCP auth spec that Claude Desktop, Claude Code, and ChatGPT use. Use this skill when building a remote MCP server that needs per-user auth, debugging OAuth flows for MCP, or migrating a bearer-token MCP server to OAuth. Activate when: MCP OAuth, remote MCP auth, MCP authorization, PKCE, dynamic client registration, MCP 401.
Use it when
- Building a remote MCP server that serves multiple users
- Migrating a static-bearer-token server to per-user auth
- Debugging "401 Unauthorized" or "failed to authenticate" in an MCP client
- Adding scope-based permission to an MCP server
Inside the source file
- The Flow (RFC 9728 + RFC 8414 + PKCE)
- Server-Side Requirements
- Scope Design
- Token Lifetimes
- Client-Side (Reference Only)
- Debugging
- Best Practices
Install this skill individually
npx skills add latestaiagents/agent-skills --skill mcp-auth-oauthMCP Client Integrationmcp-client-integration
Connect MCP servers to AI clients — Claude Desktop, Claude Code, Cursor, the Claude Agent SDK, and custom apps — including config file locations, auth, and debugging connection failures. Use this skill when the user wants to wire an MCP server into a client, troubleshoot "server not connecting" errors, or build a custom MCP client with the SDK. Activate when: MCP client, mcp.json, claude_desktop_config.json, connect MCP, MCP not working, list MCP tools, programmatic MCP client.
Use it when
- Installing an MCP server into Claude Desktop, Claude Code, or Cursor
- Building a custom MCP client (web app, CLI, agent framework)
- Debugging "server failed to start" or "no tools showing up"
- Sharing MCP config across a team
Inside the source file
- Config File Locations
- Declarative Install — stdio Server
- Declarative Install — Remote (Streamable HTTP) Server
- Project-Scoped Config
- Programmatic Client — TypeScript
- Programmatic Client — HTTP Transport
- Using MCP from the Claude Messages API (MCP connector)
- Debugging Connection Failures
Install this skill individually
npx skills add latestaiagents/agent-skills --skill mcp-client-integrationMCP Resource Patternsmcp-resource-patterns
Use MCP Resources correctly — the read-only, URI-addressable data primitive — and know when to pick resources, tools, or prompts. Covers templated URIs, subscriptions, and common mistakes. Use this skill when designing MCP servers that expose data, deciding between tool vs resource, or implementing resource subscriptions for live data. Activate when: MCP resource, resource template, resource vs tool, subscribe resource, MCP URI schema.
Use it when
- Deciding whether a read operation should be a tool or a resource
- Exposing hierarchical data (files, tickets, logs) to an agent
- Implementing live-updating data via subscriptions
- Designing URI schemes for a new MCP server
Inside the source file
- Tool vs Resource vs Prompt
- Static Resources
- Templated Resources
- Listing Resources
- Subscriptions (Live Data)
- URI Scheme Design
- Binary Resources
- Pagination
Install this skill individually
npx skills add latestaiagents/agent-skills --skill mcp-resource-patternsMCP Security & Sandboxingmcp-security-sandboxing
Secure MCP servers against prompt injection, tool abuse, excessive permission, and data exfiltration. Covers per-tool scopes, rate limiting, audit logging, and sandbox patterns for shell-adjacent tools. Use this skill when deploying an MCP server to production, handling untrusted agents, or reviewing an MCP server for security issues. Activate when: MCP security, MCP prompt injection, tool sandbox, MCP audit log, MCP rate limit, tool abuse, MCP threat model.
Use it when
- Hardening an MCP server before production
- Reviewing an MCP server for security issues
- Handling agents that process untrusted user content (emails, tickets, web pages)
- Building tools that touch the filesystem, shell, or databases
Inside the source file
- Threat Model
- Principle: Destructive Tools Require Explicit Confirmation
- Scope-Based Permissions
- Input Validation & Sanitization
- Sandbox Shell-Adjacent Tools
- Rate Limiting
- Timeouts
- Audit Logging
Install this skill individually
npx skills add latestaiagents/agent-skills --skill mcp-security-sandboxingMCP Server Authoringmcp-server-authoring
Build production-quality MCP (Model Context Protocol) servers that expose tools, resources, and prompts to AI clients like Claude Desktop, Claude Code, Cursor, and the Claude Agent SDK. Use this skill when the user wants to build an MCP server, expose internal tooling to an AI agent, wrap an API for agents, or publish a reusable MCP server to a registry. Activate when: MCP server, Model Context Protocol, expose tools to Claude, @modelcontextprotocol/sdk, mcp.json, stdio server, HTTP MCP server.
Use it when
- You want to expose an internal API or tool to Claude Desktop / Claude Code / Cursor
- You're building a shareable MCP server (npm, PyPI, or Smithery registry)
- You need to wrap read-only data sources as MCP resources
- You want agents to invoke your service without custom glue code per client
Inside the source file
- Core Model
- Quickstart — TypeScript (stdio)
- Quickstart — Python (stdio)
- Tool Contract Rules
- Progressive Disclosure Pattern
- Testing
- Publishing
- Best Practices
Install this skill individually
npx skills add latestaiagents/agent-skills --skill mcp-server-authoringMCP Tool Designmcp-tool-design
Design MCP tool schemas, names, and descriptions that AI agents actually pick correctly and use without hand-holding. Covers the anti-patterns that make agents loop, pick wrong tools, or hallucinate arguments. Use this skill when designing or reviewing MCP tools, debugging "the agent isn't using my tool", or pruning a bloated tool surface. Activate when: MCP tool design, tool description, agent picks wrong tool, too many tools, tool schema, tool naming.
Use it when
- Adding a new tool to an MCP server
- Debugging "the model never picks this tool" or "the model picks the wrong tool"
- Reviewing a PR that adds tools
- Cleaning up a server with 30+ tools
Inside the source file
- The Three Levers
- Naming Rules
- Description Rules
- Parameter Schema Rules
- Return Shape Rules
- Surface Size
- Anti-Patterns
- Validation Checklist
Install this skill individually
npx skills add latestaiagents/agent-skills --skill mcp-tool-designMCP Transports — stdio vs Streamable HTTPmcp-transport-stdio-http
Choose between MCP transports — stdio for local processes, Streamable HTTP for remote servers, SSE for legacy — and implement each correctly with reconnection, backpressure, and session handling. Use this skill when deciding transport for a new MCP server, migrating SSE to Streamable HTTP, or debugging transport-level issues (connection drops, buffering, session loss). Activate when: MCP transport, stdio vs HTTP, Streamable HTTP, MCP SSE, MCP reconnection, MCP session.
Use it when
- Starting a new MCP server and choosing a transport
- Migrating from deprecated SSE transport to Streamable HTTP
- Debugging "connection dropped" or "session expired" errors
- Scaling a remote MCP server horizontally
Inside the source file
- Transport Matrix
- stdio Transport
- Streamable HTTP Transport (current spec)
- Session Lifecycle
- Resumability
- Horizontal Scaling
- Backpressure
- Migrating SSE → Streamable HTTP
Install this skill individually
npx skills add latestaiagents/agent-skills --skill mcp-transport-stdio-httpInstall the skills
With Node.js and npm available, run this in your project’s terminal. The CLI prompts for skills, agent, and installation scope.
npx skills add https://github.com/latestaiagents/agent-skills/tree/main/skills/mcp-masteryChoose scope, then verify discovery
Choose project scope for instructions tied to this repository, or global scope when you want them available across projects. Check the selected agent’s installed skill list, then try a representative task from the example above.
For one skill, open its contents entry and use the individual command. Installation support and skill behavior vary by agent.
Skills CLI documentation and supported agentsInstall commands follow the repository’s current branch. The inventory on this page is pinned to the source revision below, so a later install may differ.
Source and review status
This inventory is taken from commit a5e492b, committed November 4, 2026. Skill instructions and bundled integrations have not completed a technical review. The worked example is editorial guidance, separate from the source file contents.