We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/robmatesick/mkdocs-mcp-example'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
bashrc•2.13 KiB
# ~/.bashrc: executed by bash(1) for non-login shells.
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
# History settings
HISTCONTROL=ignoreboth
HISTSIZE=1000
HISTFILESIZE=2000
shopt -s histappend
# Update window size after each command
shopt -s checkwinsize
# Make less more friendly for non-text input files
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
# Set a fancy prompt
if [ -n "$FORCE_COLOR_PROMPT" ]; then
color_prompt=yes
else
case "$TERM" in
xterm-color|*-256color) color_prompt=yes;;
esac
fi
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt
# Colored GCC warnings and errors
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
# Aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
alias ..='cd ..'
alias ...='cd ../..'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
# Python and uv aliases
alias python='python3'
alias pip='uv pip'
# MkDocs aliases
alias docs-serve='cd mkdocs-site && mkdocs serve -a 0.0.0.0:8000'
alias docs-build='cd mkdocs-site && mkdocs build'
# MCP aliases
alias mcp-test='cd mcp-server && python -m pytest'
alias mcp-server='cd mcp-server && python -m mkdocs_mcp.server'
# Development aliases
alias format='ruff format .'
alias lint='ruff check .'
alias typecheck='mypy .'
alias test='pytest'
alias test-cov='pytest --cov'
# Environment variables
export PATH="/opt/venv/bin:$PATH"
export PYTHONPATH="/workspaces/mkdocs-mcp-example:$PYTHONPATH"
export PYTHONDONTWRITEBYTECODE=1
export PYTHONUNBUFFERED=1
# Disable GUI-related environment variables
export DISPLAY=""
export WAYLAND_DISPLAY=""
export XDG_RUNTIME_DIR=""
export PULSE_RUNTIME_PATH=""
# Welcome message
echo "🚀 MkDocs MCP Development Environment Ready!"
echo "📚 Use 'docs-serve' to start MkDocs development server"
echo "🔧 Use 'mcp-server' to start MCP server"
echo "🧪 Use 'test' to run all tests"