- Package marlonluo2018/microsoft_graph_mcp_server as a Python app; it talks to the Graph API, so it runs on Linux - Register it as the Outlook entry in the shared MCP catalogue (mcp.nix) - Authenticate with the device-code flow (`auth` tool, start then complete); tokens are stored in ~/.microsoft_graph_mcp_tokens.json - Default USER_TIMEZONE to Europe/Berlin
52 lines
1.7 KiB
Nix
52 lines
1.7 KiB
Nix
# Shared MCP server catalogue (home-manager `programs.mcp`).
|
|
#
|
|
# Single source for every agent that integrates with programs.mcp:
|
|
# OpenCode (opencode.nix, enableMcpIntegration) and Claude Code
|
|
# (claude-code.nix, enableMcpIntegration). ai-memory adds its own entry in
|
|
# ai-memory.nix. Hosts that do not load the whole coding set (servers running
|
|
# T3 Code) import this file directly.
|
|
{pkgs, ...}: {
|
|
programs.mcp = {
|
|
enable = true;
|
|
servers = {
|
|
ContextMode = {
|
|
command = "bash";
|
|
args = ["-c" "exec bunx context-mode@latest"];
|
|
};
|
|
DeepWiki = {
|
|
url = "https://mcp.deepwiki.com/mcp";
|
|
};
|
|
Exa = {
|
|
command = "bash";
|
|
args = ["-c" "EXA_API_KEY=$(cat /run/agenix/exa-key) exec bunx exa-mcp-server@latest tools=web_search_exa"];
|
|
};
|
|
SallyAI = {
|
|
url = "https://app.sally.io/api/v1/McpExternal";
|
|
};
|
|
Metabase = {
|
|
url = "https://kpi.az-gruppe.com/api/metabase-mcp";
|
|
};
|
|
Outline = {
|
|
url = "https://wiki.az-gruppe.com/mcp";
|
|
};
|
|
# Outlook mail, calendar and contacts via Microsoft Graph. First use:
|
|
# call the `auth` tool (start, then complete) for the device-code login.
|
|
Outlook = {
|
|
command = "${pkgs.callPackage ./microsoft-graph-mcp-server.nix {}}/bin/microsoft-graph-mcp-server";
|
|
};
|
|
Playwright = {
|
|
command = "bash";
|
|
args = ["-c" "exec bunx @playwright/mcp@latest"];
|
|
};
|
|
Ref = {
|
|
command = "bash";
|
|
args = ["-c" "REF_API_KEY=$(cat /run/agenix/ref-key) exec bunx ref-tools-mcp@latest"];
|
|
};
|
|
Teams = {
|
|
command = "bunx";
|
|
args = ["-y" "@floriscornel/teams-mcp@latest"];
|
|
};
|
|
};
|
|
};
|
|
}
|