File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ pub mod scope_parser;
88pub mod services;
99pub mod utils;
1010
11+ #[ cfg( feature = "ssr" ) ]
12+ pub mod mcp;
1113#[ cfg( feature = "ssr" ) ]
1214pub mod server;
1315
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ async fn main() -> anyhow::Result<()> {
3737 use leptos:: prelude:: * ;
3838 use leptos_axum:: { LeptosRoutes , generate_route_list_with_exclusions_and_ssg_and_context} ;
3939 use pointer:: app:: * ;
40+ use pointer:: mcp;
4041 use sqlx:: postgres:: PgPoolOptions ;
4142 use tower_http:: compression:: CompressionLayer ;
4243
@@ -69,6 +70,7 @@ async fn main() -> anyhow::Result<()> {
6970 let val = shell_options. clone ( ) ;
7071 move || shell ( val. clone ( ) )
7172 } )
73+ . merge ( mcp:: server:: router ( state. clone ( ) ) )
7274 . fallback ( leptos_axum:: file_and_error_handler_with_context (
7375 move || provide_context ( file_state. clone ( ) ) ,
7476 shell,
Original file line number Diff line number Diff line change 1+ pub mod server;
2+ pub mod tools;
3+ pub mod types;
You can’t perform that action at this time.
0 commit comments