Title: decisioning: surface advertise_all=False on create_adcp_server_from_platform · Issue #519 · adcontextprotocol/adcp-client-python · GitHub
Open Graph Title: decisioning: surface advertise_all=False on create_adcp_server_from_platform · Issue #519 · adcontextprotocol/adcp-client-python
X Title: decisioning: surface advertise_all=False on create_adcp_server_from_platform · Issue #519 · adcontextprotocol/adcp-client-python
Description: From the salesagent v3.12 → 4.x migration (SDK_FEEDBACK.md, item #14). A fresh MockSellerPlatform with 5 methods shows ~50 entries in handler.advertised_tools after create_adcp_server_from_platform(). The advertise_all flag controls this...
Open Graph Description: From the salesagent v3.12 → 4.x migration (SDK_FEEDBACK.md, item #14). A fresh MockSellerPlatform with 5 methods shows ~50 entries in handler.advertised_tools after create_adcp_server_from_platform...
X Description: From the salesagent v3.12 → 4.x migration (SDK_FEEDBACK.md, item #14). A fresh MockSellerPlatform with 5 methods shows ~50 entries in handler.advertised_tools after create_adcp_server_from_platform...
Opengraph URL: https://github.com/adcontextprotocol/adcp-client-python/issues/519
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"decisioning: surface advertise_all=False on create_adcp_server_from_platform","articleBody":"From the salesagent v3.12 → 4.x migration (`SDK_FEEDBACK.md`, item #14).\n\nA fresh `MockSellerPlatform` with 5 methods shows ~50 entries in `handler.advertised_tools` after `create_adcp_server_from_platform()`. The `advertise_all` flag controls this but isn't surfaced in `create_adcp_server_from_platform`'s signature — only in `serve()`/`create_mcp_server`.\n\n> So the standalone \"build the handler\" path doesn't have an obvious knob for \"advertise only what I implement.\"\n\n## Ask\n\nAdd `advertise_all=False` (default) to `create_adcp_server_from_platform`'s signature and have it filter `advertised_tools` to declared methods, matching `serve()`'s default.\n\n## Acceptance\n\n`handler = create_adcp_server_from_platform(platform=MyPlatform()).handler` — `handler.advertised_tools` returns only methods the platform implements, without an extra kwarg.\n\nExisting callers passing `advertise_all=True` continue to opt into the full spec surface.","author":{"url":"https://github.com/bokelley","@type":"Person","name":"bokelley"},"datePublished":"2026-05-04T01:03:06Z","url":"https://github.com/adcontextprotocol/adcp-client-python/issues/519"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5620a0f1-bebf-f876-6d57-f9ecb91e9f78 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A820:215B92:D3094E:119EF09:6B01007D |
| html-safe-nonce | 9eb10e398c94487f92d587cad2bc42d6e78fe8470f53adc3e90287df61f5731a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODIwOjIxNUI5MjpEMzA5NEU6MTE5RUYwOTo2QjAxMDA3RCIsInZpc2l0b3JfaWQiOiI3ODE2MzUwOTE0MzczMDI1OTE3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 72f983ef338572cd29e23fc8b067e5cf04af90e55a5773af719134f68372a143 |
| hovercard-subject-tag | issue:4373478224 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/adcontextprotocol/adcp-client-python/519/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ec2b85dda46fda6b6eedf7b8413e9ad116374a49f34a312f563c7395d9d40012/adcontextprotocol/adcp-client-python/issues/519 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ec2b85dda46fda6b6eedf7b8413e9ad116374a49f34a312f563c7395d9d40012/adcontextprotocol/adcp-client-python/issues/519 |
| og:image:alt | From the salesagent v3.12 → 4.x migration (SDK_FEEDBACK.md, item #14). A fresh MockSellerPlatform with 5 methods shows ~50 entries in handler.advertised_tools after create_adcp_server_from_platform... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bokelley |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/adcontextprotocol/adcp-client-python git https://github.com/adcontextprotocol/adcp-client-python.git |
| octolytics-dimension-user_id | 221690821 |
| octolytics-dimension-user_login | adcontextprotocol |
| octolytics-dimension-repository_id | 1090305973 |
| octolytics-dimension-repository_nwo | adcontextprotocol/adcp-client-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1090305973 |
| octolytics-dimension-repository_network_root_nwo | adcontextprotocol/adcp-client-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width