
Product
Microsoft Teams Notifications Are Now Available in Socket
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.
Build APIs from documents directly in your IDE using the Model Context Protocol
Transform documents into production-ready APIs without leaving your code editor. The Fabrx MCP Server integrates seamlessly with MCP-compatible IDEs (Windsurf, Cursor, Claude Desktop) to provide AI-powered API generation.
The Fabrx MCP server is available as an npm package. No installation required - use npx to run it directly:
npx fabrx login
Or install globally:
npm install -g fabrx
Requirements:
fabrx-mcp login
This will:
ABC-123)Choose your IDE and follow the configuration instructions:
Config Location: ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"fabrx": {
"command": "npx",
"args": ["-y", "fabrx"],
"env": {
"FABRX_API_URL": "https://app.fabrx.ai"
}
}
}
}
Note: Restart Windsurf after adding the configuration.
Config Location: ~/.cursor/mcp.json
{
"mcpServers": {
"fabrx": {
"command": "npx",
"args": ["-y", "fabrx"],
"env": {
"FABRX_API_URL": "https://app.fabrx.ai"
}
}
}
}
Or install in one click: Add to Cursor (coming soon)
Note: Restart Cursor after adding the configuration.
Config Locations:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"fabrx": {
"command": "npx",
"args": ["-y", "fabrx"],
"env": {
"FABRX_API_URL": "https://app.fabrx.ai"
}
}
}
}
Note: Restart Claude Desktop after adding the configuration.
Config Location: ~/.continue/config.json
{
"mcpServers": {
"fabrx": {
"command": "npx",
"args": ["-y", "fabrx"],
"env": {
"FABRX_API_URL": "https://app.fabrx.ai"
}
}
}
}
Note: Reload VS Code window after adding the configuration.
Now you can ask your AI assistant:
"Use Fabrx to create an API from this invoice.pdf"
"Deploy my invoice schema as an API"
"Show me my Fabrx usage stats"
The MCP server provides 11 tools for managing your Fabrx APIs:
// AI assistant will use this tool automatically
"Process invoice.pdf and create a schema"
The MCP server will:
"Deploy my invoice schema as 'invoice-processor' API"
Results in:
"What's my API usage this month?"
Returns:
# Authenticate
fabrx-mcp login
# Check status
fabrx-mcp status
# Start server (usually automatic)
fabrx-mcp start
# Logout
fabrx-mcp logout
# Help
fabrx-mcp help
# Optional: Custom API URL
export FABRX_API_URL=https://fabrx.ai
# Optional: Custom device name
export DEVICE_NAME="My Laptop"
Configuration is stored in:
~/.fabrx/config.json%USERPROFILE%\.fabrx\config.json{
"apiUrl": "https://fabrx.ai",
"apiKey": "fbx_mcp_xxxxx",
"deviceName": "My Laptop"
}
The Fabrx MCP server uses OAuth 2.0 Device Authorization Grant (RFC 8628), similar to GitHub CLI:
fabrx-mcp login~/.fabrx/config.json (like GitHub CLI)Prompt Injection
Like all LLM integrations, the MCP server is susceptible to prompt injection attacks. An attacker could trick the LLM into executing malicious commands through user content.
Recommendations:
From Dashboard:
From CLI:
fabrx-mcp logout
If you lose your API key:
fabrx-mcp logoutfabrx-mcp login againfabrx-mcp login
Your key may have been revoked. Re-authenticate:
fabrx-mcp logout
fabrx-mcp login
which fabrx-mcpCheck API URL:
fabrx-mcp status
Verify connectivity:
curl https://fabrx.ai/api/health
git clone https://github.com/fabrx-ai/mcp-server.git
cd mcp-server
npm install
npm run build
npm link
npm test
npm run dev
import { FabrxClient } from '@fabrx/mcp-server';
const client = new FabrxClient(
'https://fabrx.ai',
'your-api-key'
);
// List schemas
const schemas = await client.listSchemas();
// Create schema
const schema = await client.createSchema('Invoice', {
type: 'object',
properties: {
total: { type: 'number' },
date: { type: 'string' }
}
});
// Deploy API
const result = await client.deploySchema(schema.id, 'invoice-api');
console.log(result.endpoint_url);
import { DeviceFlowClient } from '@fabrx/mcp-server';
const auth = new DeviceFlowClient('https://fabrx.ai');
const token = await auth.authorize({
apiUrl: 'https://fabrx.ai',
deviceName: 'My App',
openBrowser: true
});
console.log('API Key:', token.access_token);
// AI: "Process all PDFs in this folder"
// MCP server will:
for (const file of pdfFiles) {
await processDocument({ file_path: file });
}
// AI: "Deploy all my schemas"
const schemas = await listSchemas();
for (const schema of schemas) {
if (schema.status === 'draft') {
await deploySchema(schema.id, `${schema.name}-api`);
}
}
// AI: "How are my APIs performing?"
const stats = await getUsageStats('7d');
console.log(`
Total Requests: ${stats.total_requests}
Success Rate: ${stats.success_rate}%
Avg Response Time: ${stats.avg_response_time}ms
`);
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
MIT © Fabrx
Made with ❤️ by Fabrx
Transform documents into APIs in seconds, not days.
FAQs
MCP server for Fabrx - Build APIs from documents in your IDE
The npm package fabrx receives a total of 50 weekly downloads. As such, fabrx popularity was classified as not popular.
We found that fabrx demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.

Security News
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.