hosted-mcp-server

Configure hosted MCP servers for OpenAI Agents SDK workflows.

Updated Dec 7, 2025
One-click install
npx skills add https://github.com/syeda-hoorain-ali/todo-spec-driven-hackathon --skill hosted-mcp-server
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hosted-mcp-server
Source: https://github.com/syeda-hoorain-ali/todo-spec-driven-hackathon/tree/main/.claude/skills/hosted-mcp-server
Command: npx skills add https://github.com/syeda-hoorain-ali/todo-spec-driven-hackathon --skill hosted-mcp-server

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Configure hosted MCP server connections for OpenAI Agents SDK, simplifying setup, authorization, and governance for agent tool usage.

Core Features & Use Cases

  • Create HostedMCPTool configurations
  • Configure server parameters and authentication
  • Set up approval flows for sensitive operations
  • Connect to publicly accessible MCP servers
  • Use Case: Integrate a public MCP server to enable hosted tool execution within an OpenAI agent workflow.

Quick Start

Create a HostedMCPTool configuration for a public MCP server and connect it to your agent workflow.

Frequently Asked Questions about hosted-mcp-server

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure a hosted MCP server for OpenAI Agents SDK?

To configure a hosted MCP server for OpenAI Agents SDK, you create a HostedMCPTool configuration by defining the type, server_label, and server_url or connector_id. This automates server setup and tool execution within your agent workflow.

Can I set up approval flows for sensitive operations in an MCP server?

Yes, you can set up approval flows for sensitive operations in an MCP server by using the optional on_approval_request parameter. This ensures governance and manual confirmation before executing sensitive agent tools.

What authentication parameters are supported for HostedMCPTool configurations?

HostedMCPTool configurations support optional authorization headers for authentication. You can also apply tool filters to restrict access, ensuring secure and governed connections to public MCP servers.

Do I need a connector_id or server_url to connect an agent to a public MCP server?

You need either a server_url or a connector_id to connect an agent to a public MCP server. Both parameters are supported in the HostedMCPTool configuration to enable hosted tool execution.

What is the best way to manage authorization policies for OpenAI agent workflows?

The best way to manage authorization policies for OpenAI agent workflows is to apply HostedMCPTool configurations with optional authorization headers and approval policies. This simplifies governance for agent tool usage.

Does HostedMCPTool work with publicly accessible MCP servers?

Yes, HostedMCPTool works with publicly accessible MCP servers. You can connect to them using the server_url parameter and integrate hosted tool execution within your OpenAI agent workflow.