tooluniverse.smcp_server module¶

SMCP Server Entry Point

This module provides the command-line entry point for running the SMCP (Scientific Model Context Protocol) server. It creates a minimal SMCP server that exposes all ToolUniverse tools as MCP tools.

tooluniverse.smcp_server.run_http_server()[source]¶

Run SMCP server with streamable-http transport on localhost:8000

This function provides compatibility with the original MCP server’s run_server function.

tooluniverse.smcp_server.run_stdio_server()[source]¶

Run SMCP server with stdio transport for Claude Desktop integration

This function provides compatibility with the original MCP server’s run_claude_desktop function. It accepts the same arguments as run_smcp_server but forces transport=’stdio’.

tooluniverse.smcp_server.run_smcp_server()[source]¶

Main entry point for the SMCP server command.

This function is called when running tooluniverse-smcp from the command line.