# base64-codec A GitHub Copilot **Agent Plugins 1.0** marketplace with one plugin: **Base64 Codec**. ## What it does Encodes text to Base64 or decodes Base64 back to text. The agent calls a bundled, zero-dependency MCP tool, so its work shows up as a concrete result in Copilot chat. - **Agent:** Base64 Codec (appears in the Copilot agent picker) - **MCP tool:** `base64` — returns the encoded or decoded string ## Install (VS Code + GitHub Copilot) 1. Set `chat.plugins.enabled` to `true` in VS Code settings. 2. Add this marketplace to `chat.plugins.marketplaces`: ```json { "chat.plugins.marketplaces": ["ankmay0/base64-codec"] } ``` 3. Open the Extensions view, search `@agentPlugins`, and install **base64-codec**. 4. Select **Base64 Codec** in the Copilot agent picker and try: > Encode "hello" to base64 The plugin's MCP server is trusted automatically (no startup prompt). ## Try the tool directly (no Copilot needed) ```bash printf '%s\n' \ '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}' \ '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"base64","arguments":{"text":"hello","mode":"encode"}}}' \ | node plugins/base64-codec/servers/b64/index.mjs ``` ## Layout ``` .claude-plugin/marketplace.json plugins/base64-codec/ plugin.json mcp.json com.github.copilot/agents/base64-codec.agent.md servers/b64/index.mjs ```