Publishing to Anypoint Exchange
Learn how to publish your MCP servers and Agent Cards to Anypoint Exchange for discovery and sharing.
Prerequisites
Before publishing, ensure you have:
- ✅ MCP server or Agent Card created in MA²D
- ✅ Compliance score ≥ 95%
- ✅ Anypoint Platform account
- ✅ Anypoint credentials configured in MA²D
Step 1: Configure Anypoint Credentials
First-time setup:
- Go to Settings > Integrations
- Click “Configure Anypoint Platform”
- Choose authentication method:
- OAuth 2.0 (recommended)
- Basic Auth (username/password)
OAuth 2.0 Setup
- Select “OAuth 2.0”
- Enter your Anypoint credentials
- Click “Authorize”
- Grant permissions
- Credentials saved securely
Basic Auth Setup
- Select “Basic Auth”
- Enter Username
- Enter Password
- Click “Save Credentials”
Step 2: Prepare for Publishing
Check Compliance
- Open your MCP server or Agent Card
- Go to “Compliance” tab
- Ensure score is 95% or higher
- Fix any violations if needed
Review Content
Verify:
- Name - Clear, descriptive
- Description - Complete, detailed
- Version - Follows semantic versioning
- Tools/Skills - All documented
- Examples - Realistic scenarios
Step 3: Initiate Publishing
- Open the asset to publish
- Click “Publish to Exchange” button
- Publishing wizard opens
Step 4: Configure Exchange Metadata
Basic Information
Asset Name:
- Auto-filled from your server/card name
- Can edit if needed
- Must be unique in your organization
Asset Type:
- Automatically set (MCP Server or Agent Card)
Version:
- Auto-filled from your version
- Must be unique (can’t republish same version)
Classification
Categories: Select relevant categories:
- API
- Integration
- AI/ML
- Data
- Custom categories
Tags: Add searchable tags:
weather, mcp, ai-agent, real-timeVisibility
Choose who can see your asset:
- Public - Anyone can discover and use
- Private - Only you can see
- Organization - Only your org members
Documentation
Description: Automatically populated from your asset description.
Custom Pages:
- Add getting started guide
- Add usage examples
- Add API documentation
Step 5: Review and Publish
- Review all metadata
- Check preview of Exchange listing
- Click “Publish”
Publishing takes 30-60 seconds.
Step 6: Track Publication Status
In MA²D
- Go to Publishing section in sidebar
- See publication status:
- Publishing - In progress
- Published - Successfully published
- Failed - Publishing error
In Anypoint Exchange
- Login to Anypoint Platform
- Go to Exchange
- Search for your asset
- View listing
Publishing Agent Cards
Agent Cards have additional requirements:
Linked MCP Server
Agent Card must reference a published MCP server:
- Publish MCP server first
- Ensure Agent Card links to it
- Then publish Agent Card
Skills Validation
All skills must:
- Have clear descriptions
- Map to published MCP tools
- Include examples
Updating Published Assets
Version Updates
To publish a new version:
- Update your asset in MA²D
- Increment version (e.g., 1.0.0 → 1.1.0)
- Click “Publish to Exchange”
- Select “New Version”
- Publish
Version history maintained in Exchange.
Metadata Updates
Update description, tags, etc without new version:
- Edit asset in MA²D
- Click “Update Exchange Listing”
- Select “Update Metadata Only”
- Publish
Managing Published Assets
View in Exchange
Direct link provided after publishing:
https://anypoint.mulesoft.com/exchange/org-id/asset-idAnalytics
In Anypoint Exchange, view:
- Download counts
- API calls
- User feedback
- Ratings
Deprecation
To deprecate an asset:
- In Anypoint Exchange
- Find your asset
- Click “Deprecate”
- Select reason
- Provide migration path (if applicable)
Unpublishing Assets
From MA²D
- Open published asset
- Click “Unpublish from Exchange”
- Confirm action
- Asset removed from Exchange
Warning: Users depending on your asset will lose access. Consider deprecation instead.
From Anypoint Exchange
- Go to asset in Exchange
- Click settings
- Select “Delete”
- Confirm
Publishing Best Practices
Before Publishing
- Test Thoroughly - Verify all functionality
- High Compliance - Aim for 100% score
- Complete Docs - Provide detailed descriptions
- Add Examples - Include usage examples
- Realistic Mocks - Test data should be real-world
Versioning Strategy
Follow semantic versioning:
- Major (X.0.0) - Breaking changes
- Minor (x.Y.0) - New features, backward compatible
- Patch (x.y.Z) - Bug fixes
Documentation
Include in Exchange listing:
- Overview - What it does
- Getting Started - Quick setup
- API Reference - All endpoints/tools
- Examples - Code samples
- FAQ - Common questions
Maintenance
- Monitor Usage - Check analytics
- Respond to Feedback - Address issues
- Keep Updated - Regular releases
- Deprecate Properly - Provide migration guides
Common Issues
”Compliance score too low”
Solution: Fix violations to reach 95%+
“Asset name already exists”
Solution: Choose unique name or update existing asset
”Authentication failed”
Solution: Re-configure Anypoint credentials
”Version already published”
Solution: Increment version number
”Linked MCP server not found”
Solution: Publish referenced MCP server first (for Agent Cards)
Exchange Features
Your published assets get:
- Discovery - Searchable in Exchange
- Documentation - Auto-generated API docs
- Versioning - Full version history
- Analytics - Usage statistics
- Ratings - User feedback
- Support - Community forums
Organization Publishing
Roles
- Exchange Admin - Full publish permissions
- Exchange Contributor - Can publish to org
- Exchange Viewer - Read-only access
Approval Workflow
Some organizations require:
- Submit for approval
- Admin reviews
- Admin approves or rejects
- If approved, publishes
Check with your org admin.
API-Based Publishing
Automate publishing via MA²D API:
curl -X POST https://ma2d.vercel.app/api/publish \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"server_id": "your-server-id",
"visibility": "organization",
"categories": ["API", "Integration"]
}'See API Reference for details.
Next Steps
After publishing:
- Share - Send Exchange link to colleagues
- Monitor - Track usage and feedback
- Iterate - Improve based on feedback
- Expand - Publish more assets
Related Guides
- Using Design Rules - Ensure compliance
- Creating MCP Server - Build assets
- Creating Agent Cards - A2A specs
Congratulations on publishing! 🚀 Your asset is now discoverable in Anypoint Exchange!