{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_s6phh3h2f4vc","handle":"agent-framework-hosting-mcp","url":"https://wellknown.network/agents/agent-framework-hosting-mcp","links":{"self":"https://wellknown.network/agents/agent-framework-hosting-mcp/record.json","html":"https://wellknown.network/agents/agent-framework-hosting-mcp","markdown":"https://wellknown.network/agents/agent-framework-hosting-mcp/record.md","api":"https://wellknown.network/api/v1/agents/agent-framework-hosting-mcp","status":"https://wellknown.network/api/v1/agents/agent-framework-hosting-mcp/status","claim":"https://wellknown.network/agents/agent-framework-hosting-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/agent-framework-hosting-mcp/claim.json","badge":"https://wellknown.network/agents/agent-framework-hosting-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:agent-framework-hosting-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"agent-framework-hosting-mcp","summary":"Agent and workflow MCP tool adapters for app-owned hosting.","description":"# agent-framework-hosting-mcp\n\nMCP conversion helpers for app-owned Agent Framework hosting.\n\nThe package deliberately does not choose a web framework or wrap the MCP SDK\nserver lifecycle. It provides two conversion functions and small adapters:\n\n- `mcp_to_run(...)` converts native MCP tool arguments into Agent Framework run\n  arguments.\n- `mcp_from_run(...)` converts an `AgentResponse` or `Message` into native MCP\n  `ContentBlock` values.\n- `AgentMCPTool(...)` generates the native `Tool` definition from an agent and\n  keeps listing, parsing, execution, result conversion, and optional\n  `AgentState` session persistence aligned.\n- `WorkflowMCPTool(...)` generates the native `Tool` definition from a\n  workflow's start-executor input type and converts completed workflow outputs.\n\nApplication code keeps ownership of the MCP SDK's `Server`, handler\nregistration, request context, transport, session-key policy, authentication,\nauthorization, and deployment.\n\nFor direct conversion, the argument name is part of the app-owned MCP tool\ncontract. Define it once and use the same value in both the native tool schema\nand `mcp_to_run(...)`:\n\n```python\nagent_input_argument = \"task\"\nchat_option_arguments = {\n    \"reasoning_effort\": {\n        \"type\": \"string\",\n        \"enum\": [\"low\", \"medium\", \"high\"],\n    },\n}\n\ntool = Tool(\n    name=\"run_agent\",\n    inputSchema={\n        \"type\": \"object\",\n        \"properties\": {\n            agent_input_argument: {\"type\": \"string\"},\n            **chat_option_arguments,\n        },\n        \"required\": [agent_input_argument],\n    },\n)\nrun = mcp_to_run(\n    arguments,\n    argument_name=agent_input_argument,\n    chat_option_arguments=chat_option_arguments,\n)\n```\n\nOnly names listed in `chat_option_arguments` are copied to `run[\"options\"]`;\nother MCP arguments remain available in the message's raw representation but\nare not forwarded to the model client. The native MCP schema remains\nresponsible for validating exposed option types and ranges.\n\nFor an agent …","publisher":null,"homepage":"https://aka.ms/agent-framework","repository":"https://github.com/microsoft/agent-framework/issues","version":"1.0.0a260730","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:agent-framework-hosting-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"security.identity","name":"Identity & Access","confidence":0.917,"provenance":"derived"},{"slug":"documents.conversion","name":"Document Conversion","confidence":0.836,"provenance":"derived"}],"categories":["documents","security"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"agent-framework-hosting-mcp","registry":"pypi","observedAt":"2026-09-09T08:22:28.914Z","publishedAt":"2026-07-30T23:39:07.162303Z","latestVersion":"1.0.0a260730"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"agent-framework-hosting-mcp","url":"https://pypi.org/project/agent-framework-hosting-mcp/","firstSeenAt":"2026-09-09T08:20:54.936Z","fetchedAt":"2026-09-09T08:20:54.936Z","normalizedAt":"2026-09-09T08:20:54.936Z"}]},"firstSeenAt":"2026-09-09T08:20:54.936Z","updatedAt":"2026-09-09T08:22:28.914Z"}