THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class McpManager(IMcpManager): (source)
Constructor: McpManager(app, router, config, bus)
Own one compiled registry shared by native HTTP, STDIO, DI and the facade.
| Method | __init__ |
Capture application services without opening transports or performing I/O. |
| Method | _compile |
Validate and compile a server exactly once per application manager. |
| Async Method | _publish |
Scope events to a declaration already registered in this application. |
| Async Method | dispatch |
Use the same server and invoker reached by its local registration. |
| Method | finalize |
Index final fluent paths once at boot, preserving constant-time dispatch. |
| Method | get |
Return compiled local metadata by its configured handle. |
| Method | get |
Return compiled HTTP metadata by normalized native route path. |
| Method | local |
Register an explicit handle without accepting dynamic module imports. |
| Async Method | prompts |
Publish a prompt catalog change to the matching server's listeners. |
| Async Method | resources |
Publish a resource catalog change to the matching server's listeners. |
| Async Method | resource |
Publish one changed URI without resolving its content or identity. |
| Method | servers |
Return an immutable transport/address/declaration inventory. |
| Async Method | shutdown |
Wake subscriptions so their request owners can complete and clean up. |
| Async Method | start |
Serve only a configured local handle using native standard streams. |
| Async Method | tools |
Publish a catalog change without retaining the current identity. |
| Method | web |
Register one native POST endpoint with API authentication semantics. |
| Class Variable | __slots__ |
Undocumented |
| Instance Variable | _app |
Undocumented |
| Instance Variable | _bus |
Undocumented |
| Instance Variable | _compiled |
Undocumented |
| Instance Variable | _config |
Undocumented |
| Instance Variable | _local |
Undocumented |
| Instance Variable | _router |
Undocumented |
| Instance Variable | _web |
Undocumented |
IApplication, router: IRouter, config: McpConfig, bus: IMcpEventBus):
(source)
¶
Capture application services without opening transports or performing I/O.
| Parameters | |
app:IApplication | Application container supplying configuration and dependencies. |
router:IRouter | Value supplied for router. |
config:McpConfig | Validated configuration controlling this component. |
bus:IMcpEventBus | Value supplied for bus. |
| Returns | |
None | Complete the documented operation without returning a value. |
Validate and compile a server exactly once per application manager.
| Parameters | |
server:type[Server] | Value supplied for server. |
| Returns | |
CompiledMcpServer | Result of the operation described above. |
Index final fluent paths once at boot, preserving constant-time dispatch.
| Returns | |
None | Complete the documented operation without returning a value. |
Return compiled local metadata by its configured handle.
| Parameters | |
name:str | Value supplied for name. |
| Returns | |
CompiledMcpServer | Compiled local metadata by its configured handle. |
Return compiled HTTP metadata by normalized native route path.
| Parameters | |
path:str | Value supplied for path. |
| Returns | |
CompiledMcpServer | Compiled HTTP metadata by normalized native route path. |
Wake subscriptions so their request owners can complete and clean up.
| Returns | |
None | Complete the documented operation without returning a value. |
Register one native POST endpoint with API authentication semantics.
| Parameters | |
path:str | Value supplied for path. |
server:type[Server] | Value supplied for server. |
| Returns | |
FluentRoute | Result of the operation described above. |