ajspig
4f9a41360a
feat: support OAuth for MCP clients. ( #923 )
...
* feat: support OAuth for MCP clients.
* fix: scheme is case-insensitive.
* fix: expose WWW-Authenticate header for cross-origin clients.
2026-07-21 15:31:09 -04:00
Alfredo Colangelo
51497f174f
feat(mcp): read HONCHO_API_URL env var to support self-hosted Honcho ( #575 )
...
The MCP Worker hardcoded https://api.honcho.dev for every request, forcing
anyone running a self-hosted Honcho instance to patch the source before
deploying their own Worker alongside it.
Route the baseUrl through the Worker env so operators can set
HONCHO_API_URL (via .dev.vars for local development or wrangler secret for
deployed Workers) and point the Worker at their instance. The variable is
intentionally not exposed as a request header: that would let public
clients steer traffic to internal URLs, which is a latency and security
regression.
When HONCHO_API_URL is unset, the Worker falls back to
https://api.honcho.dev , so existing deployments are unaffected.
Closes #508
2026-04-20 16:13:16 -04:00
doria
cc3483bfaa
refactor: MCP server improvements ( #379 )
...
* refactor: MCP server improvements
* feat: add missing tools and polish descriptions. Add inspect_workspace, list_workspaces, inspect_session, get_session_message, and get_session_summaries tools. Fix CORS preflight handling and default route path. Extract shared formatting helpers for messages and summaries. Trim redundant tool descriptions.
* chore: cr updates
* chore: cr
* fix: adding pagnation
* fix: use nanoid to match Honcho's server-side ID format
* fix: simplified tool list. 10 removed, in favor of more unified tools
* docs: clarifying language
* docs: updating agentic dev & MCP.mdx docs
* docs: minor fix
* fix: adding codex
* chore: updating with latest SDK
* docs: update
* fix: adding assistantName config
* chore: clarifying language
---------
Co-authored-by: ajspig <dragon@monstercode.com>
2026-03-31 17:34:36 -04:00
doria
7b174dd34b
Ben/search rrf ( #179 )
...
* chore: fill out missing metadata inputs in python sdk
* feat: add get_peer_config to python sdk, thoroughly document ts sdk and remove bad client usage
* feat: zod
chore: update tests
chore: bump version, changelog
* chore: python sdk version bump and changelog
* [WIP] feat: combine search methods and rework endpoint to include limit param
* chore: test new stainless config with library
* nits: coderabbit
* Merge branch 'ben/sdk-improvements' into ben/search-rrf
* chore: pre-commit hooks cleanup
* feat: thoroughly document observation config
* Update sdks/python/src/honcho/peer.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* chore: v1.3.0
* feat: update version to 2.2.0 and enhance search functionality with arbitrary filters
- Remove unused config variables
- Added arbitrary filters to all search endpoints.
- Pluralize `filters` everywhere in SDKs for consistency
- Updated documentation and changelog to reflect these changes.
* expose core client in TS and Python SDKs (#150 )
* expose core client from sdks
* align text
* fix: resolve get_effective_observe me race condition, default peer config (#176 )
* fix: resolve get_effective_observe me race condition, default peer config
* fix: preserve custom config even after leaving
* chore: test cases, enqueue types
* Update sdks/typescript/package.json
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: doria <93405247+dr-frmr@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* chore: formatting
* chore: revert undesired changes to v1 spec, clean up docs, coderabbit
* feat: better search docs, fix worker.ts
* fix: correctly make ts params optional in cases, update docs
* chore: coderabbit
* chore: remove spurious package-lock
* fix: asyncify examples, use limit properly in search
* fix(tests): handle 4 return values in test_get_session_peer_configuration
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Rajat Ahuja <rahuja445@gmail.com>
2025-08-06 17:43:03 -04:00
doria
83cf0512c6
Add Honcho MCP server ( #158 )
...
* feat: add honcho fastMCP server, stubbed out start_conversation
* feat: fully functional
* feat: update mcp guide
* chore: coderabbit review
* chore: cleanup nits
* fix: improve instructions
* fix: readme clarifications
* fix: [critical] only remove duplicates within workspace+peer, make cloudflare worker mcp server work nice
* chore: update readme
* feat: add more tools
fix: remove python in favor of one typescript MCP server
* chore: refactor for DRYness
* fix: improve readme, (temporary sdk workaround) add assistant peer with observe_me: false
* chore: switch to bun, enforce usage
fix: proper assistant config, proper message formatting
* chore: fill out readme
2025-07-24 14:01:26 -04:00