Skip to content

Mcp-server has no network access even with network access flags enabled #8634

Closed

Description

@chrisspen

What version of Codex is running?

codex-cli 0.77.0

What subscription do you have?

plus

Which model were you using?

gpt-5.2 auto

What platform is your computer?

Linux 6.8.0-90-generic x86_64 x86_64

What issue are you seeing?

Running codex mcp-server reports “Network access is restricted” even when started with:

-c 'sandbox_permissions=["disk-full-read-access","network-full-access"]'
-c 'network_access="enabled"'

What steps can reproduce the bug?

  1. Run: codex mcp-server -c 'sandbox_permissions=["disk-full-read-access","network-full-access"]' -c 'network_access="enabled"'
  2. Start a session and attempt a network action (e.g., git fetch/push).
  3. Codex replies that network access is restricted.

What is the expected behavior?

Network access should be enabled.

Additional information

I also tried --enable network / -c features.network=true fails with:
Error: Unknown feature flag: network

Activity

  1. added
    bug
    on Dec 31, 2025
  2. added
    CLI
    mcp-server
    on Dec 31, 2025
  3. etraut-openai commented on Mar 29, 2026

    @etraut-openai
    Contributor

    This bug report hasn't received any upvotes or additional posts in three months. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIbugmcp-server

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions