SN

sysarmy/nerdearla-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

10 stars 2 forks 품질 52 트렌드 18CC0-1.0

The best way to browse for Nerdearla sessions, speakers and activities

개요

🚀 : The server is running at https://mcp.nerdear.la/mcp An MCP (Model Context Protocol) server that provides information about Nerdearla events, speakers, and sessions. Built with FastMCP and supports streamable HTTP in stateless mode with JSON responses. To use this MCP server with VS Code Copilot: 1. Open the command palette in VS Code (Cmd+Shift+P / Ctrl+Shift+P) 2. Type "MCP: Add Server" and select it 3. Select "HTTP" as the server type 4. Enter the server URL: https://mcp.nerdear.la/mcp 5. Give it a name, any name is fine 6. Select if you want to save it in your user or workspace settings You can now ask Copilot about Nerdearla events, speakers, and sessions! Most Agents/IDEs support MCP servers out of the box. Check your documentation for instructions on how to add a new server. This project uses uv for dependency management. Make sure you have uv installed: The server will start on http://localhost:8000/mcp by default.

README

원문 README의 일부입니다. 원문 보기.

Nerdearla MCP Server

🚀 Live Server: The server is running at https://mcp.nerdear.la/mcp

An MCP (Model Context Protocol) server that provides information about Nerdearla events, speakers, and sessions. Built with FastMCP and supports streamable HTTP in stateless mode with JSON responses.

Quick Start - Add to VS Code Copilot

To use this MCP server with VS Code Copilot:

  1. Open the command palette in VS Code (Cmd+Shift+P / Ctrl+Shift+P)
  2. Type “MCP: Add Server” and select it
  3. Select “HTTP” as the server type
  4. Enter the server URL: https://mcp.nerdear.la/mcp
  5. Give it a name, any name is fine
  6. Select if you want to save it in your user or workspace settings

You can now ask Copilot about Nerdearla events, speakers, and sessions!

Quick Start - Add to your favourite Agent/IDE

Most Agents/IDEs support MCP servers out of the box. Check your documentation for instructions on how to add a new server.

Local Developtment Setup

This project uses uv for dependency management. Make sure you have uv installed:

# Install uv if you haven't already
curl -LsSf https://astral.sh/uv/install.sh | sh

Then install the project dependencies:

# Clone and navigate to the repository
cd nerdearla-mcp

# Install dependencies with uv
uv sync

Usage

Running the Server

Start the MCP server:

# Using uv
uv run nerdearla-mcp

# Or directly with Python
uv run python -m nerdearla_mcp.server

The server will start on http://localhost:8000/mcp by default.

Development

Project Structure

nerdearla-mcp/
├── nerdearla_mcp/
│   ├── __init__.py
│   └── server.py          # Main MCP server implementation
├── pyproject.toml         # Project configuration and dependencies
├── README.md              # This file
└── ...

Adding New Tools

To add new tools to the server:

  1. Define your tool function in nerdearla_mcp/server.py
  2. Use the @mcp.tool() decorator
  3. Add proper type hints and docstrings
  4. Implement the tool to retrieve the data from an API, file or database as needed

Example:

@mcp.tool()
def get_sponsors(tier: Optional[str] = None) -> List[Dict[str, Any]]:
    """
    Get information about event sponsors.
    
    Args:
        tier: Optional filter by sponsor tier (e.g., "Gold", "Silver", "Bronze")
    
    Returns:
        List of sponsor information
    """
    # Implementation here
    pass

Running Tests

# Run tests with pytest
uv run pytest

Code Formatting

This project uses pre-commit hooks to automatically format and lint code before commits:

Install pre-commit hooks:

# Install dependencies (includes pre-commit)
uv sync

# Install the git hooks
uv run pre-commit install

Usage:

  • Hooks run automatically on git commit
  • To run manually on all files: uv run pre-commit run --all-files
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →