productivity
Nifty MCP Integration for LangChain
Connect Nifty to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Nifty to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
Nifty MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"mcpServers": {
"kosmokrator-nifty": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=nifty",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=nifty --write=deny Why Use KosmoKrator Here
Expose only Nifty instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Nifty Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Nifty integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__nifty__nifty_list_projects | nifty.nifty_list_projects | Read | List all projects in Nifty. Returns project IDs, names, and metadata that can be used to query tasks. |
integration__nifty__nifty_get_project | nifty.nifty_get_project | Read | Get details of a specific Nifty project by its ID, including name, description, status, and task lists. |
integration__nifty__nifty_list_tasks | nifty.nifty_list_tasks | Read | List tasks in Nifty with optional filters. Filter by project, status, assignee, or other criteria. Returns task IDs, titles, statuses, and assignees. |
integration__nifty__nifty_get_task | nifty.nifty_get_task | Read | Get details of a specific Nifty task by its ID, including title, description, status, assignee, and due date. |
integration__nifty__nifty_create_task | nifty.nifty_create_task | Write | Create a new task in a Nifty project. Requires a title and project ID. Optionally include a description, task list, assignee, and due date. |
integration__nifty__nifty_get_current_user | nifty.nifty_get_current_user | Read | Get the profile of the currently authenticated Nifty user, including name, email, and workspace membership. |