CodexUse logo CodexUse Download

Setting up MCP servers in CodexUse

MCP (Model Context Protocol) servers let your AI coding assistant access external tools and context. CodexUse provides a GUI for managing these servers without hand-editing config.toml.

What MCP servers do

MCP servers extend what your AI coding CLI can see and do:

Good to know: MCP server controls are available on both Free and Pro.

Adding an MCP server

  1. Open CodexUse and click Settings in the sidebar.
  2. Open the MCPs tab.
  3. Click Add server.
  4. Fill in the server details:
    • Name: A label for this server (e.g., "Postgres Dev")
    • Command: The command to start the server
    • Arguments: Any command-line arguments
    • Environment: Environment variables the server needs
  5. Click Save. The server is now configured.

Example: SQLite database server

To give your AI access to a local SQLite database:

Name: sqlite-projects
Command: npx
Arguments: -y MCP_SERVER_PACKAGE --db-path ~/projects.db

Replace MCP_SERVER_PACKAGE with the MCP server package you want to run.

Once saved, the AI can query your database schema and help with SQL.

Example: File system server

To expose specific directories to the AI:

Name: docs-folder
Command: npx
Arguments: -y MCP_SERVER_PACKAGE ~/Documents/docs

Managing multiple servers

You can add multiple MCP servers. Each appears in the list with controls to:

Disabled servers stay in the config but aren't started when you launch the CLI.

How CodexUse handles the config

Under the hood, CodexUse writes to the same config.toml the Codex CLI uses. When you add or edit a server:

Troubleshooting MCP servers

Symptom Likely cause Action
Server not starting Command not found in PATH Use full path to the executable or ensure npx is available
AI can't see the server Server disabled in config Check the toggle in MCP Servers settings
Permission denied errors File or DB not readable Check file permissions on the target resource
Changes not taking effect CLI session still running Restart the CLI session to pick up new config

Common MCP server types

Package names vary by server. Use the package name from the MCP server you want to run.

Best practices

Related

What is MCP?

MCP (Model Context Protocol) is a standard for connecting AI coding assistants to external tools and data sources. MCP servers provide context like database schemas, API docs, or custom tools.

Does MCP require Pro?

No. MCP server controls are available on both Free and Pro.

Where are MCP settings stored?

CodexUse writes MCP configuration to the same config.toml the CLI uses. You can also edit config.toml directly if preferred.

Download CodexUse - free (2 profiles, 2 projects)