Skip to content
LinkedInX

MCP and Plugins Integration - Connecting Local and Remote Tools Safely

About 5 minutes

Target audience: Developers who want to connect Codex to GitHub, documentation, browsers, Figma, or other external tools
Prerequisites: Understanding of config.toml, authentication, and least privilege

Model Context Protocol (MCP) connects Codex to external tools and context. A Plugin packages Skills, Apps, and MCP server configuration as an installable workflow.

CapabilityMCPPlugin
Main purposeProvide tools and contextDistribute a complete workflow
ContentsServers, tools, resourcesSkills, Apps, MCP, presentation metadata
ExampleSearch official docs or operate FigmaA complete docs or security workflow

Codex supports local STDIO servers and remote Streamable HTTP servers. HTTP connections can use bearer tokens or OAuth.

Configuration lives in ~/.codex/config.toml or a trusted project .codex/config.toml. The codex mcp command can also manage servers.

Before connecting, review the provider, transmitted data, read and write permissions, credential storage, tool side effects, and network need.

Plugins appear in the Codex app Plugin Directory and the CLI /plugins browser. Existing approval settings still apply after installation, while data sent to an external service is governed by that service’s terms and privacy policy.

Start with read-only access, enable only required tools, keep credentials out of Git, require approval for external writes, and disable unused Plugins.

Next, Memories design separates local recall from permanent policy.

See the references for the external specifications and background sources used on this page.[1][2][3]

  1. OpenAI, Codex documentation
  2. OpenAI, OpenAI API documentation
  3. Model Context Protocol, What is the Model Context Protocol?
Quiz