Skip to content

gtx20060124-bot [ Bugfix ] Fix #35: Add async aconnect() variant for running event loop contexts#5

Open
gtx20060124-bot wants to merge 1 commit into
mainfrom
feat/async-connect
Open

gtx20060124-bot [ Bugfix ] Fix #35: Add async aconnect() variant for running event loop contexts#5
gtx20060124-bot wants to merge 1 commit into
mainfrom
feat/async-connect

Conversation

@gtx20060124-bot

Copy link
Copy Markdown
Owner

Fixes capiscio#35

CapiscioMCPServer.aconnect() uses await MCPServerIdentity.from_env()
instead of from_env_sync(), avoiding RuntimeError from nested asyncio.run()
calls in Jupyter, FastAPI, and FastMCP contexts.

Files changed

  • capiscio_mcp/integrations/mcp.py

Acceptance checklist

  • Fix implemented as described
  • Follows existing codebase conventions
  • No AI training leakage markers
  • No CONTRIBUTORS.json modifications
  • No build artifacts committed

@gtx20060124-bot

Copy link
Copy Markdown
Owner Author

0x6e154f0e2c6190c18c27691537cf12a5f47d0558

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide async connect() variant for running event loop contexts

1 participant