Commit graph

28 commits

Author SHA1 Message Date
CREDO23
116291a3b6 refactor(mcp): flatten to mcp_server package, drop src layout
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.
2026-07-07 20:24:53 +02:00
CREDO23
839618ef09 fix(mcp): install curl for container healthcheck probe 2026-07-07 19:29:19 +02:00
CREDO23
d09ecd16c9 feat(mcp): add Dockerfile for remote streamable-http deployment 2026-07-07 18:27:19 +02:00
CREDO23
6da1dd8f86 docs(mcp): document hosted /mcp remote endpoint 2026-07-07 18:27:19 +02:00
CREDO23
768609d886 feat(mcp): add health endpoint with public-path auth exemption 2026-07-07 18:27:19 +02:00
CREDO23
ea5b27eaa8 refactor(mcp): split scraper and knowledge-base features into SRP modules 2026-07-07 18:27:19 +02:00
CREDO23
1c01aaeca5 docs(mcp): tighten comments to intent-only 2026-07-07 18:27:19 +02:00
CREDO23
ec9ae1d238 build(mcp): declare starlette and uvicorn dependencies 2026-07-07 18:27:19 +02:00
CREDO23
e1fd77c791 test(mcp): cover per-request auth and workspace isolation 2026-07-07 18:27:19 +02:00
CREDO23
0e16fe846a fix(mcp): scope active workspace per caller identity 2026-07-07 18:27:19 +02:00
CREDO23
730face126 feat(mcp): serve stateless streamable-http with stdio dispatch 2026-07-07 18:27:19 +02:00
CREDO23
f3c06b1fbf feat(mcp): make api_key optional, add http host/port config 2026-07-07 18:27:19 +02:00
CREDO23
953eeb11b2 refactor(mcp): resolve API key per request in client 2026-07-07 18:27:19 +02:00
CREDO23
7a91aced68 feat(mcp): assemble streamable-http transport app 2026-07-07 18:27:19 +02:00
CREDO23
39fd7a2218 feat(mcp): add per-request API key identity auth slice 2026-07-07 18:27:19 +02:00
DESKTOP-RTLN3BA\$punk
1fd58752a3 feat: update environment variables and enhance scraping capabilities
- Adjusted Google Maps and YouTube micro pricing in the .env.example file for better cost management.
- Introduced new environment variables for captcha solving and stealth browser hardening to improve scraping resilience.
- Removed outdated smoke test for scraper API endpoints to streamline testing.
- Enhanced anonymous chat agent's system prompt to clarify capabilities and suggest account creation for advanced features.
- Updated Reddit fetch logic to prioritize new session handling and improve resilience against IP-related issues.
- Added compacting functionality for scraper results to optimize data handling and presentation.
- Improved workspace and document management tools with clearer descriptions and enhanced functionality.
- Introduced new UI components for agent setup guidance in the web application.
2026-07-06 20:27:36 -07:00
CREDO23
faa6d6baea refactor(mcp): rename SURFSENSE_PAT to SURFSENSE_API_KEY 2026-07-06 03:40:36 +02:00
CREDO23
b2bf925f63 test(mcp): cover dropping of unset query params 2026-07-06 03:17:25 +02:00
CREDO23
abbb43632f fix(mcp): omit unset query params from REST requests 2026-07-06 03:17:25 +02:00
CREDO23
479ca3bbee feat(mcp): add server entrypoint and test suite 2026-07-06 02:29:19 +02:00
CREDO23
34efe3aa44 feat(mcp): add knowledge base tools 2026-07-06 02:29:19 +02:00
CREDO23
39dd413711 feat(mcp): add scraper tools for all platforms 2026-07-06 02:29:19 +02:00
CREDO23
bbb21fb010 feat(mcp): add workspace selector tools 2026-07-06 02:29:19 +02:00
CREDO23
26dbc64b4a feat(mcp): add response rendering helpers 2026-07-06 02:29:19 +02:00
CREDO23
439796ea15 feat(mcp): add workspace resolution context 2026-07-06 02:29:19 +02:00
CREDO23
a524fc77cc feat(mcp): add authenticated REST client 2026-07-06 02:29:19 +02:00
CREDO23
eda0249aec feat(mcp): add environment-based configuration 2026-07-06 02:29:19 +02:00
CREDO23
23bff86d10 chore(mcp): scaffold surfsense-mcp package 2026-07-06 02:29:19 +02:00