@aredotna/mcp
MCP server for the Are.na API, providing 40+ auto-generated tools and custom composite tools to interact with Are.na channels, blocks, and users.
README
@aredotna/mcp
MCP server for the Are.na API. Provides 40+ auto-generated tools from the OpenAPI spec plus custom composite tools.
Quick start
The hosted server is available at https://mcp.are.na/mcp.
Claude Desktop (connector)
The easiest way to connect. Go to Settings > Connectors > Add custom connector and enter:
- Name:
Are.na - Remote MCP server URL:
https://mcp.are.na/mcp
Leave the OAuth Client ID and Secret fields blank — the server supports Dynamic Client Registration. Click Add, then authorize with your Are.na account when prompted.
Claude Desktop (config file)
You can also add the server directly in claude_desktop_config.json. If your version supports the url format:
{
"mcpServers": {
"arena": {
"type": "http",
"url": "https://mcp.are.na/mcp",
"headers": {
"Authorization": "Bearer YOUR_ARENA_TOKEN"
}
}
}
}
Get a personal access token from are.na/settings/personal-access-tokens.
If your version only supports command (stdio), you can use mcp-proxy to bridge to the remote server. Install uv first (brew install uv), then:
{
"mcpServers": {
"arena": {
"command": "/opt/homebrew/bin/uvx",
"args": [
"mcp-proxy",
"--transport",
"streamablehttp",
"-H",
"Authorization",
"Bearer YOUR_ARENA_TOKEN",
"https://mcp.are.na/mcp"
]
}
}
}
Note: Use the full path to
uvx(e.g./opt/homebrew/bin/uvx). Claude Desktop may not haveuvxon itsPATH.
Claude Desktop (local)
To run the server locally via stdio, clone the repo, run yarn install && yarn generate, then use absolute paths in your config:
{
"mcpServers": {
"arena": {
"command": "/path/to/arena/mcp/node_modules/.bin/tsx",
"args": ["/path/to/arena/mcp/src/transports/stdio.ts"],
"env": {
"ARENA_ACCESS_TOKEN": "YOUR_ARENA_TOKEN"
}
}
}
}
Note: You must use absolute paths for both
commandandargs. Claude Desktop does not reliably resolve relative paths or respectcwd. Usingyarn devor barenpx tsxwill not work —yarnwrites to stdout, andnpxwithout a cwd cannot find the script.
Claude Code
claude mcp add --transport http arena https://mcp.are.na/mcp
Authenticate via /mcp when prompted.
Codex Desktop
In the Codex desktop app, open Settings > MCP servers > Add custom MCP.
Use the hosted server with OAuth, the same as the Claude connector flow. Select Streamable HTTP and enter:
- Name:
Are.na - URL:
https://mcp.are.na/mcp
Leave environment variables and passthrough blank. Save the server, then click Authenticate from the MCP server settings when it appears. The server supports Dynamic Client Registration, so you do not need to create or paste an OAuth client ID or secret.
If you need to run the server locally over stdio instead, clone the repo, run yarn install && yarn generate, then add a custom MCP with:
- Name:
Are.na - Transport:
STDIO - Command to launch:
/path/to/arena/mcp/node_modules/.bin/tsx - Arguments:
/path/to/arena/mcp/src/transports/stdio.ts - Environment variables:
ARENA_ACCESS_TOKEN=YOUR_ARENA_TOKEN - Working directory:
/path/to/arena/mcp
Use absolute paths for the command, argument, and working directory. The local stdio server uses a personal access token instead of OAuth; get one from are.na/settings/personal-access-tokens.
Codex CLI
Codex CLI stores MCP servers in ~/.codex/config.toml. Add the hosted server:
[mcp_servers.arena]
url = "https://mcp.are.na/mcp"
Then authenticate it:
codex mcp login arena
You can check the configured server from the Codex TUI with /mcp.
Cursor
Add the server under Settings > MCP Servers with URL https://mcp.are.na/mcp and an Authorization: Bearer YOUR_ARENA_TOKEN header.
Development
git clone https://github.com/aredotna/mcp.git
cd mcp
yarn install
yarn generate # fetch OpenAPI spec, generate types + tools
Running locally
stdio — single-user, for use with Claude Desktop or other MCP clients:
ARENA_ACCESS_TOKEN=your-token yarn dev
HTTP — runs a local Cloudflare Workers dev server:
cp .dev.vars.example .dev.vars
# Set your tokens in .dev.vars (see .dev.vars.example)
yarn dev:http
The HTTP server requires a KV namespace for OAuth state. For local development, Wrangler provides an in-memory KV automatically. For production, create a KV namespace and update the id in wrangler.toml (KV is included in Cloudflare's free tier):
npx wrangler kv namespace create OAUTH_KV
You also need to set the Are.na OAuth application credentials as secrets:
npx wrangler secret put ARENA_OAUTH_CLIENT_ID
npx wrangler secret put ARENA_OAUTH_CLIENT_SECRET
Register your OAuth application at are.na/developers/oauth/applications with redirect URI https://mcp.are.na/callback (or http://127.0.0.1:8787/callback for local dev).
Testing
yarn typecheck
yarn test
Formatting
yarn format
Prettier runs automatically on staged files via a pre-commit hook.
Deployment
Pushes to main are automatically deployed to Cloudflare Workers via GitHub Actions.
To deploy manually:
yarn deploy
Requires CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID (set as GitHub repo secrets for CI, or via wrangler login locally).
Adding custom tools
Create a file in src/tools/custom/, export a register function, and add it to src/tools/index.ts. See src/tools/custom/search-and-connect.ts for an example.
Regenerating tools
When the Are.na API spec changes:
yarn generate
This fetches the latest spec and regenerates TypeScript types and tool registrations.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。