codex-workspace-codegraph-mcp
by lllli223
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CWMCP_HOST | No | MCP HTTP 监听地址 | 127.0.0.1 |
| CWMCP_SANDBOX | No | 沙箱模式 | workspace-write |
| CWMCP_MCP_PORT | No | MCP HTTP 端口 | 8765 |
| CWMCP_WEB_HOST | No | WebUI 监听地址 | 127.0.0.1 |
| CWMCP_WEB_PORT | No | WebUI 端口 | 8766 |
| CWMCP_TRANSPORT | No | stdio 或 http | stdio |
| CWMCP_WORKSPACE | No | 允许访问的工作区根目录 | 当前目录 |
| CWMCP_CLOUDFLARED | No | cloudflared 可执行文件 | 自动查找 |
| CWMCP_ACCESS_TOKEN | No | HTTP MCP 和 WebUI 访问令牌 | 随机值 |
| CODEGRAPH_MCP_TOOLS | No | CodeGraph MCP 工具列表 | 完整列表 |
| CWMCP_MAX_READ_BYTES | No | 单文件读取上限 | 2097152 |
| CWMCP_TUNNEL_VERBOSE | No | 设为 1 输出子进程详细日志 | 0 |
| CWMCP_ALLOWED_ORIGINS | No | 额外允许的浏览器 Origin,逗号分隔;默认仅接受同源和本机 Origin | 空 |
| CWMCP_APPROVAL_POLICY | No | 审批策略 | on-request |
| CWMCP_MAX_OUTPUT_BYTES | No | stdout/stderr 输出上限 | 1048576 |
| CWMCP_CODEGRAPH_COMMAND | No | CodeGraph 可执行文件 | codegraph |
| CWMCP_DISABLE_CODEGRAPH | No | 设为 1 禁用 CodeGraph | 0 |
| CWMCP_COMMAND_TIMEOUT_MS | No | 普通命令超时 | 120000 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lllli223/codex-workspace-codegraph-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server