[GH-ISSUE #244] issue: $ref is creating bugs in integration with "mcpo" #109

Open
opened 2026-10-18 21:11:51 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @CatalinBinzari on GitHub (Sep 3, 2025).
Original GitHub issue: https://github.com/open-webui/mcpo/issues/244

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of mcpo.

mcpo Version

latest

Open WebUI Version (if applicable)

No response

Operating System

wsl

Browser (if applicable)

No response

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both MCPO and Open WebUI.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

`$ uvx --python 3.12 mcpo --config ./mcpo.config.json --hot-reload --api-key "$MCPO_API_KEY"
Starting MCP OpenAPI Proxy with config file: ./mcpo.config.json
2025-09-03 17:40:54,726 - INFO - Starting MCPO Server...
2025-09-03 17:40:54,726 - INFO - Name: MCP OpenAPI Proxy
2025-09-03 17:40:54,726 - INFO - Version: 1.0
2025-09-03 17:40:54,726 - INFO - Description: Automatically generated API from MCP Tool Schemas
2025-09-03 17:40:54,726 - INFO - Hostname: WX-OR6416915
2025-09-03 17:40:54,726 - INFO - Port: 8000
2025-09-03 17:40:54,726 - INFO - API Key: Provided
2025-09-03 17:40:54,726 - INFO - CORS Allowed Origins: ['*']
2025-09-03 17:40:54,727 - INFO - Path Prefix: /
2025-09-03 17:40:54,727 - INFO - Loading MCP server configurations from: ./mcpo.config.json
2025-09-03 17:40:54,729 - INFO - Configuring MCP Servers:
2025-09-03 17:40:54,729 - INFO - Enabling hot reload for config file: ./mcpo.config.json
2025-09-03 17:40:54,734 - INFO - Started watching config file: /mnt/c/ecr/mcp/openwebui/mcpo.config.json
2025-09-03 17:40:54,734 - INFO - Uvicorn server starting...
INFO: Started server process [10504]
INFO: Waiting for application startup.
2025-09-03 17:40:54,744 - INFO - Initiating connection for server: 'gitlab'...
INFO [14:40:55.425] (1): Initializing server with transport mode:
WARN [14:40:55.426] (1): Starting GitLab MCP Server with stdio transport
2025-09-03 17:40:55,710 - ERROR - Failed to connect to MCP server 'better-gitlab-mcp-server': ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)

Exception Group Traceback (most recent call last):
| File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcpo/main.py", line 422, in lifespan
| async with client_context as (reader, writer, *_):
| ^^^^^^^^^^^^^^
| File "/usr/lib/python3.12/contextlib.py", line 231, in aexit
| await self.gen.athrow(value)
| File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcp/client/stdio/init.py", line 181, in stdio_client
| anyio.create_task_group() as tg,
| ^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 772, in aexit
| raise BaseExceptionGroup(
| ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
+-+---------------- 1 ----------------
| Exception Group Traceback (most recent call last):
| File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcp/client/stdio/init.py", line 187, in stdio_client
| yield read_stream, write_stream
| File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcpo/main.py", line 423, in lifespan
| async with ClientSession(reader, writer) as session:
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcp/shared/session.py", line 218, in aexit
| return await self._task_group.aexit(exc_type, exc_val, exc_tb)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 772, in aexit
| raise BaseExceptionGroup(
| ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
| File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcpo/main.py", line 425, in lifespan
| await create_dynamic_endpoints(app, api_dependency=api_dependency)
| File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcpo/main.py", line 281, in create_dynamic_endpoints
| form_model_fields = get_model_fields(
| ^^^^^^^^^^^^^^^^^
| File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcpo/utils/main.py", line 242, in get_model_fields
| python_type_hint, pydantic_field_info = _process_schema_property(
| ^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcpo/utils/main.py", line 131, in _process_schema_property
| type_hint, _ = _process_schema_property(
| ^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcpo/utils/main.py", line 131, in _process_schema_property
| type_hint, _ = _process_schema_property(
| ^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcpo/utils/main.py", line 117, in _process_schema_property
| assert ref in schema_defs, "Custom field not found"
| ^^^^^^^^^^^^^^^^^^
| AssertionError: Custom field not found
+------------------------------------
2025-09-03 17:40:55,713 - ERROR - Failed to establish connection for server: 'gitlab' - Multiple errors occurred:
2025-09-03 17:40:55,713 - ERROR - Error 1: ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
2025-09-03 17:40:55,713 - INFO -
--- Server Startup Summary ---
2025-09-03 17:40:55,713 - WARNING - Failed to connect to:
2025-09-03 17:40:55,713 - WARNING - - gitlab
2025-09-03 17:40:55,713 - INFO - --------------------------
2025-09-03 17:40:55,713 - ERROR - No MCP servers could be reached.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8000/ (Press CTRL+C to quit)

Actual Behavior

this helped to fix the issue, but I am limited to do not use next tools, however they are required
create_merge_request
list_commits
list_group_iterations
list_group_projects
list_issues
list_projects
merge_merge_request
update_issue
update_merge_request

cb@WX-OR6416915:/mnt/c/ecr/mcp/openwebui$ npx @modelcontextprotocol/inspector --cli \

npx -y @zereight/mcp-gitlab --method tools/list
| jq -r '.tools[] | select(.inputSchema|tostring|test("$ref")) | .name'
| sort -u
create_merge_request
list_commits
list_group_iterations
list_group_projects
list_issues
list_projects
merge_merge_request
update_issue
update_merge_request
cb@WX-OR6416915:/mnt/c/ecr/mcp/openwebui$ export GITLAB_DENIED_TOOLS_REGEX="$(
npx @modelcontextprotocol/inspector --cli
npx -y @zereight/mcp-gitlab --method tools/list
| jq -r '[.tools[] | select(.inputSchema|tostring|test("$ref")) | .name] | unique | join("|")'
)"
cb@WX-OR6416915:/mnt/c/ecr/mcp/openwebui$ uvx --python 3.12 mcpo@latest --config ./mcpo.config.json --hot-reload --api-key "$MCPO_API_KEY"
Installed 41 packages in 53ms
Starting MCP OpenAPI Proxy with config file: ./mcpo.config.json
2025-09-03 18:22:17,133 - INFO - Starting MCPO Server...
2025-09-03 18:22:17,133 - INFO - Name: MCP OpenAPI Proxy
2025-09-03 18:22:17,133 - INFO - Version: 1.0
2025-09-03 18:22:17,133 - INFO - Description: Automatically generated API from MCP Tool Schemas
2025-09-03 18:22:17,133 - INFO - Hostname: WX-OR6416915
2025-09-03 18:22:17,133 - INFO - Port: 8000
2025-09-03 18:22:17,133 - INFO - API Key: Provided
2025-09-03 18:22:17,134 - INFO - CORS Allowed Origins: ['*']
2025-09-03 18:22:17,134 - INFO - Path Prefix: /
2025-09-03 18:22:17,134 - INFO - Loading MCP server configurations from: ./mcpo.config.json
2025-09-03 18:22:17,137 - INFO - Configuring MCP Servers:
2025-09-03 18:22:17,137 - INFO - Enabling hot reload for config file: ./mcpo.config.json
2025-09-03 18:22:17,144 - INFO - Started watching config file: /mnt/c/ecr/mcp/openwebui/mcpo.config.json
2025-09-03 18:22:17,144 - INFO - Uvicorn server starting...
INFO: Started server process [19576]
INFO: Waiting for application startup.
2025-09-03 18:22:17,176 - INFO - Initiating connection for server: 'gitlab'...
2025-09-03 18:22:21,482 - INFO - Successfully connected to 'gitlab'.
2025-09-03 18:22:21,482 - INFO -
--- Server Startup Summary ---
2025-09-03 18:22:21,483 - INFO - Successfully connected to:
2025-09-03 18:22:21,483 - INFO - - gitlab
2025-09-03 18:22:21,483 - INFO - --------------------------

INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8000/ (Press CTRL+C to quit)
INFO [18:22:21.426] (19628): Initializing server with transport mode:
WARN [18:22:21.426] (19628): Starting GitLab MCP Server with stdio transport

Steps to Reproduce

mcpo.config:

{
"mcpServers": {
"gitlab-ro": {
"command": "npx",
"args": ["-y", "@zereight/mcp-gitlab"],
"env": {
"GITLAB_PERSONAL_ACCESS_TOKEN": "HIDDEN",
"GITLAB_API_URL": "http://127.0.0.1:80/api/v4",
"GITLAB_PROJECT_ID": "",
"GITLAB_ALLOWED_PROJECT_IDS": "",
"GITLAB_READ_ONLY_MODE": "false",
"USE_GITLAB_WIKI": "false",
"USE_MILESTONE": "false",
"USE_PIPELINE": "false",
"HTTP_PROXY": "",
"HTTPS_PROXY": "",
"NO_PROXY": "127.0.0.1,localhost,::1"
}
}

}
}

Logs & Screenshots

{
"mcpServers": {
"gitlab-ro": {
"command": "npx",
"args": ["-y", "@zereight/mcp-gitlab"],
"env": {
"GITLAB_PERSONAL_ACCESS_TOKEN": "glpat-sr6Jfc_LUWZ4x_3z7BsW",
"GITLAB_API_URL": "http://127.0.0.1:80/api/v4",
"GITLAB_PROJECT_ID": "",
"GITLAB_ALLOWED_PROJECT_IDS": "",
"GITLAB_READ_ONLY_MODE": "false",
"USE_GITLAB_WIKI": "false",
"USE_MILESTONE": "false",
"USE_PIPELINE": "false",
"HTTP_PROXY": "",
"HTTPS_PROXY": "",
"NO_PROXY": "127.0.0.1,localhost,::1"
}
}

}
}

Additional Information

No response

Originally created by @CatalinBinzari on GitHub (Sep 3, 2025). Original GitHub issue: https://github.com/open-webui/mcpo/issues/244 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of mcpo. ### mcpo Version latest ### Open WebUI Version (if applicable) _No response_ ### Operating System wsl ### Browser (if applicable) _No response_ ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** MCPO and Open WebUI. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior `$ uvx --python 3.12 mcpo --config ./mcpo.config.json --hot-reload --api-key "$MCPO_API_KEY" Starting MCP OpenAPI Proxy with config file: ./mcpo.config.json 2025-09-03 17:40:54,726 - INFO - Starting MCPO Server... 2025-09-03 17:40:54,726 - INFO - Name: MCP OpenAPI Proxy 2025-09-03 17:40:54,726 - INFO - Version: 1.0 2025-09-03 17:40:54,726 - INFO - Description: Automatically generated API from MCP Tool Schemas 2025-09-03 17:40:54,726 - INFO - Hostname: WX-OR6416915 2025-09-03 17:40:54,726 - INFO - Port: 8000 2025-09-03 17:40:54,726 - INFO - API Key: Provided 2025-09-03 17:40:54,726 - INFO - CORS Allowed Origins: ['*'] 2025-09-03 17:40:54,727 - INFO - Path Prefix: / 2025-09-03 17:40:54,727 - INFO - Loading MCP server configurations from: ./mcpo.config.json 2025-09-03 17:40:54,729 - INFO - Configuring MCP Servers: 2025-09-03 17:40:54,729 - INFO - Enabling hot reload for config file: ./mcpo.config.json 2025-09-03 17:40:54,734 - INFO - Started watching config file: /mnt/c/ecr/mcp/openwebui/mcpo.config.json 2025-09-03 17:40:54,734 - INFO - Uvicorn server starting... INFO: Started server process [10504] INFO: Waiting for application startup. 2025-09-03 17:40:54,744 - INFO - Initiating connection for server: 'gitlab'... INFO [14:40:55.425] (1): Initializing server with transport mode: WARN [14:40:55.426] (1): Starting GitLab MCP Server with stdio transport 2025-09-03 17:40:55,710 - ERROR - Failed to connect to MCP server 'better-gitlab-mcp-server': ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) Exception Group Traceback (most recent call last): | File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcpo/main.py", line 422, in lifespan | async with client_context as (reader, writer, *_): | ^^^^^^^^^^^^^^ | File "/usr/lib/python3.12/contextlib.py", line 231, in aexit | await self.gen.athrow(value) | File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcp/client/stdio/init.py", line 181, in stdio_client | anyio.create_task_group() as tg, | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 772, in aexit | raise BaseExceptionGroup( | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcp/client/stdio/init.py", line 187, in stdio_client | yield read_stream, write_stream | File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcpo/main.py", line 423, in lifespan | async with ClientSession(reader, writer) as session: | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcp/shared/session.py", line 218, in aexit | return await self._task_group.aexit(exc_type, exc_val, exc_tb) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 772, in aexit | raise BaseExceptionGroup( | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcpo/main.py", line 425, in lifespan | await create_dynamic_endpoints(app, api_dependency=api_dependency) | File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcpo/main.py", line 281, in create_dynamic_endpoints | form_model_fields = get_model_fields( | ^^^^^^^^^^^^^^^^^ | File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcpo/utils/main.py", line 242, in get_model_fields | python_type_hint, pydantic_field_info = _process_schema_property( | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcpo/utils/main.py", line 131, in _process_schema_property | type_hint, _ = _process_schema_property( | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcpo/utils/main.py", line 131, in _process_schema_property | type_hint, _ = _process_schema_property( | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/cb/.cache/uv/archive-v0/f9gCbKWpWVD5fmEokUM4J/lib/python3.12/site-packages/mcpo/utils/main.py", line 117, in _process_schema_property | assert ref in schema_defs, "Custom field not found" | ^^^^^^^^^^^^^^^^^^ | AssertionError: Custom field not found +------------------------------------ 2025-09-03 17:40:55,713 - ERROR - Failed to establish connection for server: 'gitlab' - Multiple errors occurred: 2025-09-03 17:40:55,713 - ERROR - Error 1: ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) 2025-09-03 17:40:55,713 - INFO - --- Server Startup Summary --- 2025-09-03 17:40:55,713 - WARNING - Failed to connect to: 2025-09-03 17:40:55,713 - WARNING - - gitlab 2025-09-03 17:40:55,713 - INFO - -------------------------- 2025-09-03 17:40:55,713 - ERROR - No MCP servers could be reached. INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:8000/ (Press CTRL+C to quit) ### Actual Behavior this helped to fix the issue, but I am limited to do not use next tools, however they are required create_merge_request list_commits list_group_iterations list_group_projects list_issues list_projects merge_merge_request update_issue update_merge_request cb@WX-OR6416915:/mnt/c/ecr/mcp/openwebui$ npx @modelcontextprotocol/inspector --cli \ npx -y @zereight/mcp-gitlab --method tools/list | jq -r '.tools[] | select(.inputSchema|tostring|test("\$ref")) | .name' | sort -u create_merge_request list_commits list_group_iterations list_group_projects list_issues list_projects merge_merge_request update_issue update_merge_request cb@WX-OR6416915:/mnt/c/ecr/mcp/openwebui$ export GITLAB_DENIED_TOOLS_REGEX="$( npx @modelcontextprotocol/inspector --cli npx -y @zereight/mcp-gitlab --method tools/list | jq -r '[.tools[] | select(.inputSchema|tostring|test("\$ref")) | .name] | unique | join("|")' )" cb@WX-OR6416915:/mnt/c/ecr/mcp/openwebui$ uvx --python 3.12 mcpo@latest --config ./mcpo.config.json --hot-reload --api-key "$MCPO_API_KEY" Installed 41 packages in 53ms Starting MCP OpenAPI Proxy with config file: ./mcpo.config.json 2025-09-03 18:22:17,133 - INFO - Starting MCPO Server... 2025-09-03 18:22:17,133 - INFO - Name: MCP OpenAPI Proxy 2025-09-03 18:22:17,133 - INFO - Version: 1.0 2025-09-03 18:22:17,133 - INFO - Description: Automatically generated API from MCP Tool Schemas 2025-09-03 18:22:17,133 - INFO - Hostname: WX-OR6416915 2025-09-03 18:22:17,133 - INFO - Port: 8000 2025-09-03 18:22:17,133 - INFO - API Key: Provided 2025-09-03 18:22:17,134 - INFO - CORS Allowed Origins: ['*'] 2025-09-03 18:22:17,134 - INFO - Path Prefix: / 2025-09-03 18:22:17,134 - INFO - Loading MCP server configurations from: ./mcpo.config.json 2025-09-03 18:22:17,137 - INFO - Configuring MCP Servers: 2025-09-03 18:22:17,137 - INFO - Enabling hot reload for config file: ./mcpo.config.json 2025-09-03 18:22:17,144 - INFO - Started watching config file: /mnt/c/ecr/mcp/openwebui/mcpo.config.json 2025-09-03 18:22:17,144 - INFO - Uvicorn server starting... INFO: Started server process [19576] INFO: Waiting for application startup. 2025-09-03 18:22:17,176 - INFO - Initiating connection for server: 'gitlab'... 2025-09-03 18:22:21,482 - INFO - Successfully connected to 'gitlab'. 2025-09-03 18:22:21,482 - INFO - --- Server Startup Summary --- 2025-09-03 18:22:21,483 - INFO - Successfully connected to: 2025-09-03 18:22:21,483 - INFO - - gitlab 2025-09-03 18:22:21,483 - INFO - -------------------------- INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:8000/ (Press CTRL+C to quit) INFO [18:22:21.426] (19628): Initializing server with transport mode: WARN [18:22:21.426] (19628): Starting GitLab MCP Server with stdio transport ### Steps to Reproduce mcpo.config: { "mcpServers": { "gitlab-ro": { "command": "npx", "args": ["-y", "@zereight/mcp-gitlab"], "env": { "GITLAB_PERSONAL_ACCESS_TOKEN": "HIDDEN", "GITLAB_API_URL": "http://127.0.0.1:80/api/v4", "GITLAB_PROJECT_ID": "", "GITLAB_ALLOWED_PROJECT_IDS": "", "GITLAB_READ_ONLY_MODE": "false", "USE_GITLAB_WIKI": "false", "USE_MILESTONE": "false", "USE_PIPELINE": "false", "HTTP_PROXY": "", "HTTPS_PROXY": "", "NO_PROXY": "127.0.0.1,localhost,::1" } } } } ### Logs & Screenshots { "mcpServers": { "gitlab-ro": { "command": "npx", "args": ["-y", "@zereight/mcp-gitlab"], "env": { "GITLAB_PERSONAL_ACCESS_TOKEN": "glpat-sr6Jfc_LUWZ4x_3z7BsW", "GITLAB_API_URL": "http://127.0.0.1:80/api/v4", "GITLAB_PROJECT_ID": "", "GITLAB_ALLOWED_PROJECT_IDS": "", "GITLAB_READ_ONLY_MODE": "false", "USE_GITLAB_WIKI": "false", "USE_MILESTONE": "false", "USE_PIPELINE": "false", "HTTP_PROXY": "", "HTTPS_PROXY": "", "NO_PROXY": "127.0.0.1,localhost,::1" } } } } ### Additional Information _No response_
Author
Owner

@vinnitu commented on GitHub (Sep 26, 2025):

as I understand this trouble still have a place?

<!-- gh-comment-id:3337178006 --> @vinnitu commented on GitHub (Sep 26, 2025): as I understand this trouble still have a place?
Author
Owner

@mpsa-ggabel commented on GitHub (Dec 3, 2025):

Hello,
Same issue with Cloudflare observability MCP server:
My config.json content:

{
  "mcpServers": {
    "cloudflare-observability": {
      "command": "npx",
      "args": ["mcp-remote", "https://observability.mcp.cloudflare.com/mcp"]
    }
  }
}
uv run mcpo --config config.json --hot-reload
Starting MCP OpenAPI Proxy with config file: config.json
2025-12-03 10:50:51,189 - INFO - Starting MCPO Server...
2025-12-03 10:50:51,189 - INFO -   Name: MCP OpenAPI Proxy
2025-12-03 10:50:51,189 - INFO -   Version: 1.0
2025-12-03 10:50:51,189 - INFO -   Description: Automatically generated API from MCP Tool Schemas
2025-12-03 10:50:51,189 - INFO -   Hostname: lp240008
2025-12-03 10:50:51,189 - INFO -   Port: 8000
2025-12-03 10:50:51,189 - INFO -   API Key: Not Provided
2025-12-03 10:50:51,189 - INFO -   CORS Allowed Origins: ['*']
2025-12-03 10:50:51,189 - INFO -   Path Prefix: /
2025-12-03 10:50:51,189 - INFO -   Root Path: 
2025-12-03 10:50:51,189 - INFO - Loading MCP server configurations from: config.json
2025-12-03 10:50:51,189 - INFO - Configuring MCP Servers:
2025-12-03 10:50:51,190 - INFO - Enabling hot reload for config file: config.json
2025-12-03 10:50:51,190 - INFO - Watching directory: . for file: /home/ggabel/Projects/mcpo/config.json
2025-12-03 10:50:51,190 - INFO - Started watching config file: /home/ggabel/Projects/mcpo/config.json
2025-12-03 10:50:51,191 - INFO - Uvicorn server starting...
INFO:     Started server process [3634252]
INFO:     Waiting for application startup.
2025-12-03 10:50:51,216 - INFO - Initiating connection for server: 'cloudflare-observability'...
[3634268] Using automatically selected callback port: 22875
[3634268] [3634268] Connecting to remote server: https://observability.mcp.cloudflare.com/mcp
[3634268] Using transport strategy: http-first
[3634268] 
Please authorize this client by visiting:
https://observability.mcp.cloudflare.com/oauth/authorize?response_type=code&client_id=94v1QuM9gO9uOmk9&code_challenge=dJtSrFC_43flWfwXEYUn38bcx4EbVOVQC5FrGE2TLjI&code_challenge_method=S256&redirect_uri=http%3A%2F%2Flocalhost%3A22875%2Foauth%2Fcallback&state=d838935b-2ebd-49bf-9c61-17a1af5be4ea&scope=openid+email+profile

[3634268] Browser opened automatically.
[3634268] Authentication required. Initializing auth...
[3634268] Initializing auth coordination on-demand
[3634268] Creating lockfile for server 4c540779956cbdea7211a7a680c03b4f with process 3634268 on port 22875
[3634268] OAuth callback server running at http://127.0.0.1:22875
[3634268] Authentication required. Waiting for authorization...
[3634268] Auth code received, resolving promise
[3634268] Completing authorization...
[3634268] Recursively reconnecting for reason: authentication-needed
[3634268] [3634268] Connecting to remote server: https://observability.mcp.cloudflare.com/mcp
[3634268] Using transport strategy: http-first
[3634268] Connected to remote server using StreamableHTTPClientTransport
[3634268] Local STDIO server running
[3634268] Proxy established successfully between local STDIO and remote StreamableHTTPClientTransport
[3634268] Press Ctrl+C to exit
[3634268] [Local→Remote] initialize
[3634268] {
  "jsonrpc": "2.0",
  "id": 0,
  "method": "initialize",
  "params": {
    "protocolVersion": "2025-06-18",
    "capabilities": {},
    "clientInfo": {
      "name": "mcp (via mcp-remote 0.1.31)",
      "version": "0.1.0"
    }
  }
}
[3634268] [Remote→Local] 0
[3634268] [Local→Remote] notifications/initialized
[3634268] [Local→Remote] tools/list
[3634268] [Remote→Local] 1
[3634268] 
Shutting down...
[3634268] Error from remote server: DOMException [AbortError]: This operation was aborted
    at node:internal/deps/undici/undici:14900:13
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async StreamableHTTPClientTransport._startOrAuthSse (file:///home/ggabel/.npm/_npx/705d23756ff7dacc/node_modules/mcp-remote/dist/chunk-WSHBHZXM.js:13289:24)
[3634268] Error from remote server: DOMException [AbortError]: This operation was aborted
    at node:internal/deps/undici/undici:14900:13
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async StreamableHTTPClientTransport._startOrAuthSse (file:///home/ggabel/.npm/_npx/705d23756ff7dacc/node_modules/mcp-remote/dist/chunk-WSHBHZXM.js:13289:24)
2025-12-03 10:51:25,331 - ERROR - Failed to connect to MCP server 'workers-observability': ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
  + Exception Group Traceback (most recent call last):
  |   File "/home/ggabel/Projects/mcpo/src/mcpo/main.py", line 567, in lifespan
  |     async with client_context as (reader, writer, *_):
  |   File "/usr/lib/python3.12/contextlib.py", line 231, in __aexit__
  |     await self.gen.athrow(value)
  |   File "/home/ggabel/Projects/mcpo/.venv/lib/python3.12/site-packages/mcp/client/stdio/__init__.py", line 182, in stdio_client
  |     async with (
  |   File "/home/ggabel/Projects/mcpo/.venv/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 772, in __aexit__
  |     raise BaseExceptionGroup(
  | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
  +-+---------------- 1 ----------------
    | Exception Group Traceback (most recent call last):
    |   File "/home/ggabel/Projects/mcpo/.venv/lib/python3.12/site-packages/mcp/client/stdio/__init__.py", line 189, in stdio_client
    |     yield read_stream, write_stream
    |   File "/home/ggabel/Projects/mcpo/src/mcpo/main.py", line 568, in lifespan
    |     async with ClientSession(reader, writer) as session:
    |   File "/home/ggabel/Projects/mcpo/.venv/lib/python3.12/site-packages/mcp/shared/session.py", line 218, in __aexit__
    |     return await self._task_group.__aexit__(exc_type, exc_val, exc_tb)
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/home/ggabel/Projects/mcpo/.venv/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 772, in __aexit__
    |     raise BaseExceptionGroup(
    | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
    +-+---------------- 1 ----------------
      | Traceback (most recent call last):
      |   File "/home/ggabel/Projects/mcpo/src/mcpo/main.py", line 570, in lifespan
      |     await create_dynamic_endpoints(app, api_dependency=api_dependency)
      |   File "/home/ggabel/Projects/mcpo/src/mcpo/main.py", line 381, in create_dynamic_endpoints
      |     form_model_fields = get_model_fields(
      |                         ^^^^^^^^^^^^^^^^^
      |   File "/home/ggabel/Projects/mcpo/src/mcpo/utils/main.py", line 251, in get_model_fields
      |     python_type_hint, pydantic_field_info = _process_schema_property(
      |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^
      |   File "/home/ggabel/Projects/mcpo/src/mcpo/utils/main.py", line 181, in _process_schema_property
      |     nested_type_hint, nested_pydantic_field = _process_schema_property(
      |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^
      |   File "/home/ggabel/Projects/mcpo/src/mcpo/utils/main.py", line 181, in _process_schema_property
      |     nested_type_hint, nested_pydantic_field = _process_schema_property(
      |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^
      |   File "/home/ggabel/Projects/mcpo/src/mcpo/utils/main.py", line 181, in _process_schema_property
      |     nested_type_hint, nested_pydantic_field = _process_schema_property(
      |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^
      |   File "/home/ggabel/Projects/mcpo/src/mcpo/utils/main.py", line 121, in _process_schema_property
      |     assert ref in schema_defs, "Custom field not found"
      |            ^^^^^^^^^^^^^^^^^^
      | AssertionError: Custom field not found
      +------------------------------------
2025-12-03 10:51:25,335 - ERROR - Failed to establish connection for server: 'cloudflare-observability' - Multiple errors occurred:
2025-12-03 10:51:25,335 - ERROR -   Error 1: ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
2025-12-03 10:51:25,336 - INFO - 
--- Server Startup Summary ---
2025-12-03 10:51:25,336 - WARNING - Failed to connect to:
2025-12-03 10:51:25,336 - WARNING -   - cloudflare-observability
2025-12-03 10:51:25,336 - INFO - --------------------------

2025-12-03 10:51:25,336 - ERROR - No MCP servers could be reached.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
<!-- gh-comment-id:3606108739 --> @mpsa-ggabel commented on GitHub (Dec 3, 2025): Hello, Same issue with Cloudflare observability MCP server: My config.json content: ```json { "mcpServers": { "cloudflare-observability": { "command": "npx", "args": ["mcp-remote", "https://observability.mcp.cloudflare.com/mcp"] } } } ``` ``` uv run mcpo --config config.json --hot-reload Starting MCP OpenAPI Proxy with config file: config.json 2025-12-03 10:50:51,189 - INFO - Starting MCPO Server... 2025-12-03 10:50:51,189 - INFO - Name: MCP OpenAPI Proxy 2025-12-03 10:50:51,189 - INFO - Version: 1.0 2025-12-03 10:50:51,189 - INFO - Description: Automatically generated API from MCP Tool Schemas 2025-12-03 10:50:51,189 - INFO - Hostname: lp240008 2025-12-03 10:50:51,189 - INFO - Port: 8000 2025-12-03 10:50:51,189 - INFO - API Key: Not Provided 2025-12-03 10:50:51,189 - INFO - CORS Allowed Origins: ['*'] 2025-12-03 10:50:51,189 - INFO - Path Prefix: / 2025-12-03 10:50:51,189 - INFO - Root Path: 2025-12-03 10:50:51,189 - INFO - Loading MCP server configurations from: config.json 2025-12-03 10:50:51,189 - INFO - Configuring MCP Servers: 2025-12-03 10:50:51,190 - INFO - Enabling hot reload for config file: config.json 2025-12-03 10:50:51,190 - INFO - Watching directory: . for file: /home/ggabel/Projects/mcpo/config.json 2025-12-03 10:50:51,190 - INFO - Started watching config file: /home/ggabel/Projects/mcpo/config.json 2025-12-03 10:50:51,191 - INFO - Uvicorn server starting... INFO: Started server process [3634252] INFO: Waiting for application startup. 2025-12-03 10:50:51,216 - INFO - Initiating connection for server: 'cloudflare-observability'... [3634268] Using automatically selected callback port: 22875 [3634268] [3634268] Connecting to remote server: https://observability.mcp.cloudflare.com/mcp [3634268] Using transport strategy: http-first [3634268] Please authorize this client by visiting: https://observability.mcp.cloudflare.com/oauth/authorize?response_type=code&client_id=94v1QuM9gO9uOmk9&code_challenge=dJtSrFC_43flWfwXEYUn38bcx4EbVOVQC5FrGE2TLjI&code_challenge_method=S256&redirect_uri=http%3A%2F%2Flocalhost%3A22875%2Foauth%2Fcallback&state=d838935b-2ebd-49bf-9c61-17a1af5be4ea&scope=openid+email+profile [3634268] Browser opened automatically. [3634268] Authentication required. Initializing auth... [3634268] Initializing auth coordination on-demand [3634268] Creating lockfile for server 4c540779956cbdea7211a7a680c03b4f with process 3634268 on port 22875 [3634268] OAuth callback server running at http://127.0.0.1:22875 [3634268] Authentication required. Waiting for authorization... [3634268] Auth code received, resolving promise [3634268] Completing authorization... [3634268] Recursively reconnecting for reason: authentication-needed [3634268] [3634268] Connecting to remote server: https://observability.mcp.cloudflare.com/mcp [3634268] Using transport strategy: http-first [3634268] Connected to remote server using StreamableHTTPClientTransport [3634268] Local STDIO server running [3634268] Proxy established successfully between local STDIO and remote StreamableHTTPClientTransport [3634268] Press Ctrl+C to exit [3634268] [Local→Remote] initialize [3634268] { "jsonrpc": "2.0", "id": 0, "method": "initialize", "params": { "protocolVersion": "2025-06-18", "capabilities": {}, "clientInfo": { "name": "mcp (via mcp-remote 0.1.31)", "version": "0.1.0" } } } [3634268] [Remote→Local] 0 [3634268] [Local→Remote] notifications/initialized [3634268] [Local→Remote] tools/list [3634268] [Remote→Local] 1 [3634268] Shutting down... [3634268] Error from remote server: DOMException [AbortError]: This operation was aborted at node:internal/deps/undici/undici:14900:13 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async StreamableHTTPClientTransport._startOrAuthSse (file:///home/ggabel/.npm/_npx/705d23756ff7dacc/node_modules/mcp-remote/dist/chunk-WSHBHZXM.js:13289:24) [3634268] Error from remote server: DOMException [AbortError]: This operation was aborted at node:internal/deps/undici/undici:14900:13 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async StreamableHTTPClientTransport._startOrAuthSse (file:///home/ggabel/.npm/_npx/705d23756ff7dacc/node_modules/mcp-remote/dist/chunk-WSHBHZXM.js:13289:24) 2025-12-03 10:51:25,331 - ERROR - Failed to connect to MCP server 'workers-observability': ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) + Exception Group Traceback (most recent call last): | File "/home/ggabel/Projects/mcpo/src/mcpo/main.py", line 567, in lifespan | async with client_context as (reader, writer, *_): | File "/usr/lib/python3.12/contextlib.py", line 231, in __aexit__ | await self.gen.athrow(value) | File "/home/ggabel/Projects/mcpo/.venv/lib/python3.12/site-packages/mcp/client/stdio/__init__.py", line 182, in stdio_client | async with ( | File "/home/ggabel/Projects/mcpo/.venv/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 772, in __aexit__ | raise BaseExceptionGroup( | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/home/ggabel/Projects/mcpo/.venv/lib/python3.12/site-packages/mcp/client/stdio/__init__.py", line 189, in stdio_client | yield read_stream, write_stream | File "/home/ggabel/Projects/mcpo/src/mcpo/main.py", line 568, in lifespan | async with ClientSession(reader, writer) as session: | File "/home/ggabel/Projects/mcpo/.venv/lib/python3.12/site-packages/mcp/shared/session.py", line 218, in __aexit__ | return await self._task_group.__aexit__(exc_type, exc_val, exc_tb) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/ggabel/Projects/mcpo/.venv/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 772, in __aexit__ | raise BaseExceptionGroup( | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/home/ggabel/Projects/mcpo/src/mcpo/main.py", line 570, in lifespan | await create_dynamic_endpoints(app, api_dependency=api_dependency) | File "/home/ggabel/Projects/mcpo/src/mcpo/main.py", line 381, in create_dynamic_endpoints | form_model_fields = get_model_fields( | ^^^^^^^^^^^^^^^^^ | File "/home/ggabel/Projects/mcpo/src/mcpo/utils/main.py", line 251, in get_model_fields | python_type_hint, pydantic_field_info = _process_schema_property( | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/ggabel/Projects/mcpo/src/mcpo/utils/main.py", line 181, in _process_schema_property | nested_type_hint, nested_pydantic_field = _process_schema_property( | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/ggabel/Projects/mcpo/src/mcpo/utils/main.py", line 181, in _process_schema_property | nested_type_hint, nested_pydantic_field = _process_schema_property( | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/ggabel/Projects/mcpo/src/mcpo/utils/main.py", line 181, in _process_schema_property | nested_type_hint, nested_pydantic_field = _process_schema_property( | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/home/ggabel/Projects/mcpo/src/mcpo/utils/main.py", line 121, in _process_schema_property | assert ref in schema_defs, "Custom field not found" | ^^^^^^^^^^^^^^^^^^ | AssertionError: Custom field not found +------------------------------------ 2025-12-03 10:51:25,335 - ERROR - Failed to establish connection for server: 'cloudflare-observability' - Multiple errors occurred: 2025-12-03 10:51:25,335 - ERROR - Error 1: ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) 2025-12-03 10:51:25,336 - INFO - --- Server Startup Summary --- 2025-12-03 10:51:25,336 - WARNING - Failed to connect to: 2025-12-03 10:51:25,336 - WARNING - - cloudflare-observability 2025-12-03 10:51:25,336 - INFO - -------------------------- 2025-12-03 10:51:25,336 - ERROR - No MCP servers could be reached. INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit) ```
Author
Owner

@ManiFaridi commented on GitHub (Jan 9, 2026):

Hello,
I encountered the exact same issue with Softeria's MS365 MCP.

{
  "mcpServers": {
    "ms365": {
      "command": "npx",
      "args": ["-y", "@softeria/ms-365-mcp-server", "--org-mode"]
    }
  }
}
2026-01-09 14:26:59,419 - ERROR - Failed to connect to MCP server 'Microsoft365MCP': ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
  + Exception Group Traceback (most recent call last):
  |   File "/app/.venv/lib/python3.12/site-packages/mcpo/main.py", line 567, in lifespan
  |     async with client_context as (reader, writer, *_):
  |                ^^^^^^^^^^^^^^
  |   File "/usr/local/lib/python3.12/contextlib.py", line 231, in __aexit__
  |     await self.gen.athrow(value)
  |   File "/app/.venv/lib/python3.12/site-packages/mcp/client/stdio/__init__.py", line 183, in stdio_client
  |     anyio.create_task_group() as tg,
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^
  |   File "/app/.venv/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 781, in __aexit__
  |     raise BaseExceptionGroup(
  | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
  +-+---------------- 1 ----------------
    | Exception Group Traceback (most recent call last):
    |   File "/app/.venv/lib/python3.12/site-packages/mcp/client/stdio/__init__.py", line 189, in stdio_client
    |     yield read_stream, write_stream
    |   File "/app/.venv/lib/python3.12/site-packages/mcpo/main.py", line 568, in lifespan
    |     async with ClientSession(reader, writer) as session:
    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/app/.venv/lib/python3.12/site-packages/mcp/shared/session.py", line 218, in __aexit__
    |     return await self._task_group.__aexit__(exc_type, exc_val, exc_tb)
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/app/.venv/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 781, in __aexit__
    |     raise BaseExceptionGroup(
    | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
    +-+---------------- 1 ----------------
      | Traceback (most recent call last):
      |   File "/app/.venv/lib/python3.12/site-packages/mcpo/main.py", line 570, in lifespan
      |     await create_dynamic_endpoints(app, api_dependency=api_dependency)
      |   File "/app/.venv/lib/python3.12/site-packages/mcpo/main.py", line 381, in create_dynamic_endpoints
      |     form_model_fields = get_model_fields(
      |                         ^^^^^^^^^^^^^^^^^
      |   File "/app/.venv/lib/python3.12/site-packages/mcpo/utils/main.py", line 251, in get_model_fields
      |     python_type_hint, pydantic_field_info = _process_schema_property(
      |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^
      |   File "/app/.venv/lib/python3.12/site-packages/mcpo/utils/main.py", line 181, in _process_schema_property
      |     nested_type_hint, nested_pydantic_field = _process_schema_property(
      |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^
      |   File "/app/.venv/lib/python3.12/site-packages/mcpo/utils/main.py", line 181, in _process_schema_property
      |     nested_type_hint, nested_pydantic_field = _process_schema_property(
      |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^
      |   File "/app/.venv/lib/python3.12/site-packages/mcpo/utils/main.py", line 121, in _process_schema_property
      |     assert ref in schema_defs, "Custom field not found"
      |            ^^^^^^^^^^^^^^^^^^
      | AssertionError: Custom field not found
      +------------------------------------
<!-- gh-comment-id:3729309031 --> @ManiFaridi commented on GitHub (Jan 9, 2026): Hello, I encountered the exact same issue with Softeria's MS365 MCP. ```json { "mcpServers": { "ms365": { "command": "npx", "args": ["-y", "@softeria/ms-365-mcp-server", "--org-mode"] } } } ``` ``` 2026-01-09 14:26:59,419 - ERROR - Failed to connect to MCP server 'Microsoft365MCP': ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) + Exception Group Traceback (most recent call last): | File "/app/.venv/lib/python3.12/site-packages/mcpo/main.py", line 567, in lifespan | async with client_context as (reader, writer, *_): | ^^^^^^^^^^^^^^ | File "/usr/local/lib/python3.12/contextlib.py", line 231, in __aexit__ | await self.gen.athrow(value) | File "/app/.venv/lib/python3.12/site-packages/mcp/client/stdio/__init__.py", line 183, in stdio_client | anyio.create_task_group() as tg, | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/app/.venv/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 781, in __aexit__ | raise BaseExceptionGroup( | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "/app/.venv/lib/python3.12/site-packages/mcp/client/stdio/__init__.py", line 189, in stdio_client | yield read_stream, write_stream | File "/app/.venv/lib/python3.12/site-packages/mcpo/main.py", line 568, in lifespan | async with ClientSession(reader, writer) as session: | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/app/.venv/lib/python3.12/site-packages/mcp/shared/session.py", line 218, in __aexit__ | return await self._task_group.__aexit__(exc_type, exc_val, exc_tb) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/app/.venv/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 781, in __aexit__ | raise BaseExceptionGroup( | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "/app/.venv/lib/python3.12/site-packages/mcpo/main.py", line 570, in lifespan | await create_dynamic_endpoints(app, api_dependency=api_dependency) | File "/app/.venv/lib/python3.12/site-packages/mcpo/main.py", line 381, in create_dynamic_endpoints | form_model_fields = get_model_fields( | ^^^^^^^^^^^^^^^^^ | File "/app/.venv/lib/python3.12/site-packages/mcpo/utils/main.py", line 251, in get_model_fields | python_type_hint, pydantic_field_info = _process_schema_property( | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/app/.venv/lib/python3.12/site-packages/mcpo/utils/main.py", line 181, in _process_schema_property | nested_type_hint, nested_pydantic_field = _process_schema_property( | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/app/.venv/lib/python3.12/site-packages/mcpo/utils/main.py", line 181, in _process_schema_property | nested_type_hint, nested_pydantic_field = _process_schema_property( | ^^^^^^^^^^^^^^^^^^^^^^^^^ | File "/app/.venv/lib/python3.12/site-packages/mcpo/utils/main.py", line 121, in _process_schema_property | assert ref in schema_defs, "Custom field not found" | ^^^^^^^^^^^^^^^^^^ | AssertionError: Custom field not found +------------------------------------ ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/mcpo#109
No description provided.