Codex MCP Server Patterns for Tools, Resources, and Transport
Choose a tool, resource, or prompt based on a local client's needs. Check the actual TypeScript SDK version, input validation, and transport.
中文Install in Codex
Codex with an Everything OpenAI Codex or local TypeScript checkout and a known MCP SDK version.
- Open the pinned GitHub original and retain the complete `.agents/skills/mcp-server-patterns/` directory in the checkout.
- Open Codex in that checkout and invoke `$mcp-server-patterns` with the example task and desired output.
Example task
Give `$mcp-server-patterns` a fictional library catalog. Ask for a read-only resource, local connection checks, and an example response.What to check
The proposal records the resource identifier, shape, and connection checks for the project SDK.
Original SKILL.md on GitHub · Updated
Frequently asked question
Should read-only content be a tool?
A resource can suit identified data that a client reads. Consider a tool for a query operation or action.