***

title: McpGatewaySkill
slug: /reference/typescript/agents/skills/mcp-gateway
description: Placeholder skill for future Model Context Protocol (MCP) server integration.
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

[add-skill]: /docs/server-sdks/reference/typescript/agents/agent-base/add-skill

Placeholder skill for future Model Context Protocol (MCP) server integration.
Currently provides a stub `mcp_invoke` tool.

**Class:** `McpGatewaySkill`

**Tools:** `mcp_invoke` (placeholder, not yet functional)

**Env vars:** None

<ParamField path="gateway_url" type="string" toc={true}>
  URL of the MCP gateway server.
</ParamField>

<ParamField path="tool_prefix" type="string" toc={true}>
  Prefix for tool names from this gateway.
</ParamField>

<ParamField path="auth_token" type="string" toc={true}>
  Authentication token for the MCP gateway.
</ParamField>

<Note>
  This skill is a placeholder. The `mcp_invoke` tool returns a "not yet implemented"
  message. Full MCP integration is planned for a future release.
</Note>

```typescript {6-8}
import { AgentBase, McpGatewaySkill } from '@signalwire/sdk';

const agent = new AgentBase({ name: 'assistant', route: '/assistant' });
agent.setPromptText('You are a helpful assistant.');

await agent.addSkill(new McpGatewaySkill({
  gateway_url: 'http://localhost:8080',
}));

agent.run();
```