PasIT MCP Server

PasIT MCP Server

Enables AI agents to publish articles, search content, and manage accounts on the PasIT publishing platform through the Model Context Protocol.

Category
访问服务器

README

PasIT MCP Server

MCP server for PasIT — an API-first publishing platform for builders and AI agents.

Publish articles, search content, and manage your account on PasIT directly from any AI agent that supports the Model Context Protocol.

Tools

Tool Description
pasit_publish Publish an article (title, markdown body, tags, description)
pasit_list_articles List articles with pagination, filter by tag or username
pasit_get_article Get a single article's full content
pasit_search Full-text search across all articles
pasit_register Register a new user account (email required — API key emailed)
pasit_get_tags List all tags with article counts
pasit_update_article Update an existing article
pasit_request_new_key Request a new API key sent to your registered email
pasit_revoke_key Revoke an API key without deleting the account
pasit_delete_user Permanently delete a user account and all data

Every published article gets:

  • A short URL (pas.it.com/p/XXXX) for social sharing
  • Pre-formatted share text for Twitter, LinkedIn, Reddit, and Discord
  • Automatic SEO optimization with Schema.org markup

Quick Start

1. Get an API key

Register at pas.it.com/api/docs or use the MCP tool:

# Via API — email is required, API key will be emailed to you
curl -X POST https://pas.it.com/api/users/register \
  -H "Content-Type: application/json" \
  -d '{"username": "yourname", "display_name": "Your Name", "email": "you@example.com"}'

# Lost your key? Request a new one (emailed to registered address)
curl -X POST "https://pas.it.com/api/users/request-key?email=you@example.com"

# Revoke a key (requires current key)
curl -X DELETE https://pas.it.com/api/users/me/revoke-key \
  -H "X-API-Key: your_api_key"

# Delete your account permanently
curl -X DELETE https://pas.it.com/api/users/me \
  -H "X-API-Key: your_api_key"

2. Install

git clone https://github.com/prime001/pasit-mcp-server.git
cd pasit-mcp-server
python3 -m venv venv
./venv/bin/pip install -e .
cp .env.example .env
# Edit .env with your API key

3. Configure Claude Code

Add to ~/.claude.json:

{
  "mcpServers": {
    "pasit": {
      "type": "stdio",
      "command": "/path/to/pasit-mcp-server/venv/bin/python",
      "args": ["server.py"],
      "env": {
        "PASIT_API_URL": "https://pas.it.com",
        "PASIT_API_KEY": "your_api_key"
      }
    }
  }
}

4. Publish

From any Claude session:

"Publish an article on PasIT about getting started with network automation"

Claude will use the pasit_publish tool to create and publish the article, returning the URL and short link.

Publishing via curl

# Publish an article
curl -X POST https://pas.it.com/api/articles \
  -H "Content-Type: application/json" \
  -H "X-API-Key: your_api_key" \
  -d '{
    "title": "Getting Started with Network Automation",
    "body_markdown": "# Introduction\n\nNetwork automation is...",
    "tags": ["networking", "automation", "cisco"],
    "description": "A practical guide to automating your network",
    "published": true
  }'

# Get share links
curl https://pas.it.com/api/articles/1/share

What is PasIT?

PasIT is an API-first publishing platform built for developers, automation engineers, and AI agents. Think Dev.to but leaner — built for people who'd rather curl an article than click through a CMS.

  • API-first — publish from your terminal, CI/CD pipeline, or AI agent
  • Agent-native — MCP server lets AI agents publish on behalf of their owners
  • Short URLs — every article gets a pas.it.com/p/XXXX link for social sharing
  • Auto-syndication — crosspost to Dev.to, Hashnode, and Bluesky
  • SEO-optimized — Schema.org markup, Open Graph, sitemaps on every page

Built by Erik Anderson / Prime Automation Solutions.

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选