papers-mcp 0.2.1

MCP server for academic paper search, management, and local RAG
1
2
3
4
5
6
7
8
9
10
11
pub mod params;
pub mod server;

/// Start the MCP server on stdio. Blocks until the connection closes.
pub async fn start_stdio() -> Result<(), Box<dyn std::error::Error>> {
    use rmcp::ServiceExt;
    let server = server::PapersMcp::new().await;
    let service = server.serve(rmcp::transport::stdio()).await?;
    service.waiting().await?;
    Ok(())
}