Generic
Connect any MCP-compatible client to Famasi’s provider API. This is the minimal setup — just a .mcp.json configuration file pointing to the Famasi MCP server. No agent files, no skill files.
Install
npx @famasi/agents@latest install generic-mcpConfiguration
Basic connection:
{ "mcpServers": { "famasi-provider": { "url": "https://mcp.famasi.ai/mcp" } }}With API key:
{ "mcpServers": { "famasi-provider": { "url": "https://mcp.famasi.ai/mcp", "headers": { "x-api-key": "pk_live_..." } } }}Authenticate
# Set API key via environment variable (recommended)export FAMASI_PROVIDER_API_KEY=pk_live_...
# Or persist key in .mcp.json during installnpx @famasi/agents@latest install generic-mcp --provider-api-key pk_live_... --persist-secrets
# Link your provider identitynpx @famasi/agents@latest link provider --provider-id YOUR_PROVIDER_IDAvailable tools
All 26 provider tools plus 2 documentation tools are available through the MCP server.
When to use this
Use generic-mcp when:
- Your MCP client isn’t Claude Code or Codex
- You want the minimal config (just
.mcp.json) - You’re building a custom integration
- You’re testing MCP connectivity
Use a specific target (claude-code, codex) when you want agent instructions and platform-specific behaviour like slash commands or AGENTS.md.
Troubleshooting
“Connection refused”
- Verify the URL in
.mcp.jsonishttps://mcp.famasi.ai/mcp - Check your network can reach the endpoint
“Authentication failed”
- Verify your API key is correct
- Try
npx @famasi/agents@latest link provider --provider-id YOUR_PROVIDER_IDto re-authenticate
“No tools available”
- The MCP server exposes tools only after authentication
- Check that
x-api-keyheader is set in.mcp.json