Commit 1d01446
committed
Add HTTP/SSE transport for Smithery; fix NWB Container parse error
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_01EXeTeJsXisxTRXay6EoBSQ1 parent c265abc commit 1d01446
4 files changed
Lines changed: 44 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
252 | | - | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
253 | 266 | | |
254 | 267 | | |
255 | 268 | | |
256 | 269 | | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
257 | 279 | | |
258 | 280 | | |
259 | 281 | | |
260 | | - | |
| 282 | + | |
261 | 283 | | |
262 | 284 | | |
263 | 285 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
432 | | - | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
433 | 443 | | |
434 | 444 | | |
435 | 445 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments