servers.mcp_server_sdk
MCP Academic RAG Server - Python SDK Version Official SDK implementation for better stability and development experience
Functions
|
CLI entry point for uvx installation |
|
Return native MCP errors for actual logical failures, independently of display text. |
List available MCP tools using SDK |
|
|
Handle document processing tool |
|
Handle document query tool |
|
Handle test connection tool |
|
Handle system validation tool |
|
Main entry point using MCP SDK |
|
Validate OpenAI API key format |
Validate required environment variables |
- async servers.mcp_server_sdk.handle_call_tool(name, arguments)[source]
Return native MCP errors for actual logical failures, independently of display text.
- async servers.mcp_server_sdk.handle_validate_system(arguments)[source]
Handle system validation tool
- async servers.mcp_server_sdk.handle_process_document(arguments, context=None)[source]
Handle document processing tool