Claude

MCP Integration

Connect Claude to external tools via Model Context Protocol.

MCP Integration

noetect supports the Model Context Protocol (MCP) for connecting Claude to external tools and services.

What is MCP?

MCP (Model Context Protocol) is an open standard for connecting AI models to external tools. It allows Claude to:

  • Read data from external sources
  • Take actions in other applications
  • Access APIs and services

Connecting MCP Servers

From the UI

  1. Go to SettingsMCP
  2. Click Add Server
  3. Enter the server URL or select a preset
  4. Click Connect

From Config

Add servers to your workspace config:

{
  "mcp": {
    "servers": [
      {
        "name": "my-server",
        "url": "http://localhost:3000/mcp"
      }
    ]
  }
}

Popular MCP Servers

Server Description
Filesystem Advanced file operations
GitHub GitHub API access
Slack Read and send Slack messages
Notion Notion database access
PostgreSQL Database queries

Building MCP Servers

MCP servers can be built in any language. Here's a simple example in TypeScript:

import { McpServer } from "@anthropic/mcp";

const server = new McpServer({
  name: "my-tools",
  version: "1.0.0",
});

server.addTool({
  name: "get_weather",
  description: "Get current weather for a location",
  parameters: {
    type: "object",
    properties: {
      location: { type: "string" },
    },
    required: ["location"],
  },
  handler: async ({ location }) => {
    // Fetch weather data
    return { temperature: 72, condition: "sunny" };
  },
});

server.start();

Security

MCP servers run with limited permissions by default. To grant additional access:

  1. Go to SettingsMCP
  2. Select the server
  3. Configure permissions under Access Control

Always review what permissions an MCP server requests before enabling them.