Ensure your server works with the Dedalus platform.
src/index.ts
)src/config.ts
)src/cli.ts
)src/types.ts
)src/client.ts
)src/tools/[service].ts
)src/tools/index.ts
)src/server.ts
)src/transport/http.ts
)src/transport/stdio.ts
)src/transport/index.ts
)"main": "dist/index.js"
- Points to compiled entry point"bin"
- Makes the server executable as a CLI tool"files": ["dist"]
- Only includes compiled code in npm package"type": "module"
- Enables ES modules"@modelcontextprotocol/sdk": "^1.17.3"
- Required: Version 1.16.0+ needed for StreamableHTTPServerTransportsrc/index.ts
→ dist/index.js
src/
foldersrc/index.ts
(single entry point)src/config.ts
)src/cli.ts
)src/client.ts
)src/types.ts
)src/server.ts
)src/tools/[service].ts
)src/transport/
)dist/index.js
src/
→ dist/
)