Skip to content

Instantly share code, notes, and snippets.

Setting Up MCP Servers on Windows

A step-by-step guide to setting up Model Context Protocol (MCP) servers for Claude Desktop on Windows.

Prerequisites

  1. Install Node.js (v18.x or later)
    • Download from: https://nodejs.org/
    • Verify installation by opening Command Prompt (CMD) and running:
      node --version
      npm --version
@dims
dims / README.md
Last active March 14, 2025 17:35
Kubernetes Resources
@mgeeky
mgeeky / xml-attacks.md
Last active March 14, 2025 17:33
XML Vulnerabilities and Attacks cheatsheet

XML Vulnerabilities

XML processing modules may be not secure against maliciously constructed data. An attacker could abuse XML features to carry out denial of service attacks, access logical files, generate network connections to other machines, or circumvent firewalls.

The penetration tester running XML tests against application will have to determine which XML parser is in use, and then to what kinds of below listed attacks that parser will be vulnerable.


"""
NOTE: make sure to install:
pip install Pillow google-genai loguru
"""
from google import genai
from google.genai import types
from PIL import Image
from io import BytesIO
import os
@yifanzz
yifanzz / code-editor-rules.md
Created December 17, 2024 00:01
EP12 - The One File to Rule Them All

[Project Name]

Every time you choose to apply a rule(s), explicitly state the rule(s) in the output. You can abbreviate the rule description to a single word or phrase.

Project Context

[Brief description ]

  • [more description]
  • [more description]
  • [more description]
@wojukasz
wojukasz / CHANGELOG.md
Last active March 14, 2025 17:30
VsCode + Vim keybindings and settings - best of both worlds

Changelog

All notable changes to this configuration will be documented in this file.

[1.0.0] - 2025-01-22

Added

  • Enhanced Git integration
    • Pull command: <leader>g p
  • Push command: g P
@aiya000
aiya000 / toRawDeep.ts
Created March 14, 2025 17:29
zodにも限界がある例
import { toRaw } from 'vue'
import { z } from 'zod'
/**
* ```typescript
* import { ref } from 'vue'
* const x = ref({ a: { b: 42 } })
* // const y = structureClone(toRaw(x.value)) // 深いProxy(x.value.a.b)を除去できずに例外が出る
* const y = structureClone(toRawDeep(x.value)) // OK
* ```
<tr><td>AccessCMC</td><td>Access Community Management</td></tr>
<tr><td>AccessContentBuilder</td><td>Access drag-and-drop content builder</td></tr>
<tr><td>AccountSwitcherUser</td><td>Account Switcher User</td></tr>
<tr><td>ActivateContract</td><td>Activate Contracts</td></tr>
<tr><td>ActivateOrder</td><td>Activate Orders</td></tr>
<tr><td>ActivitiesAccess</td><td>Access Activities</td></tr>
<tr><td>AddAnalyticsRemoteConnections</td><td>Add Analytics Remote Connections</td></tr>
<tr><td>AddDirectMessageMembers</td><td>Add People to Direct Messages</td></tr>
<tr><td>AddWaveNotificationRecipients</td><td>Notification Emails: Add Recipients</td></tr>
<tr><td>AllowEmailIC</td><td>Email-Based Identity Verification Option</td></tr>
@devnoname120
devnoname120 / macos_docker_xorg_forwarding.md
Last active March 14, 2025 17:27
Xorg/X11 forwarding on macOS and docker

Xorg/X11 forwarding on macOS and docker

In order to run Xorg apps on macOS you will need to install xquartz:

brew install --cask --no-quarantine xquartz

And then configure it

@n-st
n-st / .bash_profile
Created May 29, 2016 12:04
Start zsh from bashrc. Useful when you can't use chsh or when the same LDAP account is used both on systems with zsh installed and ones without.
# .bash_profile is executed for login shells,
# .bashrc is executed for interactive non-login shells.
# We want the same behaviour for both, so we source .bashrc from .bash_profile.
# Also, when .bash_profile exists, bash ignores .profile, so we have to source
# it explicitly.
if [ -f "$HOME/.profile" ]; then
. "$HOME/.profile"
fi