Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 26, 2025

MCP v1.2.0 adds icon support for tools. Added visual icons to all 7 registered MCP tools for better discoverability in MCP-aware UIs.

Changes

  • Icon assignments: Added emoji icons to each tool registration matching their functionality:

    • 📊 status - workflow overview
    • 🔨 compile - build/validate
    • 📜 logs - execution logs
    • 🔍 audit - investigation
    • 🔎 mcp-inspect - introspection
    • add - import workflows
    • 🔄 update - sync workflows
  • Test coverage: Added TestMCPServer_ToolIcons to verify all tools expose icons correctly

Implementation

mcp.AddTool(server, &mcp.Tool{
    Name: "status",
    Description: `Show status of agentic workflow files...`,
    Icons: []mcp.Icon{
        {Source: "📊"},
    },
}, handler)

Icons appear in MCP Inspector, Claude Desktop, and other MCP v1.2.0+ clients.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/user
    • Triggering command: /usr/bin/gh gh api user --jq .login install --force 64/pkg/tool/linuGOMODCACHE js/**/*.json --prefer-online=env --offline=false 64/pkg/tool/linuGO111MODULE -o ck '**/*.cjs' '*GOINSECURE -importcfg 64/bin/go -buildmode=exe -buildid=36jT7YY-V=full -extld=gcc ache/go/1.25.0/xGOPROXY (http block)
    • Triggering command: /usr/bin/gh gh api user --jq .login ithub/workflows GO111MODULE At,event,headBranch,headSha,displayTitle l GOMOD GOMODCACHE /opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linu--jq -V=f�� runs/20251226-150458-19786/test-1657226496 GOPROXY /usr/bin/gh l GOWORK 64/bin/go gh (http block)
    • Triggering command: /usr/bin/gh gh api user --jq .login ithub/workflows -test.v=true /usr/bin/git te GOWORK 64/bin/go git -c k/gh-aw/gh-aw/.gid,name,path,state log 0/x64/bin/node l remote.origin.ur-1 64/bin/go git (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>[plan] Add tool icons to MCP server tools</issue_title>
<issue_description>## Objective

Add visual icons to the 7 registered MCP tools using the new v1.2.0 icon support (SEP-973) for better tool discoverability in MCP-aware UIs.

Context

v1.2.0 adds icon support for tools via the Icon field. This improves UX by providing visual cues for each tool's purpose.

Approach

Update tool registrations in pkg/cli/mcp_server.go to include icons:

Recommended Icons:

  • 📊 status - Workflow status overview
  • 🔨 compile - Build and validate workflows
  • 📜 logs - Workflow execution logs
  • 🔍 audit - Deep dive investigation
  • 🔎 mcp-inspect - Server introspection
  • add - Import workflows
  • 🔄 update - Sync workflows
  1. Add Icon field to each mcp.AddTool() call
  2. Use emoji or icon URLs as appropriate
  3. Test icons display correctly in MCP inspector

Files to Modify

  • pkg/cli/mcp_server.go - Add Icon field to tool definitions

Acceptance Criteria

AI generated by Plan Command for discussion #7710

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits December 26, 2025 14:59
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Copilot AI changed the title [WIP] Add tool icons to MCP server tools Add icons to MCP server tools Dec 26, 2025
Copilot AI requested a review from mnkiefer December 26, 2025 15:13
@pelikhan pelikhan marked this pull request as ready for review December 26, 2025 15:59
@pelikhan pelikhan merged commit f22ceac into main Dec 26, 2025
4 checks passed
@pelikhan pelikhan deleted the copilot/add-tool-icons-to-mcp-server-tools branch December 26, 2025 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[plan] Add tool icons to MCP server tools

3 participants