mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-09 15:58:30 +00:00
Rename the import package surfsense_mcp -> mcp_server and remove the src/ layer so the project mirrors the backend's shape (project folder != package name, e.g. surfsense_backend/app). Kills the redundant surfsense_mcp/src/surfsense_mcp nesting. Distribution name and console command (surfsense-mcp) are unchanged; only python -m and internal import paths move to mcp_server. Dockerfile CMD updated; no PYTHONPATH added since the editable install already makes the package importable.
13 lines
369 B
Python
13 lines
369 B
Python
"""Tool-call policy hints shared across scraper tools."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from mcp.types import ToolAnnotations
|
|
|
|
SCRAPE = ToolAnnotations(
|
|
readOnlyHint=False, destructiveHint=False, idempotentHint=False, openWorldHint=True
|
|
)
|
|
|
|
READ_RUNS = ToolAnnotations(
|
|
readOnlyHint=True, destructiveHint=False, idempotentHint=True, openWorldHint=False
|
|
)
|