• Your Name's avatar
    Add MCP (Model Context Protocol) server endpoint · 924dfeeb
    Your Name authored
    - Implement MCP server module (aisbf/mcp.py) with SSE and HTTP stream support
    - Add two authentication levels: autoselect-only and fullconfig
    - Add MCP configuration to config/aisbf.json (disabled by default)
    - Add MCP endpoints to main.py: GET/POST /mcp, GET /mcp/tools, POST /mcp/tools/call
    - Both token types give access to standard APIs (list_models, chat_completion)
    - autoselect_tokens: access to autoselection/autorotation settings
    - fullconfig_tokens: access to full system configuration including providers
    
    This allows remote agents to configure the system and/or just the
    autoselections/rotations, as well as make requests for models.
    924dfeeb
Name
Last commit
Last update
aisbf Loading commit data...
config Loading commit data...
templates Loading commit data...
.gitignore Loading commit data...
.providers.json.swp Loading commit data...
AI.PROMPT Loading commit data...
API_EXAMPLES.md Loading commit data...
CHANGELOG.md Loading commit data...
DEBUG_GUIDE.md Loading commit data...
DOCUMENTATION.md Loading commit data...
LICENSE.txt Loading commit data...
MANIFEST.in Loading commit data...
PYPI.md Loading commit data...
README.md Loading commit data...
aisbf.sh Loading commit data...
build.sh Loading commit data...
clean.sh Loading commit data...
cli.py Loading commit data...
main.py Loading commit data...
pyproject.toml Loading commit data...
requirements.txt Loading commit data...
setup.py Loading commit data...
start_proxy.sh Loading commit data...
test_google.sh Loading commit data...
test_proxy.sh Loading commit data...