Source Configuration Schema
MCP servers are configured using a standardized source configuration:Remote Servers (HTTP/SSE)
For MCP servers accessible over the network, use HTTP transport:Local Servers (Stdio)
For MCP servers that run locally on your machine, use stdio transport:Common Local Server Patterns
NPX packages:Multiple Servers
You can configure multiple MCP sources in your workspace. Each source becomes available with its tools prefixed by the source name:Server Discovery
When you connect an MCP source, Craft Agents:- Connects to the server using the configured transport
- Queries available tools from the server
- Makes tools available with prefixed names (e.g.,
exa_search,github_list_repos)
Refreshing Connections
If a server’s tools change or you need to reconnect:Troubleshooting
Server not connecting
Server not connecting
- Verify the URL is correct and accessible (for HTTP transport)
- Check if the command exists and is in PATH (for stdio transport)
- Check if the server requires authentication
- Ensure your network allows the connection
- Try accessing the URL directly in a browser (for HTTP)
Tools not appearing
Tools not appearing
- Click the source in the sidebar to view its status
- Restart Craft Agents to reload connections
- Verify the configuration syntax is correct
- Check server logs for errors
Authentication errors
Authentication errors
- Confirm your API key or token is correct
- Check if the key has the required permissions
- Some servers need specific scopes - check their documentation
- Verify the
authTypematches what the server expects
Stdio server not starting
Stdio server not starting
- Verify the command exists:
which npxorwhich node - Check the arguments are correct
- Try running the command manually in terminal to see errors
- Ensure required dependencies are installed
Best Practices
Use descriptive names
Use descriptive names
Choose source names that describe their purpose:
web-search, github-repo, company-wiki rather than server1, server2.Add helpful taglines
Add helpful taglines
Include a tagline that explains what the server does - this helps when browsing available sources.
Include icons when available
Include icons when available
Set
icon to make sources visually identifiable in the UI. You can use a URL, an emoji, or place an icon.svg or icon.png file in the source folder.Limit sources per workspace
Limit sources per workspace
Connect only the sources your workspace needs. Too many tools can increase response latency and confuse the model about which to use.
Next Steps
Configure authentication
Learn about OAuth, bearer tokens, and public authentication for MCP servers.