Why can’t I connect to the Anthropic API?
Check that your `ANTHROPIC_API_KEY` in the `.env` file is correct, verify your internet connection, and try the direct API example at `examples/direct-anthropic-api.js`.
@ptitiwat2543
基本信息
暂无概览
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-p-anthropic-api-server": {
"command": "npx",
"args": [
"mcp-p-anthropic-api-server"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。
Anthropic API Server (TypeScript) is a TypeScript-based MCP server that provides a secure interface for connecting to Anthropic’s Claude API. It gives developers a ready‑to‑use backend with high test coverage, streaming support, function calling, and a clean REST API.
Clone the repository, install dependencies (npm install), copy .env.example to .env, and set your ANTHROPIC_API_KEY. Run in development with npm run dev, build and start for production with npm run build then npm start, or invoke directly with npx mcp-p-anthropic-api-server. Use the exposed endpoints (GET /api/health, POST /api/messages, etc.) to interact with Claude.
npx/api/tools/execute endpointclaude_desktop_config.jsonCheck that your `ANTHROPIC_API_KEY` in the `.env` file is correct, verify your internet connection, and try the direct API example at `examples/direct-anthropic-api.js`.
This occurs with `supertest` when the app object isn’t a valid Express application. Use direct mock tests instead (see `api-coverage-fixed.test.ts`) or intercept route handlers directly.
Edit `src/services/tools.ts` and call `registerTool()` with the tool’s schema and an async handler. An example for a `getWeather` tool is provided in the README.
It requires Node.js and npm. TypeScript compilation is handled by the included `tsconfig.json`.
Use `npm test` for all tests, `npm run test:validation` for schema validation tests, `npm run test:integration` for integration tests, or `npm run test:coverage` for a coverage report.
Gives AI agents public URLs (tunnels) for localhost, live HTTP traffic inspection, snapshot publishing, and access control. Part of LocalCan, the ngrok alternative for Mac, Windows and Linux. Free plan.
CronWatch records every run of your scheduled jobs in your own database, and speaks up when one is missed, fails, gets stuck, runs slow or costs too much. CronWatch is free and open-source.

SSH MCP server for AI agents: remote commands, file transfer, log search and server audits through OpenSSH.
Query your team's drift, vulnerability, and migration data from any AI assistant. Vibgrate MCP connects Cursor, Claude, ChatGPT, Windsurf, or VS Code to Vibgrate Cloud: 51 tools for DriftScores, CVEs and EOL runtimes, up

MilliGate is a developer-first remote MCP server that functions as a secure crypto paywall. By leveraging the HTTP 402 (Payment Required) protocol, it allows developers to monetize AI agents, APIs, and digital infrastruc
评论