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 Pro provides a GUI for managing these servers without editing JSON.

What MCP servers do

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

Pro feature: MCP server controls require CodexUse Pro. The free tier does not include MCP configuration.

Adding an MCP server

  1. Open CodexUse and click the Settings gear in the top bar.
  2. Navigate to the MCP Servers 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 @anthropic/mcp-server-sqlite --db-path ~/projects.db

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 @anthropic/mcp-server-filesystem ~/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 MCP configuration files the 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

Server type Use case Package
SQLite Query local databases @anthropic/mcp-server-sqlite
Postgres Query remote/local Postgres @anthropic/mcp-server-postgres
Filesystem Read files in directories @anthropic/mcp-server-filesystem
Git Access git history and diffs @anthropic/mcp-server-git
Fetch Make HTTP requests @anthropic/mcp-server-fetch

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?

Yes. MCP server controls are a CodexUse Pro feature. The free tier does not include MCP configuration.

Where are MCP settings stored?

CodexUse writes MCP configuration to the same files the CLI uses. Changes sync automatically; you can also edit the JSON directly if preferred.

Download CodexUse - free for 2 profiles