MCP tasks and skills through agentgateway: long-running tools and shared know-how, with routing and auth Agentgateway v1.8.1 routes MCP tasks and skills across multiple MCP servers behind a single endpoint, supporting the io.modelcontextprotocol/tasks (SEP-2663) and io.modelcontextprotocol/skills (SEP-2640) extensions added in MCP protocol version 2026-07-28. The gateway has supported tasks since v1.4.1 and skills since v1.8.0, and v1.8.1 changed neither; the author tested it with two copies of @modelcontextprotocol/server-everything@2.4.0 and two TypeScript SDK 2.4.0 skills servers. For tasks, the gateway prefixes task IDs as +, strips the prefix on return, and enforces RBAC on mcp.methodName, mcp.task.target and mcp.task.name, returning -32602 unknown resource for denied requests so task existence is not revealed. The setup is one agentgateway v1.8.1 binary on my Linux box, in front of two copies of the MCP reference server @modelcontextprotocol/server-everything@2.4.0 and two small skills servers I wrote with the TypeScript SDK 2.4.0 . A test client talks to the gateway with MCP protocol version 2026-07-28 . I ran every command in this post today and the screenshots are the real output. That protocol version added two extensions: io.modelcontextprotocol/tasks , SEP-2663 . A slow tools/call returns a task handle right away. The client polls it with tasks/get , answers it with tasks/update , or stops it with tasks/cancel . io.modelcontextprotocol/skills , SEP-2640 . A server publishes SKILL.md files, the procedural instructions an agent reads when it needs them, through skills/list , skills/get and resources/read . agentgateway has supported tasks since v1.4.1 and skills since v1.8.0 . v1.8.1 didn’t change either one. I’ll show what problem each solves, what the gateway does with it, and the test. The official reference is the MCP spec compatibility page https://agentgateway.dev/docs/standalone/latest/documentation/mcp/spec-compatibility/ . A tool that runs a research job, a build, a data export or a report can take minutes. Without tasks, the client keeps one HTTP request open for the whole run. That breaks in a few ways: Tasks turn that into “call now, fetch later”. The server answers tools/call with resultType: "task" , a taskId and a suggested pollIntervalMs . The client can disconnect, reconnect and poll with the ID. When the status is completed , the result is in the tasks/get response. In a company the agent rarely talks to the server directly. There’s a gateway that puts many MCP servers behind one endpoint and decides who can call what. Tasks raise three questions for that gateway: