You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add hosted http transport with per-request auth (multi-tenant) (#3)
VyMCP can now run as one shared server (VYMCP_TRANSPORT=http) that many
engineers connect to, each authenticating with their own vym_ token per
request — instead of everyone running a local stdio instance.
- ServerConfig splits server settings from the per-request token; api_token
only required for stdio
- VyManagerTokenVerifier validates each request's bearer token against
VyManager (cached); tools resolve a per-token client via current_client()
- plans are owner-scoped so one engineer can't apply another's pending change
- main() runs stdio or streamable-http per config; stdio path unchanged
Verified live against VyManager: http client connects with a bearer token
and acts as that user; unauthenticated/invalid tokens rejected; a second
token cannot apply the first's plan.
0 commit comments