mcp-common

Load and merge MCP server configurations with environment variable expansion.

1|1|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/intelligentcode-ai/skills --skill mcp-common
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mcp-common
Source: https://github.com/intelligentcode-ai/skills/tree/main/skills/mcp-common
Command: npx skills add https://github.com/intelligentcode-ai/skills --skill mcp-common

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides essential, shared Python functions for ICA's MCP (Meta Communication Protocol) tooling, ensuring consistency and reducing redundancy between client and proxy components.

Core Features & Use Cases

  • Configuration Management: Loads and merges server definitions from various sources (environment variables, project files, ICA home directory).
  • OAuth Handling: Implements flows for PKCE, device code, and client credentials authentication.
  • Token Storage: Securely manages access and refresh tokens.
  • Use Case: When the mcp-client needs to authenticate with a remote service, it relies on the robust OAuth and token management functions provided by this internal skill.

Quick Start

Use the mcp-common skill to load server configurations from default locations.

Frequently Asked Questions about mcp-common

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage OAuth tokens for MCP server configurations?

You can manage OAuth tokens for MCP server configurations using internal Python functions that handle PKCE, device code, and client credentials flows, including secure access and refresh token storage and retrieval.

How do I load and merge MCP server definitions from multiple sources?

To load and merge MCP server definitions, use Python helper scripts that aggregate configurations from environment variables, project files, and the ICA home directory while expanding environment variables.

What is the best way to handle PKCE authentication flows in Python?

Handling PKCE authentication flows in Python is done via shared internal functions that execute the OAuth flow and securely store the resulting access and refresh tokens for MCP tooling.

Can I use Python scripts to securely store credentials across different environments?

Yes, you can use Python scripts to securely store credentials across different environments by relying on internal functions that ensure secure handling of sensitive tokens and server configurations.

Does mcp-common support client credentials and device code OAuth flows?

Yes, mcp-common supports client credentials and device code OAuth flows by providing shared Python functions that execute these authentication methods and manage the resulting token storage.

Why do I need environment variable expansion for MCP server configurations?

Environment variable expansion for MCP server configurations is needed to dynamically resolve sensitive credentials and environment-specific settings when loading and merging definitions from project files or the ICA home directory.