Compare commits

...
Author SHA1 Message Date
m3tam3re 3809d2e276 Merge pull request 'feat(coding/agents): split headless agent CLIs into cli.nix' (#11) from feat/coding-agents-cli-split into master
Reviewed-on: #11
2026-11-14 09:33:41 +01:00
m3ta-chironandClaude Opus 5.5 ab0439cbba feat(coding/agents): split headless agent CLIs into cli.nix
Move agent-lib and beads into a desktop-free module so servers that skip
the full coding set (AZ-PRM-1) can import it on its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 09:25:59 +01:00
m3tam3re e3c8498fde Merge pull request 'feat(coding/agents): add Outlook MCP server via Microsoft Graph' (#10) from feat/outlook-graph-mcp into master
Reviewed-on: #10
2026-11-12 09:13:07 +01:00
m3ta-chiron 3b370a067d feat(coding/agents): add Outlook MCP server via Microsoft Graph
- 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
2026-11-12 09:09:40 +01:00
m3ta-chiron f4ab2ab6c9 Merge pull request 'feat(coding/agents): hand the shared MCP catalogue to Claude Code' (#9) from feat/claude-mcp-integration into master 2026-11-10 20:16:00 +01:00
4 changed files with 76 additions and 3 deletions

No files matched your search

+2 -2
View File
@@ -25,6 +25,8 @@
./mcp.nix ./mcp.nix
./opencode.nix ./opencode.nix
./claude-code.nix ./claude-code.nix
# headless agent CLIs (beads, agent-lib)
./cli.nix
]; ];
# NOTE: llm-agent packages are consumed via the `llm-agents` namespace # NOTE: llm-agent packages are consumed via the `llm-agents` namespace
@@ -34,9 +36,7 @@
# silently falling back to (outdated) nixpkgs attributes. # silently falling back to (outdated) nixpkgs attributes.
home.packages = with pkgs; [ home.packages = with pkgs; [
agenix-cli agenix-cli
agent-lib
llm-agents.agent-browser llm-agents.agent-browser
llm-agents.beads
llm-agents.claude-desktop llm-agents.claude-desktop
crunch crunch
docker-sbx docker-sbx
+11
View File
@@ -0,0 +1,11 @@
# Headless agent CLIs — safe for servers without a desktop.
# Imported by agents.nix; servers that skip the full "coding" set (e.g.
# AZ-PRM-1 in AZ-NIX-SERVERS) can import this file on its own.
# Packages from the `llm-agents` namespace need numtide/llm-agents.nix's
# `overlays.shared-nixpkgs` in the consumer (see agents.nix).
{pkgs, ...}: {
home.packages = with pkgs; [
agent-lib
llm-agents.beads
];
}
+6 -1
View File
@@ -5,7 +5,7 @@
# (claude-code.nix, enableMcpIntegration). ai-memory adds its own entry in # (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 # ai-memory.nix. Hosts that do not load the whole coding set (servers running
# T3 Code) import this file directly. # T3 Code) import this file directly.
{...}: { {pkgs, ...}: {
programs.mcp = { programs.mcp = {
enable = true; enable = true;
servers = { servers = {
@@ -29,6 +29,11 @@
Outline = { Outline = {
url = "https://wiki.az-gruppe.com/mcp"; 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 = { Playwright = {
command = "bash"; command = "bash";
args = ["-c" "exec bunx @playwright/mcp@latest"]; args = ["-c" "exec bunx @playwright/mcp@latest"];
@@ -0,0 +1,57 @@
# Microsoft Graph MCP server (mail, calendar, contacts of the signed-in M365
# account) by marlonluo2018. Chosen over the author's outlook-mcp-server,
# which drives the Outlook desktop client through win32COM and therefore only
# runs on Windows; this one talks to the Graph API and is plain Python.
#
# Not on PyPI, so it is built from the GitHub source. Auth is the device-code
# flow against Microsoft's public client id (no Azure app registration);
# tokens land in ~/.microsoft_graph_mcp_tokens.json. Settings come from env
# vars (CLIENT_ID, TENANT_ID, USER_TIMEZONE, ...); the optional .env the
# upstream README mentions would sit inside the store and is not used.
{
lib,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonApplication {
pname = "microsoft-graph-mcp-server";
version = "0.1.0-unstable-2026-11-12";
pyproject = true;
src = fetchFromGitHub {
owner = "marlonluo2018";
repo = "microsoft_graph_mcp_server";
rev = "b4c2725ee9e3d47dce8641d5ca90434aca16c9db";
hash = "sha256-RSPyjq3Zu9WBbihI4yuB3PhxgRaF9G2gl+xaslnBdJI=";
};
build-system = with python3Packages; [hatchling];
dependencies = with python3Packages; [
mcp_1 # upstream targets the 1.x low-level Server API (list_tools decorators); mcp 2.x removed it
msal
httpx
pydantic
pydantic-settings
python-dotenv
click
rich
typing-extensions
tzdata
pillow # optional image attachments (MULTIMODAL_SUPPORTED)
];
# Upstream defaults USER_TIMEZONE to Asia/Shanghai; the env still wins.
makeWrapperArgs = ["--set-default" "USER_TIMEZONE" "Europe/Berlin"];
# server.py builds an MSAL client at import time, which hits the network,
# so only the config module is import-checked in the sandbox.
pythonImportsCheck = ["microsoft_graph_mcp_server.config"];
meta = {
description = "MCP server for Microsoft Graph (Outlook mail, calendar, contacts)";
homepage = "https://github.com/marlonluo2018/microsoft_graph_mcp_server";
license = lib.licenses.mit;
mainProgram = "microsoft-graph-mcp-server";
};
}