Skip to content

Commit 6828796

Browse files
committed
Merge branch 'main' into feature/modelcontextchat-client
2 parents 1e4dac0 + 7cc947a commit 6828796

File tree

14 files changed

+503
-72
lines changed

14 files changed

+503
-72
lines changed

.github/workflows/deploy-blog.yml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: Deploy Hugo site to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
17+
defaults:
18+
run:
19+
shell: bash
20+
21+
jobs:
22+
build:
23+
runs-on: ubuntu-latest
24+
env:
25+
HUGO_VERSION: 0.148.0
26+
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v4
29+
with:
30+
submodules: recursive
31+
fetch-depth: 0
32+
33+
- name: Setup Hugo
34+
run: |
35+
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
36+
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
37+
38+
- name: Setup Pages
39+
id: pages
40+
uses: actions/configure-pages@v5
41+
42+
- name: Build with Hugo
43+
env:
44+
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
45+
HUGO_ENVIRONMENT: production
46+
run: |
47+
cd blog && hugo \
48+
--gc \
49+
--minify \
50+
--baseURL "${{ steps.pages.outputs.base_url }}/"
51+
52+
- name: Upload artifact
53+
uses: actions/upload-pages-artifact@v3
54+
with:
55+
path: ./blog/public
56+
57+
deploy:
58+
environment:
59+
name: github-pages
60+
url: ${{ steps.deployment.outputs.page_url }}
61+
runs-on: ubuntu-latest
62+
needs: build
63+
steps:
64+
- name: Deploy to GitHub Pages
65+
id: deployment
66+
uses: actions/deploy-pages@v4

blog/.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Hugo default output directory
2+
/public/
3+
/resources/_gen/
4+
/assets/jsconfig.json
5+
6+
# Hugo cache
7+
.hugo_build.lock
8+
9+
# macOS
10+
.DS_Store

blog/archetypes/default.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
+++
2+
date = '{{ .Date }}'
3+
draft = true
4+
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
5+
+++

blog/assets/css/extended/custom.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* Override list page background to white in light mode */
2+
.list {
3+
background: var(--theme);
4+
}
5+
6+
/* Dark mode remains unchanged */
7+
.dark.list {
8+
background: var(--theme);
9+
}

blog/content/_index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
+++
2+
title = 'blog'
3+
+++
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
+++
2+
date = '2025-07-02T11:46:28+01:00'
3+
draft = false
4+
title = 'The Model Context Protocol Blog'
5+
tags = ['announcement']
6+
+++
7+
8+
Welcome to the official Model Context Protocol (MCP) blog! This is where we'll share the latest updates, tutorials, best practices, and insights about MCP.
9+
10+
## About MCP
11+
12+
The Model Context Protocol is an open standard that enables seamless integration between AI assistants and external data sources and tools. It provides a universal way for AI models to interact with local services, APIs, and data stores.
13+
14+
## Get Involved
15+
16+
We're excited to build this ecosystem together with you. Here's how you can participate:
17+
18+
- Check out the [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/tree/main/docs/specification)
19+
- Join the discussion on [GitHub](https://github.com/modelcontextprotocol)

blog/go.mod

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module github.com/modelcontextprotocol/modelcontextprotocol
2+
3+
go 1.24.4
4+
5+
require (
6+
github.com/adityatelange/hugo-PaperMod v0.0.0-20250524045829-5a4651783fa9 // indirect
7+
)

blog/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github.com/adityatelange/hugo-PaperMod v0.0.0-20250524045829-5a4651783fa9 h1:vSOmKCogP6L4SV2eO7A2zgO7sdml4Ta7tZSd6ccOTmQ=
2+
github.com/adityatelange/hugo-PaperMod v0.0.0-20250524045829-5a4651783fa9/go.mod h1:HCHxNMKYdGafUYjVV3ICiAqznZK2yH0iI53jqcDFDdQ=

blog/hugo.toml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
baseURL = 'https://blog.modelcontextprotocol.io/'
2+
languageCode = 'en-us'
3+
title = 'mcp blog'
4+
theme = 'github.com/adityatelange/hugo-PaperMod'
5+
[pagination]
6+
pagerSize = 5
7+
8+
[params]
9+
author = "The MCP project"
10+
description = "Updates from the Model Context Protocol project"
11+
12+
# PaperMod specific settings
13+
# defaultTheme = "dark" # MCP uses a dark theme
14+
disableThemeToggle = false
15+
ShowShareButtons = false
16+
ShowReadingTime = true
17+
ShowPostNavLinks = true
18+
ShowBreadCrumbs = true
19+
ShowCodeCopyButtons = true
20+
ShowWordCount = false
21+
ShowRssButtonInSectionTermList = true
22+
UseHugoToc = false
23+
disableSpecial1stPost = true
24+
disableScrollToTop = false
25+
comments = false
26+
hidemeta = false
27+
hideSummary = false
28+
showtoc = false
29+
ShowFullTextinRSS = true
30+
31+
# Custom copyright
32+
copyright = '© 2025 Model Context Protocol Project'
33+
34+
[[params.socialIcons]]
35+
name = "github"
36+
url = "https://github.com/modelcontextprotocol"
37+
38+
# Menu configuration
39+
[[menu.main]]
40+
identifier = "docs"
41+
name = "Documentation"
42+
url = "https://modelcontextprotocol.io/docs"
43+
weight = 10
44+
45+
[[menu.main]]
46+
identifier = "github"
47+
name = "GitHub"
48+
url = "https://github.com/modelcontextprotocol"
49+
weight = 20
50+
51+
# Markup configuration for syntax highlighting
52+
[markup]
53+
[markup.highlight]
54+
guessSyntax = true
55+
style = "monokai"
56+
[markup.goldmark]
57+
[markup.goldmark.renderer]
58+
unsafe = true
59+
60+
[module]
61+
[[module.imports]]
62+
path = 'github.com/adityatelange/hugo-PaperMod'
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{{- /*
2+
Google Analytics partial - empty for now
3+
This prevents the theme from failing when looking for this partial
4+
*/ -}}

0 commit comments

Comments
 (0)