Skip to content
LinkedInX

MCP and Plugins Integration - Connecting Local and Remote Tools Safely

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.

MCP compared with Plugins

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
This table scrolls horizontally. Keyboard users can focus the table and use the left and right arrow keys.

MCP Connection Types

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.

Plugin Composition

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.

Safe Operation

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.

Summary

MCP servers and Plugins expand Codex capabilities, but each connection adds data, permission, credential, and audit considerations. Start narrow, review the provider boundary, and disable integrations that are not needed.

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

This article is a general information summary and is not legal advice. Confirm practical decisions with a qualified specialist.

References

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

For the latest releases and updates, check the official website and official documentation.

Quiz