1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Codex app-serverで ChatGPTのConnected appsを無効化する方法

1
Posted at

背景

ChatGPTでSlack, Notion, GitHubなど色々連携ができて便利ですが、Codex app-serverを使う時には連携したアプリをCodexから使ってほしくないケースもあります。

解決策

すべての connected appsを無効化

codex app-server --listen ws://127.0.0.1:4500 -c features.apps=false

確認方法

codex app server実行

codex app-server --listen ws://127.0.0.1:4500 -c features.apps=false
check.py
import asyncio

from codex_client import CodexClient


async def main():

    codex = CodexClient()

    await codex.connect()

    print("Available tools:")

    await codex.print_tools()

    await codex.close()


asyncio.run(main())

-c features.apps=falseの結果:

python check.py
Available tools:
<tools by mcp etc>

-c features.apps=trueまたは何も指定しない場合の結果 (NotionとSlackを連携してる場合):

python codex_main.py
Available tools:
codex_apps/slack.slack_list_channel_members
codex_apps/slack.slack_list_workspaces
codex_apps/slack.slack_search_public
codex_apps/slack.slack_update_user_profile
codex_apps/slack.slack_create_canvas
codex_apps/sites.update_environment
codex_apps/slack.slack_invite_to_conversation
codex_apps/notion.notion-update-data-source
codex_apps/slack.slack_send_message_draft
codex_apps/slack.slack_update_canvas
...

参考情報

Key Type / Values Details
features.apps boolean Enable app (connector) integrations (stable; on by default).

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?