Skip to content

Add HTTP/SSE transport for Smithery; fix NWB Container parse error#23

Merged
Sulstice merged 1 commit into
mainfrom
claude/schema-registry-meta-model-2upt56
Jul 24, 2026
Merged

Add HTTP/SSE transport for Smithery; fix NWB Container parse error#23
Sulstice merged 1 commit into
mainfrom
claude/schema-registry-meta-model-2upt56

Conversation

@Sulstice

Copy link
Copy Markdown
Collaborator

mcp_server.py: MCP_TRANSPORT=sse env var switches to HTTP+SSE (FastMCP SSE mode on 0.0.0.0:$PORT), enabling deployment to Railway/Render for Smithery and other hosted MCP platforms. Default remains stdio for Claude Desktop/Cursor local use.

ingest_linkml.py: Handle schemas where is_a references a class defined outside the submitted file (e.g. NWB's NWBContainer → Container, which is a PyNWB runtime base class not in nwb.yml). class_induced_slots() now falls back to directly-declared slots on ValueError/KeyError, and is_a is silently cleared when the parent cannot be resolved within the schema view — build_registry_entities already handles None is_a.

Procfile + railway.toml: Railway deployment config so the MCP server can be hosted with an HTTPS URL for Smithery registration.

Claude-Session: https://claude.ai/code/session_01EXeTeJsXisxTRXay6EoBSQ

mcp_server.py: MCP_TRANSPORT=sse env var switches to HTTP+SSE (FastMCP
SSE mode on 0.0.0.0:$PORT), enabling deployment to Railway/Render for
Smithery and other hosted MCP platforms. Default remains stdio for
Claude Desktop/Cursor local use.

ingest_linkml.py: Handle schemas where is_a references a class defined
outside the submitted file (e.g. NWB's NWBContainer → Container, which
is a PyNWB runtime base class not in nwb.yml). class_induced_slots()
now falls back to directly-declared slots on ValueError/KeyError, and
is_a is silently cleared when the parent cannot be resolved within the
schema view — build_registry_entities already handles None is_a.

Procfile + railway.toml: Railway deployment config so the MCP server
can be hosted with an HTTPS URL for Smithery registration.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EXeTeJsXisxTRXay6EoBSQ
@Sulstice
Sulstice merged commit 0899463 into main Jul 24, 2026
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.

2 participants