bflabs-mcp 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,6 +38,7 @@ export function writeMcpConfig(serverName, mcpUrl, apiKey) {
38
38
  if (!config.mcpServers) config.mcpServers = {};
39
39
 
40
40
  config.mcpServers[serverName] = {
41
+ type: "http",
41
42
  url: mcpUrl,
42
43
  headers: {
43
44
  Authorization: `Bearer ${apiKey}`,
@@ -52,8 +53,8 @@ export function writeMcpConfig(serverName, mcpUrl, apiKey) {
52
53
  }
53
54
  }
54
55
 
55
- // Also write to ~/.claude/mcp_servers/ for Claude Code
56
- const claudeCodeMcp = path.join(os.homedir(), ".claude", "mcp_servers.json");
56
+ // Also write to ~/.claude.json for Claude Code (Linux)
57
+ const claudeCodeMcp = path.join(os.homedir(), ".claude.json");
57
58
  try {
58
59
  let config = {};
59
60
  if (fs.existsSync(claudeCodeMcp)) {
@@ -61,6 +62,7 @@ export function writeMcpConfig(serverName, mcpUrl, apiKey) {
61
62
  }
62
63
  if (!config.mcpServers) config.mcpServers = {};
63
64
  config.mcpServers[serverName] = {
65
+ type: "http",
64
66
  url: mcpUrl,
65
67
  headers: { Authorization: `Bearer ${apiKey}` },
66
68
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bflabs-mcp",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "BF MCP — instala o MCP server e skill do ads-manager e catalog-manager em Claude Desktop/Code",
5
5
  "bin": {
6
6
  "bflabs-mcp": "./bin/bflabs-mcp.js"