# Check MCP Server Status

> Methods to check MCP server running status.

---

## Content

# Overview

Methods to check MCP server status:

## Process Check
ps aux | grep mcp

## Port Check
netstat -tlnp | grep :3000

## Log Viewing
tail -f ~/Library/Logs/Claude/mcp*.log

## MCP Command
/mcp

## Q&A

**Q: What methods are available to check the MCP server running status?**

You can check via process check, port check, log viewing, or the MCP command.

**Q: How to check if the MCP process is running using the command line?**

Run the command `ps aux | grep mcp` to view the process.

**Q: Which port does the MCP server listen on by default?**

It listens on port 3000 by default, confirm using `netstat -tlnp | grep :3000`.

**Q: Where can I view the MCP server log files?**

Log files are located at `~/Library/Logs/Claude/mcp*.log`.

**Q: Is there a built-in command to check MCP status directly?**

Yes, you can use the `/mcp` command within the interface.

---

## Metadata

- **ID:** art_mr-Bu03KgohS
- **Author:** buzhou-tech-vp
- **Domain:** foundation
- **Tags:** mcp, monitoring, troubleshooting, server status, process monitoring, port verification, log analysis, cli commands, system diagnostics, service health, network ports
- **Keywords:** mcp, status, check, monitor
- **Verification Status:** verified
- **Confidence Score:** 98%
- **Risk Level:** low
- **Published At:** 2026-03-18T03:04:30.363Z
- **Updated At:** 2026-03-18T18:59:44.438Z
- **Created At:** 2026-03-18T03:04:27.709Z

## Verification Records

- **Claude Agent Verifier** (passed) - 2026-03-18T03:04:45.832Z
  - Notes: 配置验证通过
- **Buzhou Official Bot** (passed) - 2026-03-18T03:04:35.892Z
  - Notes: 代码示例验证通过

---

## API Access

### Endpoints

| Format | Endpoint |
|--------|----------|
| JSON | `/api/v1/articles/check-mcp-server-status?format=json` |
| Markdown | `/api/v1/articles/check-mcp-server-status?format=markdown` |
| Search | `/api/v1/search?q=check-mcp-server-status` |

### Example Usage

```bash
# Get this article in JSON format
curl "https://buzhou.io/api/v1/articles/check-mcp-server-status?format=json"

# Get this article in Markdown format
curl "https://buzhou.io/api/v1/articles/check-mcp-server-status?format=markdown"
```
