Local MCP server
Adding a local MCP server to ChatGPT
Checked on
- Where to add it
- In the ChatGPT app on your computer.
- Where it works
- In Codex: in the app and in the terminal.
A local MCP server is a program that runs on your own computer. So you add it to an AI on that computer.
Does the maker also provide an MCP address? Follow the steps in adding a plugin with an address instead.
The ChatGPT app on your computer shares these settings with Codex. The command is behind the Go to the maker button. What has to be on your computer first is under Requires on the extension’s page.
Open Settings from your profile at the bottom left and choose Plugins, under Integrations.
Plugins under Integrations in Settings of the ChatGPT app. Captured on 16 Nov 2026. Click Add at the top right and choose Add MCP server.
The form where you add a local MCP server in the ChatGPT app. Captured on 9 Oct 2026. Enter a name under Name and leave Type on STDIO.
Enter the first word of the maker’s command under Command to launch, and each further part as a line of its own under Arguments.
Click Save.
Then choose Restart. If the server asks for an account, also choose Authenticate.
Under Type you can also choose Streamable HTTP, for a server that has an address of its own. You then enter the address under URL. Under Bearer token env var you enter the name of an environment variable, not the key itself. That form has no sign-in screen: if the server asks for an account, follow the steps in adding a plugin with an address.
Working in the terminal? Read Codex.