CoolFace
Apppublic

ghh1125/stanza

sourceHugging Facemitupdated 6mo agoView on Hugging Face
0likes
App README

stanza MCP Service

This deployment package wraps the stanza Python NLP library as a FastMCP service.

Available Tools

  • —health_check
  • —get_package_info
  • —list_modules
  • —list_symbols
  • —call_function
  • —create_instance
  • —analyze_text

Detailed parameter docs and examples are in stanza/mcp_output/README_MCP.md.

Local stdio Usage (Claude Desktop / CLI)

bash
cd stanza/mcp_output
python start_mcp.py

Or:

bash
MCP_TRANSPORT=stdio python stanza/mcp_output/start_mcp.py

HTTP Usage (Docker / HF Spaces)

The Docker entry point is:

bash
python stanza/mcp_output/start_mcp.py

With environment variables:

  • —MCP_TRANSPORT=http
  • —MCP_PORT=7860

Clients connect to:

  • —https://<your-host>/mcp

Build & Run with Docker

bash
./run_docker.sh

Or on PowerShell:

powershell
./run_docker.ps1