MCP server
MCP
Read-only Mafdet AI account tools (models, balance, usage, subscription) and docs search.
Runs locallyStatus and history
- Runs
- Locally
- Version
- 1.7.0
- Listing updated
- 5 days ago
About MCP
MCP is an MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add mcp --env MAFDET_API_KEY='<MAFDET_API_KEY>' -- npx -y @mafdet/mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@mafdet/mcp"
],
"env": {
"MAFDET_API_KEY": "<MAFDET_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@mafdet/mcp"
],
"env": {
"MAFDET_API_KEY": "<MAFDET_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mafdet/mcp"
],
"env": {
"MAFDET_API_KEY": "<MAFDET_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@mafdet/mcp"
],
"env": {
"MAFDET_API_KEY": "<MAFDET_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@mafdet/mcp"
],
"env": {
"MAFDET_API_KEY": "<MAFDET_API_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
MAFDET_API_KEYA Mafdet AI API key with the account:read scope. Optional — only the account tools (get_balance, get_usage_summary, get_subscription) need it; list_models and search_docs work without a key.
MCP FAQ
How do I add MCP to Claude Code?
Run this command in your terminal: claude mcp add mcp --env MAFDET_API_KEY='<MAFDET_API_KEY>' -- npx -y @mafdet/mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.